Receptorctl is a front-end CLI and importable Python library that interacts with Receptor over its control socket interface.
Project description
Receptorctl
Receptorctl is a front-end CLI and importable Python library that interacts with Receptor over its control socket interface.
Setting up nox
This project includes a nox configuration to automate tests, checks, and other functions in a reproducible way using isolated environments.
Before you submit a PR, you should install nox and verify your changes.
To run
make receptorctl-lintandreceptorctl-testfrom the repository root, you must first installnox.
- Install
noxusingpython3 -m pip install noxor your distribution's package manager. - Run
nox --listfrom thereceptorctldirectory to view available sessions.
You can run nox with no arguments to execute all checks and tests.
Alternatively, you can run only certain tasks as outlined in the following sections.
By default nox sessions install pinned dependencies from
pyproject.toml.
Checking changes to Receptorctl
Run the following nox sessions to check for code style and formatting issues:
-
Run all checks.
nox -s lint
-
Check code style.
nox -s check_style
-
Check formatting.
nox -s check_format
-
Format code if the check fails.
nox -s format
Running Receptorctl tests
Run the following nox sessions to test Receptorctl changes:
-
Run tests against the complete matrix of Python versions.
nox -s tests
-
Run tests against a specific Python version.
# For example, this command tests Receptorctl against Python 3.12. nox -s tests-3.12
Updating dependencies
Update dependencies in the requirements directory as follows:
- Add any packages or pins to the
*.infile. - Do one of the following from the
receptorctldirectory:
-
Update all dependencies.
nox -s pip-compile
-
Generate the full dependency tree for a single set of dependencies, for example:
nox -s "pip-compile-3.12(tests)"
You can also pass the
--no-upgradeflag when adding a new package. This avoids bumping transitive dependencies for other packages in the*.infile.
nox -s pip-compile -- --no-upgrade
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 receptorctl-1.6.3.tar.gz.
File metadata
- Download URL: receptorctl-1.6.3.tar.gz
- Upload date:
- Size: 20.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5a043610085cc28c83a223ac9b5e5e847802a9ea8b70ceca4e4e6579785aaa3b
|
|
| MD5 |
7907f17baccc3a98e1d09a7e83de5572
|
|
| BLAKE2b-256 |
deb6a3dac019582004d04a5ad66eb67c9361bbb1faad5f337607bb9d0740ea16
|
File details
Details for the file receptorctl-1.6.3-py3-none-any.whl.
File metadata
- Download URL: receptorctl-1.6.3-py3-none-any.whl
- Upload date:
- Size: 10.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0bebf9c0bb0bfc4f5ebe0279117fc747a21ca12512cb1282b398a7ef62eb8e0b
|
|
| MD5 |
8779b65e09dc740e35c53d579e7d6ab8
|
|
| BLAKE2b-256 |
d0b32ec5c126c0eb36d8e8b9b88faa07088d26de6d7ca743f19d6fc03d63e13f
|