No project description provided
Project description
robotpy-cli
New for 2024, this package is used to execute subcommands on a RobotPy project. This does not actually implement any subcommands itself, but provides a mechanism to execute those subcommands.
Usage
On Windows:
py -m robotpy
On Linux/macOS:
python -m robotpy
See the RobotPy documentation for more information.
How RobotPy subcommands are implemented
When a user runs robotpy or python -m robotpy, they are presented with
several subcommands. Each of these subcommands is implemented as a class
that is registered using python's entry point mechanism in the "robotpy_cli.YEAR"
group. The registered class must meet the following requirements:
- The docstring of the class is used when the user does --help. The first line is treated as the summary, and all other lines are displayed when the subcommand specific help is queried.
If the subcommand is a group of commands:
- The class must have a
subcommandsattribute, which is a list of (name, subcommand_class) tuples. The subcommand_class must meet the requirements for a subcommand.
If it is a subcommand that is executed:
- The constructor must take a single argument, an argparse.ArgumentParser. The object may register any arguments or subparsers that it needs.
- The
runfunction is called when the subcommand is used by the user. The arguments to this function are passed in by name, and the names can be any of the options that the subcommand registered. There are two other special argument names:options- if specified, this is the Namespace returned by parse_argsrobot_class- if specified, the user's robot.py will be loaded and it will be inspected for their robot class, which will be passed in as this optionmain_file- if specified, the name of the user's robot.py file. This is not guaranteed to exist unless robot_class is also an option.project_path- if specified, the name of the directory that contains the user's robot.py file. This is not guaranteed to exist unless robot_class is also an option.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file robotpy_cli-2026.0.1b1.tar.gz.
File metadata
- Download URL: robotpy_cli-2026.0.1b1.tar.gz
- Upload date:
- Size: 7.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
acb48cd4789831eeb005a04ba9720298712ac341648fdaf6ae42455ed851688c
|
|
| MD5 |
f8c3bb4e4579341626f6473b2c277493
|
|
| BLAKE2b-256 |
8b62fff0336c59a7000d2f142a352495ecb5b8c5969001bde0326edc86ab3598
|
Provenance
The following attestation bundles were made for robotpy_cli-2026.0.1b1.tar.gz:
Publisher:
dist.yml on robotpy/robotpy-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
robotpy_cli-2026.0.1b1.tar.gz -
Subject digest:
acb48cd4789831eeb005a04ba9720298712ac341648fdaf6ae42455ed851688c - Sigstore transparency entry: 629109869
- Sigstore integration time:
-
Permalink:
robotpy/robotpy-cli@37ad7ab63df645d1abf2764298ab1d090a08a757 -
Branch / Tag:
refs/tags/2026.0.1b1 - Owner: https://github.com/robotpy
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
dist.yml@37ad7ab63df645d1abf2764298ab1d090a08a757 -
Trigger Event:
push
-
Statement type:
File details
Details for the file robotpy_cli-2026.0.1b1-py3-none-any.whl.
File metadata
- Download URL: robotpy_cli-2026.0.1b1-py3-none-any.whl
- Upload date:
- Size: 8.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a486d7c96addf60171abad0868ee01d6db86ff79815c09b6909150385f5135bc
|
|
| MD5 |
4a942de439c090636865c9d766d525ef
|
|
| BLAKE2b-256 |
2b6b76e4b421fe971a096ce8d7ec6a9221dfc31aa2ba687387a761e42946bc43
|
Provenance
The following attestation bundles were made for robotpy_cli-2026.0.1b1-py3-none-any.whl:
Publisher:
dist.yml on robotpy/robotpy-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
robotpy_cli-2026.0.1b1-py3-none-any.whl -
Subject digest:
a486d7c96addf60171abad0868ee01d6db86ff79815c09b6909150385f5135bc - Sigstore transparency entry: 629109870
- Sigstore integration time:
-
Permalink:
robotpy/robotpy-cli@37ad7ab63df645d1abf2764298ab1d090a08a757 -
Branch / Tag:
refs/tags/2026.0.1b1 - Owner: https://github.com/robotpy
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
dist.yml@37ad7ab63df645d1abf2764298ab1d090a08a757 -
Trigger Event:
push
-
Statement type: