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

Uploaded Python 3

File details

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

File metadata

  • Download URL: receptorctl-1.6.7.tar.gz
  • Upload date:
  • Size: 46.5 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.7.tar.gz
Algorithm Hash digest
SHA256 66ba58135c21120615aa5f285e7831a1e8a84e0e4efe635813d4d1669e4b07f9
MD5 70e9dd59149b361b66b3742961908af0
BLAKE2b-256 fa9a5de0e82f42a4659d067b35416be22eb27e5f6751d7770d5080e2e51b5dab

See more details on using hashes here.

File details

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

File metadata

  • Download URL: receptorctl-1.6.7-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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 92f9bf8dd8bf8a54e9b9b1cd7491a73af02875a542de771a30349214e3481171
MD5 ee9446513d9b46c36e351aff0c676e5b
BLAKE2b-256 07325dbb15f6ed45dd520a04c16aae3bb2ee374c41e05c0c4bc6dcc997731e8f

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