Typed mini-SDK for the PIA `piactl` CLI with env settings, strategy connect, async monitor, and proxy adapters.
Project description
pypia_ctl
Typed wrapper around the Private Internet Access CLI (piactl) with:
- strict subprocess runner + typed exceptions
- status getters & strategy connect (preferred → random → default)
- async monitor (
piactl monitor) - Pydantic v2 settings via
.env/ env vars - proxy adapters (Playwright, httpx, Selenium)
.envtools (create/merge)- plugin hooks
Install (PDM or pip)
# PDM
pdm install -G docs -G dev -G sphinx
# pip
pip install pydantic pydantic-settings mkdocs mkdocs-material mkdocstrings[python] ruff mypy pytest sphinx furo myst-parser
Docs (MkDocs + Material)
pdm run mkdocs serve # or: mkdocs serve
Sphinx (optional)
pip install sphinx furo myst-parser
(cd sphinx-docs && make html)
open sphinx-docs/_build/html/index.html
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pia_ctl_sdk-0.1.2.tar.gz
(22.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pia_ctl_sdk-0.1.2.tar.gz.
File metadata
- Download URL: pia_ctl_sdk-0.1.2.tar.gz
- Upload date:
- Size: 22.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.22
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
933045fea74f946448d81f3fa50fc3634bce684a2a151500a05749c6cafc3ac3
|
|
| MD5 |
bef736358501ab09ed9cd6ca292238f0
|
|
| BLAKE2b-256 |
617ccae19d0a6f08650dc664092bc92c51fc684eb4050b4e6549dc76d8368f22
|
File details
Details for the file pia_ctl_sdk-0.1.2-py3-none-any.whl.
File metadata
- Download URL: pia_ctl_sdk-0.1.2-py3-none-any.whl
- Upload date:
- Size: 21.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.22
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9b5e3fe1303cb407418f8ccc654f9b0a77f76f38bf50f07159b54edaf5c64cb4
|
|
| MD5 |
c14105378474dcb1124a814de136679c
|
|
| BLAKE2b-256 |
c1b0bda9c9678c5cdba3d41ed67df186521f53b46fa5d44d4b49b572e831f83e
|