Installation of the tinyBIG Library
Prerequisites
Python
It is recommended that you use Python 3.10+. You can download and install the latest Python from the python official website.
Package Manager
To install the tinybig
binaries, you will need to use pip.
pip
If you installed Python via Homebrew or the Python website, pip (or pip3) was installed with it.
To install pip, you can refer to the pip official website.
To upgrade your pip, you can use the following command:
Installation
The tinybig
library has been published at both PyPI and the project github repository.
Install from PyPI
To install tinybig
from PyPI, use the following command:
Install from Source Code
You can also install tinybig
from the source code, which has been released at the
project github repository.
You can download the public repository either from the project github webpage or via the following command:
After entering the downloaded source code directory, tinybig
can be installed with the following command:
If you don't have setuptools
installed locally, please consider to first install setuptools
:
Dependency Packages
The tinybig
library is developed based on several dependency packages.
The updated dependency requirement.txt of tinybig
can be downloaded from the project github repository.
After downloading the requirement.txt, you can install all these dependencies with the pip command:
Verification
If you have successfully installed both tinybig
and the dependency packages, now you can use tinybig
in your projects.
To ensure that tinybig
was installed correctly, we can verify the installation by running the sample python code as follows: