pkiwatch-py
pkiwatch-py is a production-ready Python library and CLI for TLS/PKI certificate expiry monitoring, certificate inventory, and basic compliance reporting for enterprise endpoints.
Install
pip install pkiwatch-py
CLI
pkiwatch scan google.com
pkiwatch scan google.com --output json
printf "google.com\nexample.com:443\n" > targets.txt
pkiwatch batch targets.txt --output-file cert-report.json
Python API
from pkiwatch import scan_tls_certificate
report = scan_tls_certificate("google.com", warning_days=45)
print(report.days_remaining, report.issuer)
Development
python -m venv .venv
source .venv/bin/activate
pip install -e ".[dev]"
pytest
ruff check src tests
python -m build
python -m twine check dist/*
Publish
Create a PyPI API token, then:
python -m twine upload dist/*
Use __token__ as username and the token as password.
License
MIT
Author: Raghava Chellu
MIT License is freely usable for academic, personal, and commercial projects.
Metadata
Release files for pkiwatch-py 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| pkiwatch_py-0.1.0.tar.gz | 4.2 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pkiwatch_py-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.0 kB
Release files / pkiwatch_py-0.1.0.tar.gz
| Download URL | pkiwatch_py-0.1.0.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ee8f6072605a1e5e8665d3dc7cbc33cc7abf04c3412a37404b3d39c67c0f48b7
|
|
BLAKE2b-256 checksum How to use checksums |
6c9815bcd947f5426f4eb424e93aebc17b88c523714f18a89dfb7fbff0eff925
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.6
|
Release files / pkiwatch_py-0.1.0-py3-none-any.whl
| Download URL | pkiwatch_py-0.1.0-py3-none-any.whl |
|---|---|
| Size | 5.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fee47b6c7b0ddfb8de199c7d0741ebeac6bf9190e41641734383b5bacf5a076b
|
|
BLAKE2b-256 checksum How to use checksums |
29267e732e9b8bf1e4aaafed349f745e85fe7f4558ba733f7d00be7dab45f079
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.6
|
Security for pkiwatch-py 0.1.0
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.