Skip to main content

Fission box is a Python library built by NormAI to help you interact with the FissionBox API.

Project description

FissionBox SDK

Install with pip

pip install fissionbox

Run the CLI as follows

python -m fissionbox.cli.main

Temporary local auth flow notes are documented in docs/local-auth.md.

For now, the CLI local-auth defaults are:

FISSIONBOX_AUTH_HOST=http://localhost:4242
FISSIONBOX_PLATFORM_HOST=http://localhost:8888

Published CLI installs should use the hosted API for platform requests:

FISSIONBOX_PLATFORM_HOST=https://api.beta.platform.fissionbox.ai
FISSIONBOX_HOST=https://api.beta.fissionbox.ai

The CLI stores only the auth token and default namespace in ~/.fissionbox/config.json. Host overrides are environment-only and are never persisted.

Document workflow commands

fissionbox auth login

fissionbox namespace use --namespace-id=ns-123

fissionbox document upload --path=./invoices
fissionbox document run --path=./invoice.pdf --schema-file=./schema.json
fissionbox document list
fissionbox document export-chunks --id=art-123 --output=./chunks.ndjson

Processed document runs now persist their converter responses server-side in platform, keyed by the saved document run ID. Follow-up platform operations can reuse that stored result instead of sending the full payload back through the client.

Service account tokens for automation

export FISSIONBOX_PLATFORM_HOST=https://api.beta.platform.fissionbox.ai
export FISSIONBOX_HOST=https://api.beta.fissionbox.ai
export FISSIONBOX_PLATFORM_USER_TOKEN=<user-access-token>
export FISSIONBOX_NAMESPACE_ID=ns-123

fissionbox account create-service-account --name=document-bot
fissionbox account list-service-accounts
fissionbox account issue-token --service-account-id=acc-123 --max-age=2592000

Clear the current auth token from your shell with:

eval "$(fissionbox auth logout --shell)"

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

fissionbox-0.3.6.tar.gz (16.5 kB view details)

Uploaded Source

Built Distribution

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

fissionbox-0.3.6-py3-none-any.whl (22.9 kB view details)

Uploaded Python 3

File details

Details for the file fissionbox-0.3.6.tar.gz.

File metadata

  • Download URL: fissionbox-0.3.6.tar.gz
  • Upload date:
  • Size: 16.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for fissionbox-0.3.6.tar.gz
Algorithm Hash digest
SHA256 6c7b875bed2ec6c8128fc5c4a1cdbef169ac8e0e28b99fe7154d0396e34296f1
MD5 5d5907908e18844c660afe7c75f80798
BLAKE2b-256 5a6034fb9d0c828ecfd69715f3c2781b81c2f6ed40058c07abdb07280c9b35f3

See more details on using hashes here.

File details

Details for the file fissionbox-0.3.6-py3-none-any.whl.

File metadata

  • Download URL: fissionbox-0.3.6-py3-none-any.whl
  • Upload date:
  • Size: 22.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for fissionbox-0.3.6-py3-none-any.whl
Algorithm Hash digest
SHA256 63a472b990173301135a89434b8fce867ef7984a873fbec6f1da8bc91e05e599
MD5 a5d60cc76931d0544637e7d1d75bde44
BLAKE2b-256 bc2c284e6be181da6317af5706ebf87a7806e7eb71853f4b73189952fb1d998c

See more details on using hashes here.

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