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.post1.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.post1-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.post1-cp314-cp314-macosx_15_0_x86_64.whl (9.0 MB view details)

Uploaded CPython 3.14macOS 15.0+ x86-64

blossom_cli-0.5.6.post1-cp314-cp314-macosx_14_0_arm64.whl (8.6 MB view details)

Uploaded CPython 3.14macOS 14.0+ ARM64

blossom_cli-0.5.6.post1-cp312-cp312-win_amd64.whl (9.8 MB view details)

Uploaded CPython 3.12Windows x86-64

File details

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

File metadata

  • Download URL: blossom_cli-0.5.6.post1.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.post1.tar.gz
Algorithm Hash digest
SHA256 04ed4930c2730da8187a440263d8ce205c8af093d29a00a207067f32ddc3b0e4
MD5 a2d7edbb4e5a56d8adfa85244caecd72
BLAKE2b-256 7c5c63ef627a9e13d97a961c57735854becfe29e92b7cc66692146e3b87f446f

See more details on using hashes here.

Provenance

The following attestation bundles were made for blossom_cli-0.5.6.post1.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.post1-py3-none-manylinux_2_35_x86_64.whl.

File metadata

File hashes

Hashes for blossom_cli-0.5.6.post1-py3-none-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 a25fa7a1b748cff445e2fab9b66ae5179103515f586ae0c2eaf41cefe1e5f3bc
MD5 17bdb8a354f53c3bedb5087daea7c94e
BLAKE2b-256 6acfbf90675fd269d5b5242928bf3e2f4284c4baa5d3fd198e53484996e9c939

See more details on using hashes here.

Provenance

The following attestation bundles were made for blossom_cli-0.5.6.post1-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.post1-cp314-cp314-macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for blossom_cli-0.5.6.post1-cp314-cp314-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 ada2632977c1dafca109fc4160423b8a6b9c3d04d087197d79bedf707a60cde7
MD5 8e174f73db8c6b6832f41644de7e06fe
BLAKE2b-256 e85f86ac6e98f360ae1990a54515953bc50403be17999a15d27ac6d3ce9480bd

See more details on using hashes here.

Provenance

The following attestation bundles were made for blossom_cli-0.5.6.post1-cp314-cp314-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.post1-cp314-cp314-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for blossom_cli-0.5.6.post1-cp314-cp314-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 4b8a5bbdbbf4a94c8127b37e0ff80bd9186923ea47674bf71dd377fad9528e1e
MD5 cc8eada9584178a517ca21a517f332ff
BLAKE2b-256 93b708c1903a7fd200f97dbda8d52a7f7d2b805d080fe78052d8b17200875a67

See more details on using hashes here.

Provenance

The following attestation bundles were made for blossom_cli-0.5.6.post1-cp314-cp314-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.

File details

Details for the file blossom_cli-0.5.6.post1-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for blossom_cli-0.5.6.post1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 bf4df6fafc6a777fc1eed055060743f8dc2b80dd248aa9f24f4480abf8a9f184
MD5 2400652b85a8a83ba29b6e38aff5ac41
BLAKE2b-256 e1c330811b28cf8d187f459d24085af7ba4f44e65c8bf0d049221fa049e80cd1

See more details on using hashes here.

Provenance

The following attestation bundles were made for blossom_cli-0.5.6.post1-cp312-cp312-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.

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