pyforla
CLI client for LFORLA — run LLM benchmarks locally and push results to the leaderboard. Pairs with the LFORLA platform.
Features
pull— download benchmark metadata and dataset samples (JSON/YAML)run— evaluate samples locally against an LLM API (OpenAI, Anthropic, Ollama, generic)push— submit results to the LFORLA leaderboardreport— generate a markdown/HTML evaluation report from resultsdataset upload— upload sample files to MinIO and link them to a benchmarkbench-push— publish benchmark definitions (moderator-only)
Install
pip install pyforla
Or from source:
git clone https://github.com/lforla/pyforla.git
cd pyforla && pip install -e .
Verify:
lforla-eval --help
Quick Start
# Save your API key (create one in your LFORLA account settings)
lforla-eval login "your-api-key"
# Download a benchmark's samples
lforla-eval pull root-cause-analysis -o ./data
# Run the samples locally against a model
lforla-eval run ./data/root-cause-analysis_samples.json -m gpt-4o -p openai
# Push the results to the leaderboard
lforla-eval push results.json --benchmark-id <uuid>
Commands
| Command | Description |
|---|---|
lforla-eval login <api-key> |
Save your API key to ~/.config/lforla/config.json |
lforla-eval whoami |
Check authentication status |
lforla-eval list-benchmarks |
List available benchmarks |
lforla-eval pull <slug> [-o dir] |
Download benchmark metadata + samples |
lforla-eval run <samples> -m <model> [-p provider] |
Run samples against a model |
lforla-eval push <results> --benchmark-id <uuid> |
Submit results to LFORLA |
lforla-eval report <results> [-o report.md] |
Generate an evaluation report |
lforla-eval dataset upload <file> <slug> |
Upload a sample file and create a dataset version |
lforla-eval bench-push <file.yaml> |
Publish a benchmark definition (moderator-only) |
Docker
A container image is provided for isolated or server-side runs:
docker build -t lforla-eval .
docker run --rm -v "$PWD:/data" lforla-eval run /data/samples.json -m gpt-4o -p openai
Documentation
- Full CLI documentation: https://lforla.org/cli
- API reference: https://lforla.org/api/v1
License
Metadata
Release files for pyforla 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyforla-0.3.0.tar.gz | 11.4 kB | With provenance | Details for pyforla-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyforla-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for pyforla-0.3.0-py3-none-any.whl |
Total release size: 23.9 kB
Release files / pyforla-0.3.0.tar.gz
| Download URL | pyforla-0.3.0.tar.gz |
|---|---|
| Size | 11.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
35fb08f6281aa08a579ce6fa8179adc45388a3fdcdcb404b567f1bc4052a598e
|
|
BLAKE2b-256 checksum How to use checksums |
1564c05dd81916a4927ae734a48d2b3a2dc8a553df11268f5d6883167b8ebe17
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 14, 2026.
Transparency logRelease files / pyforla-0.3.0-py3-none-any.whl
| Download URL | pyforla-0.3.0-py3-none-any.whl |
|---|---|
| Size | 12.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9d40b2d71fd0f882d09f114ff538f3e5c2e6b2dc948cfcd7930b2d19a28f532b
|
|
BLAKE2b-256 checksum How to use checksums |
949f65ad95249a665b3b5668afcd7b8c39565086647518f58692491b632b9ca5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 14, 2026.
Transparency logSecurity for pyforla 0.3.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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for pyforla-0.3.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 14, 2026.
Transparency logA 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.