Skip to main content
Yanked

This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Consider using release 2.11.5 instead.
Reason given by maintainers: Deprecated: use patcherly-connector@latest (see https://help.patcherly.com/connectors/python/)

Patcherly

Patcherly Python connector

Auto-detect and fix production errors in your Python apps. Agent for any framework that logs to a file or stdout — pairs with your Patcherly account.

For a limited time: 30-day Pro trial — no credit card required. Cancel anytime. Sign up.

PyPI patcherly-connector Documentation Discord — join

Prefer unpinned pip install, or pin from GitHub Releases.


One command downloads the Python agent and launches OAuth pairing:

Platform Command
macOS / Linux / WSL curl -sSL https://api.patcherly.com/install | sudo CONNECTOR_TYPE=python bash
Windows PowerShell $env:CONNECTOR_TYPE = 'python'; irm "https://api.patcherly.com/install.ps1" | iex

The CLI prints a verification URL and a short user code — open the URL, sign in, pick your target, and confirm. Credentials are saved to ~/.patcherly/credentials.json (or /root/.patcherly/ when run as root). Then start the agent — see After install.

Full installer options (paths, SKIP_LOGIN, older versions): Installing a connector.

Package install (PyPI)

pip install patcherly-connector
patcherly login

With the release-tree / universal-installer layout, start the agent:

python patcherly_agent.py

Or from your app (credentials from ~/.patcherly/credentials.json):

from patcherly_agent import PatcherlyAgent

agent = PatcherlyAgent(log_file="logs/error.log")
await agent.start()

Optional on quiet hosts: patcherly heartbeat from a daily cron / systemd timer — see the Python guide.

Pair later (or re-pair)

Install method Command
Universal installer (Linux/macOS) sudo /opt/patcherly-connector/start.sh login
Universal installer (Windows) & "$env:USERPROFILE\patcherly-connector\start.ps1" login
pip patcherly login

On Linux, use sudo when the installer enabled the root-run patcherly-connector systemd unit so credentials land in /root/.patcherly/.

After install

  • Status and approvals: Targets in your Patcherly dashboard.
  • Start and keep the agent running — on Linux with the universal installer: systemctl start patcherly-connector. Otherwise run start.sh / start.ps1, or python patcherly_agent.py. Details: Python connector guide.
  • Path exclusions and patch policies: Path rules for targets.

Test Mode (sample error)

  1. In the dashboard: Targets → your target → Test Mode ON (30-minute window).
  2. On the host:
patcherly send-test

Samples are flagged and do not affect metrics or notifications. See Verify detection with send-test.

Default is full. Change with:

patcherly context get
patcherly context set full|minimal|off
patcherly context upload

Env override: PATCHERLY_CONTEXT_CONSENT (overrides {PATCHERLY_CACHE_DIR}/context_consent). off skips uploads; minimal sends runtime/OS/framework only.

Security

OAuth pairing and per-token HMAC signing; fix payloads are verified before apply. Built-in redaction runs before ingest; you can add custom sanitizer patterns per target.

Documentation & support

License

MIT

Using the Patcherly service is governed by our Terms of Service and Acceptable Use policy. Official product support applies only to unmodified connector releases from our official sources.

Metadata

Release files for patcherly-connector 2.6.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for patcherly-connector 2.6.1
File Size Uploaded
patcherly_connector-2.6.1.tar.gz 74.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for patcherly-connector 2.6.1
File Interpreter ABI Platform
patcherly_connector-2.6.1-py3-none-any.whl Python 3 none any Details

Total release size: 152.4 kB

Release files / patcherly_connector-2.6.1.tar.gz

Download URL patcherly_connector-2.6.1.tar.gz
Size 74.2 kB
Tags Source
SHA-256 checksum
How to use checksums
678fb05c42ba8bd33d42be8af8493659850e98ab5ed2086d06bac0d71a9afdbb
BLAKE2b-256 checksum
How to use checksums
a01d4340c10e71085d4b3a7e1df8ed968fe91915db36f5aed816b8cb5d977c7c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 3, 2026.

Transparency log

Release files / patcherly_connector-2.6.1-py3-none-any.whl

Download URL patcherly_connector-2.6.1-py3-none-any.whl
Size 78.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c7665031f6c86156dfac3c5a79565d1ac29a64d55d157ec713ba3fd390912713
BLAKE2b-256 checksum
How to use checksums
cc3787a44272b5a007f7b4d560844904b06675c39eb627d1e7823624772bd199
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 3, 2026.

Transparency log

Release history Release notifications | RSS feed

2.11.5

2 release files

2.11.4

2 release files

2.10.2

2 release files

2.10.1

2 release files

2.9.1

2 release files

2.8.4

2 release files

2.8.0

2 release files

2.7.5

2 release files

2.7.4

2 release files

2.7.3

2 release files

2.7.1

2 release files

2.6.7

2 release files

2.6.4

2 release files

2.6.3

2 release files

This release

2.6.1 This release

2 release files

2.5.19

2 release files

2.5.15

2 release files

2.5.13

2 release files

2.5.8

2 release files

2.5.1

2 release files

2.4.4

2 release files

2.4.3

2 release files

2.4.2

2 release files

2.4.1

2 release files

2.3.15

2 release files

2.3.12

2 release files

2.3.9

2 release files

2.3.5

2 release files

2.3.3

2 release files

2.3.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page