Skip to main content

fanbase-cli

The fanbase command: browse, install and update grammars from the Fanbase registry.

The registry itself lives in the fanbase repository; this package is the client. You never need the whole registry: a spec is fetched when you ask for it, and fetched again only when the registry has a newer one.

Install

pip install fanbase

Fandango depends on fanbase, so pip install fandango-fuzzer installs it too.

Using specs with Fandango

fandango -F NAME is fandango -f FILE, for a spec from the registry. The spec is fetched into Fandango's standard library location if it is missing or out of date, and then used:

fandango fuzz -F png -n 10                  # the default PNG spec; writes png-inputs/fandango-0000.png ...
fandango fuzz -F png-apng -n 10 -d apngs    # a named variant, into a directory of your choice
fandango fuzz -F png -f mypng.fan -n 10     # your own rules on top of the Fanbase spec

Since the format is known, the file name extension is set for you, and with neither -o nor -d the files go to a fresh directory (png-inputs, then png-inputs-2, ...). Every other fandango fuzz option works as usual. See the Fandango documentation for details.

A first look

fanbase list                  # the formats in the registry
fanbase list png              # the specs of one format
fanbase show png-apng         # one spec's metadata
fanbase install png-apng      # copy it where Fandango's include() finds it

What else it does

You want to Commands Read
find, install and update specs list, search, show, install, update, uninstall, outdated, diff, cite Using specs
run with exactly the specs you used before lock, install --locked Repeating a run
write a spec and contribute it new, fork, rebase, deps, check, changes, publish Writing specs
see how well a spec's files do against real parsers evaluate, targets, quality Evaluating a spec
fuzz your own program, in CI or on your machine fuzz Fuzzing your program
keep what a parser does on a bad file private incidents open, send, list, show, track, tracked, verify The private record
use another registry, or run your own registry, pin, unpin, reindex Registries
sign a registry, put it on a site, give a spec a DOI sign, verify, site, doi Signing, browsing and citing

fanbase --help lists every command, and fanbase COMMAND --help its options.

Citing

fanbase-cli is archived on Zenodo. The DOI 10.5281/zenodo.23259520 stands for the software as a whole and always leads to the latest version; each release has a DOI of its own, on that page.

@software{fanbase_cli,
  author  = {Zamudio Amaya, Jos{\'e} Antonio},
  title   = {fanbase-cli: the command-line client for the Fanbase registry of Fandango input specifications},
  doi     = {10.5281/zenodo.23259520},
  url     = {https://doi.org/10.5281/zenodo.23259520},
  license = {Apache-2.0}
}

The registry with the specs, fanbase, is archived separately.

License

Apache-2.0, see LICENSE.

Metadata

Release files for fanbase 0.7.0

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

Source distribution (sdist)

Source distribution for fanbase 0.7.0
File Size Uploaded Provenance Actions
fanbase-0.7.0.tar.gz 232.0 kB Without provenance Details for fanbase-0.7.0.tar.gz

Built distribution (wheel)

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

Total release size: 374.6 kB

Release files / fanbase-0.7.0.tar.gz

Download URL fanbase-0.7.0.tar.gz
Size 232.0 kB
Tags Source
SHA-256 checksum
How to use checksums
190ad01a00bbae7c7b3689bf48ac5c936b8fab3af9da74fd5051f51bbe4157af
BLAKE2b-256 checksum
How to use checksums
07dcab1df9cf929c769b60c4ef552fdf06fa24d819f734a758f8faefe12642a4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / fanbase-0.7.0-py3-none-any.whl

Download URL fanbase-0.7.0-py3-none-any.whl
Size 142.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3e19d4830cf335a8707a2505b40f748424d016bebab51ca8876c0fd7d7b394ba
BLAKE2b-256 checksum
How to use checksums
d41d9cb4f5486b8985aa8ac85a922f1c8f870fdfbdd3cd03fd3a1fae83dd7587
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for fanbase 0.7.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.

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