Skip to main content

rbx

The go-to CLI tool for programming competitions setters.

Python FastAPI JSON


Table of Contents

AI Disclaimer

This repo was written until 2026 (~1400 commits) without the use of AI. Thus, the meaty part of the tool was written by a human that (hopefully) know what they're doing. Using AI, though, was proved to be much more efficient and less error prone if a human was kept in the loop. All AI features developed in this tool pass through a PR review and are carefully reviewed by the owner. This helps the owner maintain the project with less time, and implement more useful features in an efficient way (UI features, nice-to-have features, etc).

The owner plans to NOT USE AI for the execution engine of the tool: running solutions, generating tests, etc. These are critical parts of the tool that don't need to change that much, and should be kept stable.

Overview

GitHub license PyPI pyversions PyPI version shields.io

rbx is a CLI tool that empowers setters from the competitive programming community.

A flexible setting tool, as powerful as Polygon, right on your terminal.


Features

  • 🧱 Structure: describe your problem or contest structure with the use of YAML configuration files.
  • 🤖 Generation: provides a simple way to describe your whole testset, including both manually added and generated testcases.
  • 🔨 Testing: provides commands for automatically running correct and incorrect solutions against the testcases of your problem, automatically judging whether the verdict was as expected or not.
  • ✅ Verify: checks if your testcases and solutions are strictly conformant with the use of validators and unit tests.
  • 📝 Statements: provides tooling for writing and building statements, also ensuring they're easily synchronized with your testset.
  • 📤 Package: provides a single command for packaging your problems for use in your preferred judge system.

Documentation

You can read the docs here.


Contributing

Prerequisites

  • Python 3.9+
  • uv — package manager
  • mise — task runner

Getting Started

git clone https://github.com/rsalesc/rbx.git
cd rbx
mise run sync
pre-commit install

Common Tasks

All development commands are run through mise:

Command Description
mise run sync Install/sync all dependencies
mise run lock Regenerate uv.lock
mise run lint Run linter
mise run lint-fix Run linter with auto-fix
mise run format Format code
mise run format-check Check formatting without changes
mise run check Run all checks (lint + format)
mise run test Run tests (excludes e2e/slow/docker)
mise run test-cov Run tests with coverage
mise run test-e2e Run e2e tests
mise run build Clean build the package

Run mise tasks to see all available tasks.

Code Style

  • Single quotes for strings
  • Absolute imports only — no relative imports
  • Conventional Commits — enforced by pre-commit hook

All style rules are enforced automatically by pre-commit hooks (ruff check, ruff format, commitizen).

Submitting Changes

  1. Create a branch from main
  2. Make your changes
  3. Run mise run check and mise run test
  4. Commit using Conventional Commits format
  5. Open a pull request

License

This project is protected under the Apache License 2.0 License. For more details, refer to the LICENSE file.


Return


Metadata

Release files for rbx-cp 2.6.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 rbx-cp 2.6.0
File Size Uploaded Provenance Actions
rbx_cp-2.6.0.tar.gz 5.0 MB Without provenance Details for rbx_cp-2.6.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for rbx-cp 2.6.0
File Interpreter ABI Platform Actions
rbx_cp-2.6.0-py3-none-any.whl Python 3 none any Details for rbx_cp-2.6.0-py3-none-any.whl

Total release size: 8.1 MB

Release files / rbx_cp-2.6.0.tar.gz

Download URL rbx_cp-2.6.0.tar.gz
Size 5.0 MB
Tags Source
SHA-256 checksum
How to use checksums
42467bb3a514e1f1ef8ec609e5977a035828cd7da7be2323d22f2e8e3d7e56f4
BLAKE2b-256 checksum
How to use checksums
b095705c31f0f36c06d32c48aa762a2467f6df412de6302c4ff3cd0b26b78b4e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.14

Release files / rbx_cp-2.6.0-py3-none-any.whl

Download URL rbx_cp-2.6.0-py3-none-any.whl
Size 3.1 MB
Tags Python 3
SHA-256 checksum
How to use checksums
016999eca35a65f1e9c3603ad99b48fa5435626d6c1e2eeeecd418b0cf40209e
BLAKE2b-256 checksum
How to use checksums
0adb0a294d413f407eb439555a144e4e0ed6d948e382bfa044ab4c97f5abae68
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.14

Security for rbx-cp 2.6.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.

Release history Release notifications | RSS feed

This release

2.6.0 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