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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

royalflushlab-0.1.2.tar.gz (203.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

royalflushlab-0.1.2-py3-none-any.whl (156.5 kB view details)

Uploaded Python 3

File details

Details for the file royalflushlab-0.1.2.tar.gz.

File metadata

  • Download URL: royalflushlab-0.1.2.tar.gz
  • Upload date:
  • Size: 203.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for royalflushlab-0.1.2.tar.gz
Algorithm Hash digest
SHA256 1ac3f850b879250842fac31c54d23004deac0850ed0be92b5a82aa80c9e73b29
MD5 9450adec76703680e7143d95a8d2b374
BLAKE2b-256 7ee36aed011a3da84bf04628244fe173b971941834476fae644984dc74c856d4

See more details on using hashes here.

File details

Details for the file royalflushlab-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: royalflushlab-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 156.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for royalflushlab-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a3818bf2f3b8389b81802d73a67912f9c5719e2b7155dcbf7f92fdfcc69f80d6
MD5 432c9a9285987a50b98e881a94cde927
BLAKE2b-256 4d6b6b2cae89ecbef33cac01656b5eb10a1a3ad852255bac70131f1e744f3a72

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 files

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