The BrainFrame CLI is a tool for installing and managing a BrainFrame server.
Installation
The CLI is installable with Pip. Ubuntu 18.04 and 20.04 are officially supported, but other versions of Linux are expected to work as well.
On Ubuntu:
sudo -H pip3 install brainframe-cli
Upgrading
Pip can be used to upgrade to a new version.
sudo -H pip3 install --upgrade brainframe-cli
Usage
To install BrainFrame, simply run the install command as root:
sudo brainframe install
BrainFrame can then be controlled like a normal Docker Compose application using the compose command, which can be run from any directory.
brainframe compose up -d
For more information, take a look at the Getting Started guide.
Contributing
We happily take community contributions! If there’s something you’d like to work on, but you’re not sure how to start, feel free to create an issue on Github and we’ll try to point you in the right direction.
We use a couple formatting tools to keep our code style consistent. If you get any CI failures, you can run the following commands to automatically format your code to fit our guidelines:
pip install poetry==1.8.3
poetry install
poetry run isort .
poetry run black .
Build & install local build for test:
python3 deployment/build.py --version 3.8
python3 deployment/build.py --version 3.10 3.12
pip install dist/brainframe_cli-0.3.0-py3-none-any.whl
The above build.py will copy pyproject.toml & poetry.lock in deployment folder to the project root, and automatically run poetry build. Similar to below,
poetry build
pip install dist/brainframe_cli-0.3.0-py3-none-any.whl
The wheel build & test commands have been integrated in deployment/do script, which support build & test on Ubuntu 18.04/20.04/22.04/24.04
deployment/do
Pyinstaller build:
The result will be in the dist/ directory
pyinstaller package/main.spec
Metadata
Release files for brainframe-cli 0.3.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| brainframe_cli-0.3.2-py3-none-any.whl | Python 3 | none | any | Details for brainframe_cli-0.3.2-py3-none-any.whl |
Release files / brainframe_cli-0.3.2-py3-none-any.whl
| Download URL | brainframe_cli-0.3.2-py3-none-any.whl |
|---|---|
| Size | 29.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9b314604b1d254e56873a8195e5fce438f89d28024d588fa204027dee04cce09
|
|
BLAKE2b-256 checksum How to use checksums |
ea8cd545dc3cbac1850ce29ca0def04f4e9be6690781f3d5e1f5ba3d8da6dcb7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.10
|
Security for brainframe-cli 0.3.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.