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/                 # Zensical documentation

Environment Variables

Variable Description Default
BLACKFISH_HOST Server host localhost
BLACKFISH_PORT Server port 8000
BLACKFISH_DEBUG Enable debug mode, disabling API authentication (0/1) 0
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

Metadata

Release files for blackfish-ai 1.0.0

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 1.0.0
File Size Uploaded
blackfish_ai-1.0.0.tar.gz 5.7 MB Details

Built distribution (wheel)

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

Total release size: 6.4 MB

Release files / blackfish_ai-1.0.0.tar.gz

Download URL blackfish_ai-1.0.0.tar.gz
Size 5.7 MB
Tags Source
SHA-256 checksum
How to use checksums
48c6774c8dba61656290b6b08b8e5c323f058f11cd5583d4ff18b8ff8a858657
BLAKE2b-256 checksum
How to use checksums
768fe89eb713f48b16d18e2f4ff9ba9736d84d830f7e69e7902d6822f8409560
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 Sep 28, 2026.

Transparency log

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

Download URL blackfish_ai-1.0.0-py3-none-any.whl
Size 723.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7366ee09d70b7a5a0f0c05fc3876b59c72b065a9ecc6367d5fdd166e1b518f46
BLAKE2b-256 checksum
How to use checksums
dfce0ec2f6bcc22e19b06ca6d18a0818169c3c6c42d465373277d00d4aab718a
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 Sep 28, 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