Skip to main content

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 0.5.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for blackfish-ai 0.5.2
File Size Uploaded
blackfish_ai-0.5.2.tar.gz 2.5 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for blackfish-ai 0.5.2
File Interpreter ABI Platform
blackfish_ai-0.5.2-py3-none-any.whl Python 3 none any Details

Total release size: 2.9 MB

Release files / blackfish_ai-0.5.2.tar.gz

Download URL blackfish_ai-0.5.2.tar.gz
Size 2.5 MB
Tags Source
SHA-256 checksum
How to use checksums
8dc082ec44e6bca5f000e2e34bbea8ab30b64613683182701625c542645d1e28
BLAKE2b-256 checksum
How to use checksums
e723ed4767f2d6ccac19a31a17196237ab47011e70bb4c6ee2ef93dc0965d332
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 May 26, 2026.

Transparency log

Release files / blackfish_ai-0.5.2-py3-none-any.whl

Download URL blackfish_ai-0.5.2-py3-none-any.whl
Size 408.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1fdbcfe8a4f14ce21ef2e243449ff1e4e0998a976b690ffe63f068d2bdd3fbac
BLAKE2b-256 checksum
How to use checksums
2c46856889ab68063d4bb7b545c3e0c6bcb90e47fd9a12ff563896fa67491ea7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 May 26, 2026.

Transparency log
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page