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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file blackfish_ai-0.5.1.tar.gz.
File metadata
- Download URL: blackfish_ai-0.5.1.tar.gz
- Upload date:
- Size: 2.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6a88fc1347a1885fa01f5b9b1cf8eaab1016fdad289f53eaea25d0d9d5441876
|
|
| MD5 |
c94a673a38e1b732f69213f913d10ba7
|
|
| BLAKE2b-256 |
db7facdc2368fd255cd4eb1370e4016554f68ec582a0d54fc54a4c326897dab9
|
Provenance
The following attestation bundles were made for blackfish_ai-0.5.1.tar.gz:
Publisher:
release.yml on princeton-ddss/blackfish
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
blackfish_ai-0.5.1.tar.gz -
Subject digest:
6a88fc1347a1885fa01f5b9b1cf8eaab1016fdad289f53eaea25d0d9d5441876 - Sigstore transparency entry: 866372535
- Sigstore integration time:
-
Permalink:
princeton-ddss/blackfish@b2d972b9a2d518fb5a35abba1a6b4cf4b154151d -
Branch / Tag:
refs/tags/v0.5.1 - Owner: https://github.com/princeton-ddss
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@b2d972b9a2d518fb5a35abba1a6b4cf4b154151d -
Trigger Event:
push
-
Statement type:
File details
Details for the file blackfish_ai-0.5.1-py3-none-any.whl.
File metadata
- Download URL: blackfish_ai-0.5.1-py3-none-any.whl
- Upload date:
- Size: 408.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1663818eedfd69dd8a4df5f7652cf315036b368914063c1c6303ab3f158fd0b9
|
|
| MD5 |
67af6958a3954b417457dc2b48a37b65
|
|
| BLAKE2b-256 |
b09b475b2866578453de3af78a0496c0b3e21fe9c2b8574be9f4d03a25818962
|
Provenance
The following attestation bundles were made for blackfish_ai-0.5.1-py3-none-any.whl:
Publisher:
release.yml on princeton-ddss/blackfish
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
blackfish_ai-0.5.1-py3-none-any.whl -
Subject digest:
1663818eedfd69dd8a4df5f7652cf315036b368914063c1c6303ab3f158fd0b9 - Sigstore transparency entry: 866372540
- Sigstore integration time:
-
Permalink:
princeton-ddss/blackfish@b2d972b9a2d518fb5a35abba1a6b4cf4b154151d -
Branch / Tag:
refs/tags/v0.5.1 - Owner: https://github.com/princeton-ddss
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@b2d972b9a2d518fb5a35abba1a6b4cf4b154151d -
Trigger Event:
push
-
Statement type: