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.5.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.5-py3-none-any.whl (10.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: receptorctl-1.6.5.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.5.tar.gz
Algorithm Hash digest
SHA256 72682719bad6137d677532b0921d16dafaac521462074931bf05c27c0594b5cd
MD5 947a4526b51b85dfd4b347d2cd8637ae
BLAKE2b-256 979ff5e24f059d272982c37de5d0d5b3e6ca882cabbde977eef84a8c3e14a1db

See more details on using hashes here.

File details

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

File metadata

  • Download URL: receptorctl-1.6.5-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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 5b3316d0f548e2192792d4aa0c2635845a13ce950c76a089e635629a30e0aeb9
MD5 804c49d18eb429334194f4df88867ad1
BLAKE2b-256 342bd2de88df246daba7723e50c3ab27c8057ba4414ec81d66670187bf7cdb7d

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