Installation#
Prerequisites#
Python 3.10 or higher
uvpackage manager. See uv installation guide for instructions.
Installation Methods#
Using in Other Projects#
To install the package in another project, you should have access to the Github repository.
Using just Github#
To add the package to your project, you can use the following command:
uv add git+https://github.com/malevichai/malevich-brain
Or install the package without adding it to the dependencies:
uv pip install git+https://github.com/malevichai/malevich-brain
Using a GitHub Personal Access Token (PAT)#
You will need a GitHub Personal Access Token (PAT) with access to the repository. Replace <PAT> in the command below with your actual token:
uv add git+https://<PAT>@github.com/malevichai/malevich-brain
How to get a PAT:
Go to GitHub Settings > Developer settings > Personal access tokens.
Click “Generate new token” and select the appropriate scopes (at least
repoaccess).Copy the generated token and use it in the command above.
Using a Malevich AI PAT#
If you don’t have access to the Github repository, you can use a Malevich AI PAT. For this, you should contact Alex (@lxbanov).
uv add git+https://<PAT>@github.com/malevichai/brain
Development Installation#
To install the package for development, you should clone the repository and install the package from the local source:
git clone https://github.com/malevichai/brain /path/to/brain
uv pip install -e /path/to/brain # Editable install to allow for development