Metadata-Version: 2.4
Name: patcherly-connector
Version: 2.2.8
Summary: Patcherly detects bugs in real time in your app.  It creates a customized AI patch, and once you approve it, backs up your code, fixes it & tests the patch for you. If anything is off, it rolls back the changes automatically, or you can always roll it back in a click. Website: https://patcherly.com · Docs: https://help.patcherly.com/connectors/python/
Author-email: Patcherly <support@patcherly.com>
License-Expression: MIT
Project-URL: Homepage, https://patcherly.com
Project-URL: Documentation, https://help.patcherly.com/connectors/python/
Project-URL: Repository, https://github.com/Patcherly-Official/patcherly-connector-packages
Project-URL: Issues, https://github.com/Patcherly-Official/patcherly-connector-packages/issues
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: httpx>=0.27
Requires-Dist: python-dotenv>=1.0
Dynamic: license-file

# Patcherly Python connector

Patcherly detects bugs in real time in your app. It creates a customized AI patch, and once you approve it, backs up your code, fixes it & tests the patch for you. If anything is off, it rolls back the changes automatically, or you can always roll it back in a click.

**[patcherly.com](https://patcherly.com)** · **[Python connector docs](https://help.patcherly.com/connectors/python/)** · [![PyPI](https://img.shields.io/pypi/v/patcherly-connector?style=flat-square)](https://pypi.org/project/patcherly-connector/)

## Recommended install

Use the [universal installer](https://help.patcherly.com/getting-started/installing-connector/) (one command, auto-pairs).

## Package install

```bash
pip install patcherly-connector
patcherly login
```

## Pairing

```bash
patcherly login
```

## Test ingest

After pairing, verify the pipeline without waiting for a real exception. In your [Patcherly dashboard](https://app.patcherly.com/targets), open **Targets → your target → Test Mode** (30-minute window per target), then run:

```bash
patcherly send-test
```

The sample is tagged `is_test_sample` — it does not affect metrics or notifications. See [Verify ingest with send-test](https://help.patcherly.com/connectors/python/#verify-ingest-end-to-end-with-patcherly-send-test) in the help center.

## Security

OAuth pairing and per-token **HMAC signing**; fix payloads verified before apply. See [Connectors overview](https://help.patcherly.com/connectors/overview/), [Prompt injection protection](https://help.patcherly.com/security/prompt-injection-protection.md), and [Custom sanitiser patterns](https://help.patcherly.com/security/custom-sanitizer-patterns.md). Python-specific detail: [Python connector — security](https://help.patcherly.com/connectors/python/#hmac-signing).

## Documentation

- [Python connector guide](https://help.patcherly.com/connectors/python/)
- [All connectors (releases & source)](https://github.com/Patcherly-Official/patcherly-connector-packages#readme)

## Support

- [Report a bug](https://github.com/Patcherly-Official/patcherly-connector-packages/issues)

## License

[MIT](LICENSE)
