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

Uploaded Python 3

File details

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

File metadata

  • Download URL: fissionbox-0.3.8.tar.gz
  • Upload date:
  • Size: 18.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","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.8.tar.gz
Algorithm Hash digest
SHA256 54adef7b0c2ec54462eaf53ff125d261a5a834ac247cb88c66ea8d70a7426896
MD5 adab25731736ca93297cf98d5a91774a
BLAKE2b-256 5146d49703785b2b219cb177ef9200f519c0412325513173b82a2abb14e4f9a1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fissionbox-0.3.8-py3-none-any.whl
  • Upload date:
  • Size: 23.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","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.8-py3-none-any.whl
Algorithm Hash digest
SHA256 b9f0d5bf13fa74cbdda49cfbe486bd51dda1540d998ef18ba515e98692800245
MD5 bb14e7c4e7e0a6c28fd1a27b84960a0e
BLAKE2b-256 40b49bd0a2bceb24a903deb830c52ffa5b14a1d56815896ce28150d05f9fd335

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