Skip to main content

Royal Flush Lab

PyPI Documentation

Royal Flush Lab is the deterministic single-machine experimental variant of Royal Flush. It preserves the agent-level semantics of the original Royal Flush platform while providing reproducible scheduling, controlled execution, and consistent resource accounting for algorithm comparison.

Royal Flush Lab is a Python 3.14 command-line platform for running reproducible federated-learning experiments for multi-class classification in a single local process. It supports local and centralized baselines, centralized coordinator-based FL (FedAvg, FedProx), and decentralized Consensus-learning and Consensus-weighted learning families, including synchronous, asynchronous, and coalition-based variants.

Communication and asynchronous execution are simulated with a deterministic discrete-event scheduler; there is no real networking, threading, or uncontrolled concurrency.

Installation

Requires Python 3.14. CUDA acceleration depends on your platform's PyTorch build; see docs/installation.rst for CPU/CUDA-specific guidance.

python -m pip install royalflushlab

To work on Royal Flush Lab itself (tests, linting, docs), install from a clone in editable mode instead:

python -m pip install -e '.[dev,docs]'

Quickstart

royalflushlab init
royalflushlab expand --grid experiment_grid.yml
royalflushlab run --queue queue
royalflushlab analyze --project <project_name>

rfl is an alias for royalflushlab.

See docs/ for the full documentation, including the CLI reference, configuration schemas, algorithm pages, artifact schemas, and analysis methodology.

Metadata

Release files for royalflushlab 0.1.2

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

Source distribution (sdist)

Source distribution for royalflushlab 0.1.2
File Size Uploaded Provenance Actions
royalflushlab-0.1.2.tar.gz 203.3 kB Without provenance Details for royalflushlab-0.1.2.tar.gz

Built distribution (wheel)

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

Total release size: 359.7 kB

Release files / royalflushlab-0.1.2.tar.gz

Download URL royalflushlab-0.1.2.tar.gz
Size 203.3 kB
Tags Source
SHA-256 checksum
How to use checksums
1ac3f850b879250842fac31c54d23004deac0850ed0be92b5a82aa80c9e73b29
BLAKE2b-256 checksum
How to use checksums
7ee36aed011a3da84bf04628244fe173b971941834476fae644984dc74c856d4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.6

Release files / royalflushlab-0.1.2-py3-none-any.whl

Download URL royalflushlab-0.1.2-py3-none-any.whl
Size 156.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a3818bf2f3b8389b81802d73a67912f9c5719e2b7155dcbf7f92fdfcc69f80d6
BLAKE2b-256 checksum
How to use checksums
4d6b6b2cae89ecbef33cac01656b5eb10a1a3ad852255bac70131f1e744f3a72
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.6

Security for royalflushlab 0.1.2

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.

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files No provenance

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