Skip to main content

An open-source AI-as-a-Service platform.

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

blackfish_ai-1.0.0a2.tar.gz (2.7 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

blackfish_ai-1.0.0a2-py3-none-any.whl (582.2 kB view details)

Uploaded Python 3

File details

Details for the file blackfish_ai-1.0.0a2.tar.gz.

File metadata

  • Download URL: blackfish_ai-1.0.0a2.tar.gz
  • Upload date:
  • Size: 2.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for blackfish_ai-1.0.0a2.tar.gz
Algorithm Hash digest
SHA256 51580e07628f69e5327b9d51b3bc6205ec35b55d34cca7deb40b8b257f1d0722
MD5 4d9ed678848d1392cfbab12ce602460f
BLAKE2b-256 6821fe54944b4dece46c265f8675bce7ecd62d76196a6c2e4e44f9154b1014d7

See more details on using hashes here.

Provenance

The following attestation bundles were made for blackfish_ai-1.0.0a2.tar.gz:

Publisher: release.yml on princeton-ddss/blackfish

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file blackfish_ai-1.0.0a2-py3-none-any.whl.

File metadata

  • Download URL: blackfish_ai-1.0.0a2-py3-none-any.whl
  • Upload date:
  • Size: 582.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for blackfish_ai-1.0.0a2-py3-none-any.whl
Algorithm Hash digest
SHA256 fb54a27ed31e550efaa9360b190e8aa7f4b4add2ce3c4314362b71be42bfeb7c
MD5 131d9d2a41679b51b4c602fde8dfccc3
BLAKE2b-256 76592fe28ddb9741119b6a5b5995700b0e1a12a2b8d16d887a08df99323e9aa3

See more details on using hashes here.

Provenance

The following attestation bundles were made for blackfish_ai-1.0.0a2-py3-none-any.whl:

Publisher: release.yml on princeton-ddss/blackfish

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page