Skip to main content

bananamendy

CLI and persistent OpenAI-compatible server for local CPU inference on the BananaMind-2 chat checkpoints, on top of the Rust core bananamendr. No PyTorch at runtime.

uv pip install bananamendy

bananamendy pull nano                      # into the Hugging Face cache
bananamendy models                         # what is cached locally
bananamendy info                           # architecture facts
bananamendy chat --prompt "Why is the sky blue?"
bananamendy chat                           # REPL
bananamendy generate --prompt "Once upon a time"
bananamendy serve                          # OpenAI-compatible on 127.0.0.1:8377

Point any OpenAI client at it:

curl http://127.0.0.1:8377/v1/chat/completions \
  -H 'Content-Type: application/json' \
  -d '{"model": "nano", "messages": [{"role": "user", "content": "Hi"}], "stream": true}'

Implemented: GET /v1/models, POST /v1/chat/completions, POST /v1/completions (both with SSE streaming), GET /health. Sampling parameters left out of a request fall back to your config, so the server and the CLI behave identically.

Configuration is TOML in the platformdirs location (bananamendy init_config writes it; bananamendy config shows the effective values), overridable with BANANAMENDY_* environment variables.

Weights live in the ordinary Hugging Face cache — HF_HOME / HF_HUB_CACHE are respected, and a checkpoint you already have is not downloaded twice. Aliases nano, mini and pro expand to the BananaMind/BananaMind-2-*-Chat repos; any repo id or local directory works too.

Full documentation: https://github.com/twardoch/bananamend

License

Apache-2.0

Metadata

Release files for bananamendy 1.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bananamendy 1.0.4
File Size Uploaded Provenance
bananamendy-1.0.4.tar.gz 42.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for bananamendy 1.0.4
File Interpreter ABI Platform
bananamendy-1.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 79.8 kB

Release files / bananamendy-1.0.4.tar.gz

Download URL bananamendy-1.0.4.tar.gz
Size 42.2 kB
Tags Source
SHA-256 checksum
How to use checksums
78fc117bc3d33e70eea5735ad5fcaace07fb152a592b8b600b9c62d7b1219041
BLAKE2b-256 checksum
How to use checksums
78d1f91de43aa65f17d306900dfad3f1d47e000b4f5d1fc55d4a88615f73be77
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / bananamendy-1.0.4-py3-none-any.whl

Download URL bananamendy-1.0.4-py3-none-any.whl
Size 37.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d7cbf637574ab01ef0777217db6083fc02435aed8687c2dda4300492757d3225
BLAKE2b-256 checksum
How to use checksums
a8e702bf26c48dc50bd84c14da1e66784867822e0aa9125c552702db3002f19c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for bananamendy 1.0.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page