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.4.tar.gz (16.6 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.4-py3-none-any.whl (23.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fissionbox-0.3.4.tar.gz
  • Upload date:
  • Size: 16.6 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.4.tar.gz
Algorithm Hash digest
SHA256 0f19907951d5c81db905443c172a72fb96bd5e5d7fb5223a997ae1e8a9ab8bc5
MD5 297da70e541be5487e18ef9128189a4a
BLAKE2b-256 e3507768a1dfaf5641f840f2eff6cce9b1dc2876d4ed57b02ac5f487f62f7154

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fissionbox-0.3.4-py3-none-any.whl
  • Upload date:
  • Size: 23.1 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 8944cecce0596311de845358ae64c23be5b712def846f87080e9ae94bb4ca7ca
MD5 00a55c5b961a9e81d91f1f9bd0b97fec
BLAKE2b-256 ed05459a5bfdb29d178a87df78bc0aee6cab469b67022a6ff8b2215d85377e1e

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