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.7.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.7-py3-none-any.whl (22.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fissionbox-0.3.7.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.7.tar.gz
Algorithm Hash digest
SHA256 c1cc9ed53c7a3ce7c466453f8b655a1dd775c491a109cd52b9b54fed8d569d6f
MD5 46ffb241f0029c6d8945c99228d74d82
BLAKE2b-256 1a59a2b5fc7a15e35fcb8fc707d1fc91428faaa5b667c6a884dc7ad0bafd26eb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fissionbox-0.3.7-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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 a90e862499d7abde5aed55bd61ef4691cf5b666f98491da846b1b12412132d1f
MD5 d9d0f726c492917c3605afcd94ee866b
BLAKE2b-256 7e019e246800b84b8158dc4f0adb26ff71789f2bc799ec5ec515aefe1c5c2d0d

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