Skip to main content

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-lint and receptorctl-test from the repository root, you must first install nox.

  1. Install nox using python3 -m pip install nox or your distribution's package manager.
  2. Run nox --list from the receptorctl directory 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 using uv as follows:

  1. Add or modify packages in pyproject.toml under dependencies or optional-dependencies.

  2. Regenerate the lock file from the receptorctl directory:

    uv lock
    

The uv.lock file pins all dependencies with cryptographic hashes for reproducible installs. Commit the updated uv.lock file along with your pyproject.toml changes.

Project details


Download files

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

Source Distribution

receptorctl-1.6.6.tar.gz (46.6 kB view details)

Uploaded Source

Built Distribution

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

receptorctl-1.6.6-py3-none-any.whl (10.7 kB view details)

Uploaded Python 3

File details

Details for the file receptorctl-1.6.6.tar.gz.

File metadata

  • Download URL: receptorctl-1.6.6.tar.gz
  • Upload date:
  • Size: 46.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for receptorctl-1.6.6.tar.gz
Algorithm Hash digest
SHA256 56b4e3cfa9a4eaef8ea4c4fe3663e787d56158092dbd45f999d42ba58c3899e8
MD5 4264cd339332fb9b0bad7ac075ae5aba
BLAKE2b-256 41cddd58f95c71e144c4f9631e8ceaac423669339658e3b569d62645b2e56050

See more details on using hashes here.

File details

Details for the file receptorctl-1.6.6-py3-none-any.whl.

File metadata

  • Download URL: receptorctl-1.6.6-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

Hashes for receptorctl-1.6.6-py3-none-any.whl
Algorithm Hash digest
SHA256 311afa2737f9538c1bdbce02f3adc74bddf6ce0122dd6fd81d0503fe7f5d5e95
MD5 46693fe58f62294c285a696c0bcfd456
BLAKE2b-256 1701e38a667a5cf8e6955c3b05c0a571285782bb88dbbecbd9331a30e017f586

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page