Skip to main content

blossom-cli

blossom-cli is a thin Python wrapper that makes the upstream Rust Blossom client available through uvx:

uvx blossom-cli --version
uvx blossom-cli status
uvx blossom-cli upload ./file.pdf

The wrapper preserves the upstream command-line API. It does not add, rename, or reinterpret Rust CLI commands. Platform-specific PyPI wheels contain the compiled Rust executable, so supported platforms do not need Rust or Cargo installed. It resolves the upstream executable in this order:

  1. BLOSSOM_RUST_CLI_BIN, when explicitly configured.
  2. The executable bundled in the platform wheel.
  3. A blossom-cli executable already available on PATH.
  4. A versioned executable in the user cache.
  5. cargo install blossom-cli --version 0.5.6 --locked into the user cache as a fallback for source distributions and unsupported platforms.

The published wheels currently target Linux x86_64, macOS x86_64, macOS arm64, and Windows x86_64. On those platforms, a normal invocation is enough:

uvx blossom-cli --version

This package does not contain or reimplement the Blossom protocol. The Rust executable and protocol implementation come from MonumentalSystems/blossom-rs, which is published under the MIT License. This project exists only to provide a convenient uvx entry point for that upstream project.

Configuration

The upstream CLI continues to own all options and environment variables, including BLOSSOM_SECRET_KEY:

export BLOSSOM_SERVER="https://blossom.example.com"
export BLOSSOM_SECRET_KEY="<your-secret-key>"

uvx blossom-cli --server "$BLOSSOM_SERVER" --format json --no-publish upload ./file.pdf

Use uvx blossom-cli --help for the complete command surface. Read the upstream documentation for Blossom protocol behavior and server compatibility.

Development

uv sync --dev
uv run pytest
uv build

To test the wrapper against a locally available Rust executable without compiling anything:

BLOSSOM_RUST_CLI_BIN=/path/to/blossom-cli uvx --from . blossom-cli --version

License

The wrapper code is released under the MIT License; see LICENSE. The upstream project has separate MIT license terms reproduced in licenses/blossom-rs-MIT.txt.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

blossom_cli-0.5.6.post2.tar.gz (17.3 kB view details)

Uploaded Source

Built Distributions

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

blossom_cli-0.5.6.post2-py3-none-win_amd64.whl (9.8 MB view details)

Uploaded Python 3Windows x86-64

blossom_cli-0.5.6.post2-py3-none-manylinux_2_35_x86_64.whl (10.4 MB view details)

Uploaded Python 3manylinux: glibc 2.35+ x86-64

blossom_cli-0.5.6.post2-py3-none-macosx_15_0_x86_64.whl (9.0 MB view details)

Uploaded Python 3macOS 15.0+ x86-64

blossom_cli-0.5.6.post2-py3-none-macosx_14_0_arm64.whl (8.6 MB view details)

Uploaded Python 3macOS 14.0+ ARM64

File details

Details for the file blossom_cli-0.5.6.post2.tar.gz.

File metadata

  • Download URL: blossom_cli-0.5.6.post2.tar.gz
  • Upload date:
  • Size: 17.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for blossom_cli-0.5.6.post2.tar.gz
Algorithm Hash digest
SHA256 0e60ad5843f2b1834de722d89cbb6084997d0b63a14456e2f5bba1caa77d9f91
MD5 4fdb30e0ff7ce62672748fedbf53a2ce
BLAKE2b-256 44ec8892ad81ca349d75a12790049242f33d2740dee037c7d471a1461a0e8419

See more details on using hashes here.

Provenance

The following attestation bundles were made for blossom_cli-0.5.6.post2.tar.gz:

Publisher: publish.yml on brenorb/blossom-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file blossom_cli-0.5.6.post2-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for blossom_cli-0.5.6.post2-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 39b1074c016bbbc636770d05bc8e92e7e49e8e4379a87c4aeefec18d07f5bc65
MD5 11f975dfae5a73bb0f3405195b7ffd8f
BLAKE2b-256 8b9ff2d09d0b9b8d76e9b88ff87b2f3e9224772ee08fd041d3662240c02368fb

See more details on using hashes here.

Provenance

The following attestation bundles were made for blossom_cli-0.5.6.post2-py3-none-win_amd64.whl:

Publisher: publish.yml on brenorb/blossom-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file blossom_cli-0.5.6.post2-py3-none-manylinux_2_35_x86_64.whl.

File metadata

File hashes

Hashes for blossom_cli-0.5.6.post2-py3-none-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 8fb30a3d6eb55e8ed9e67b2141eda83047e232656a74ddca19ffcf453b964e90
MD5 72212cedbae5f6253e18e2ee0105881d
BLAKE2b-256 727b8863deffccf340cc61c2da3649dd9227b0bebb638e54747fbfdce150a56b

See more details on using hashes here.

Provenance

The following attestation bundles were made for blossom_cli-0.5.6.post2-py3-none-manylinux_2_35_x86_64.whl:

Publisher: publish.yml on brenorb/blossom-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file blossom_cli-0.5.6.post2-py3-none-macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for blossom_cli-0.5.6.post2-py3-none-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 ea067b8192dd3447b8c592ebaea0c8c3f8df67a80181341b29c6ca62ef141aba
MD5 656fec82a657526f6ad6d89d46f1daf7
BLAKE2b-256 cf74c2895cd68ab62faa541c24b6ff5c53e3b3c66ab61cc09832161ccb59b657

See more details on using hashes here.

Provenance

The following attestation bundles were made for blossom_cli-0.5.6.post2-py3-none-macosx_15_0_x86_64.whl:

Publisher: publish.yml on brenorb/blossom-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file blossom_cli-0.5.6.post2-py3-none-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for blossom_cli-0.5.6.post2-py3-none-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 cc6a02ca2e6fe0239cca978949972223d98337b57c6c7482facb40a1cbc8abea
MD5 97e2cdb84f8882dcce8c1773058085ae
BLAKE2b-256 9e99e3349ad89a1c3b0f64301406165d2bdbe234acd66edab22d32986a535800

See more details on using hashes here.

Provenance

The following attestation bundles were made for blossom_cli-0.5.6.post2-py3-none-macosx_14_0_arm64.whl:

Publisher: publish.yml on brenorb/blossom-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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