frutebox-node
The Frutebox node runtime: share your hardware with the Frutebox network and get paid for the work it does.
pip install "frutebox[node]" # the SDK plus this runtime
pip install frutebox-node # just the runtime
Then, from the SDK's CLI:
pbpaste | frutebox login
frutebox share --join # register this machine and start the node agent
frutebox share --status # state and earnings
frutebox share --limits # when this machine will and will not take work
frutebox share --leave # stop taking work
Or run the agent directly:
python -m frutebox.provider --region eu-west --credential-file ~/.config/frutebox/node-credential
Pass the credential by file, never --credential: ps shows argv to every user on the machine,
and a non-zero exit serialises the whole command line into the exception.
What it installs, and what it does not
This distribution ships 28 modules into the frutebox package — the transitive import closure of
provider.py, out of the backend package's 100. It is the serving node, not the gateway.
The install is small on purpose. Of the twelve third-party packages the runtime mentions, only
four are imported at module level (cryptography, dilithium-py, httpx, websockets, plus
pyyaml for the registry). Everything heavy is imported inside the function that needs it, so a
node that serves chat never downloads a deep-learning stack:
| extra | pulls in | needed for |
|---|---|---|
| (none) | the five above | chat inference, the gateway socket, attestation, earnings |
[media] |
torch, diffusers, numpy, pillow | serving image and video jobs |
[speech] |
chatterbox-tts, kokoro | serving speech jobs |
[cloud] |
runpod | renting capacity rather than offering your own machine |
pip install "frutebox-node[media]"
It shares the frutebox package with the SDK
Both distributions install into frutebox/, with disjoint filenames — the SDK owns __init__.py,
_client.py, _errors.py, _spec.py and cli.py; this one owns provider.py, config.py and
the rest. That is deliberate: two modules in the runtime use absolute self-imports
(from frutebox.envvars import …), so publishing them under a different package name would break
them.
One consequence worth knowing: pip uninstall frutebox removes the SDK's files including
__init__.py, leaving this runtime in place as a namespace package. frutebox.provider still
imports; frutebox.Frutebox does not. Reinstall the SDK, or uninstall both.
The source is not duplicated
There is one copy of the node runtime in the repository. pyproject.toml here is a manifest over
../frutebox/, read directly at build time — not a fork of it. A test recomputes the import closure
from the source and fails if the manifest has drifted, so the two cannot diverge quietly.
Metadata
Release files for frutebox-node 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| frutebox_node-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for frutebox_node-0.2.0-py3-none-any.whl |
Release files / frutebox_node-0.2.0-py3-none-any.whl
| Download URL | frutebox_node-0.2.0-py3-none-any.whl |
|---|---|
| Size | 435.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c15d8eb1492d6e577a33d7c83a8fc00d91c6ec861d7e07234b0fe09547c330c6
|
|
BLAKE2b-256 checksum How to use checksums |
d2bd831f5cb6a5c7c855244733cc44e3ca000e2c12c5fbef609a343d9e1c02b1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.15
|
Security for frutebox-node 0.2.0
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.