This release is a pre-release and may not be stable for production use.
Blackfish AI
Python package blackfish-ai - the core backend for the Blackfish MLaaS platform.
For project overview, installation, and usage instructions, see the main README.
Development Setup
cd lib
uv sync # Install dependencies
uv run blackfish --help # Verify CLI works
Common Commands
# Development (using justfile)
uv run just test # Run tests with coverage
uv run just lint # Lint and format
uv run just coverage # Generate coverage badge
uv run just docs # Build documentation
# Database Migrations
uv run alembic revision --autogenerate -m "description"
uv run alembic upgrade head
Project Structure
lib/
├── src/blackfish/
│ ├── cli/ # CLI commands (rich-click)
│ ├── server/ # Litestar app, routes, models
│ └── build/ # Built frontend (generated)
├── tests/ # pytest tests
└── docs/ # MkDocs documentation
Environment Variables
| Variable | Description | Default |
|---|---|---|
BLACKFISH_HOST |
Server host | localhost |
BLACKFISH_PORT |
Server port | 8000 |
BLACKFISH_DEBUG |
Enable debug mode (0/1) | 1 |
BLACKFISH_HOME_DIR |
Blackfish home directory | ~/.blackfish |
BLACKFISH_BASE_PATH |
API base path | / |
BLACKFISH_STATIC_DIR |
Static files directory | (bundled) |
BLACKFISH_CONTAINER_PROVIDER |
Container provider | (auto-detect) |
BLACKFISH_MAX_FILE_SIZE |
Max upload file size | 1000000000 |
Documentation
Release files for blackfish-ai 1.0.0b2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| blackfish_ai-1.0.0b2.tar.gz | 1.4 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| blackfish_ai-1.0.0b2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 2.1 MB
Release files / blackfish_ai-1.0.0b2.tar.gz
| Download URL | blackfish_ai-1.0.0b2.tar.gz |
|---|---|
| Size | 1.4 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9a04021714ece56e90d47307048c6af533f816497dc1254112799d0568a40616
|
|
BLAKE2b-256 checksum How to use checksums |
c0263dd23994882377399c1734b2d0315f742b05c9099da6d337252cd28b9763
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 5, 2026.
Transparency logRelease files / blackfish_ai-1.0.0b2-py3-none-any.whl
| Download URL | blackfish_ai-1.0.0b2-py3-none-any.whl |
|---|---|
| Size | 698.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
628771537e4d7df944768a5eaf6a98dd087d65af9edb3fcd228e0d5a8432e763
|
|
BLAKE2b-256 checksum How to use checksums |
00498c253995989e33e98e8ed646c9a548889f0ccc0725139e9376f6ee13a933
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 5, 2026.
Transparency log