NSSurge CLI
Command line Surge HTTP API Client
You can use it to get/set Surge rules / policies / proxy groups, get recent requests / events and much more.
This projects fully implements the Surge HTTP API spec.
Installation
pipx
This is the recommended installation method.
$ pipx install nssurge-cli
pip
$ pip install nssurge-cli
Usage
nssurge-cli --help
Screenshots
nssurge-cli cap
Develop
$ git clone https://github.com/tddschn/nssurge-cli.git
$ cd nssurge-cli
$ poetry install
See also
- nssurge-api: Python implementation of the Surge HTTP API spec client using
aiohttp, used by this project - Surge HTTP API spec
Metadata
Release files for nssurge-cli 3.1.1
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 | Actions |
|---|---|---|---|---|
| nssurge_cli-3.1.1.tar.gz | 375.0 kB | Without provenance | Details for nssurge_cli-3.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nssurge_cli-3.1.1-py3-none-any.whl | Python 3 | none | any | Details for nssurge_cli-3.1.1-py3-none-any.whl |
Total release size: 398.2 kB
Release files / nssurge_cli-3.1.1.tar.gz
| Download URL | nssurge_cli-3.1.1.tar.gz |
|---|---|
| Size | 375.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b0e291dfbf88b62fbe9cc8247fb9d2824b5fb4c6e2737ced904f013357fc8c22
|
|
BLAKE2b-256 checksum How to use checksums |
3529fefd49ec2906e48106b627d4705b39ccbf6178d84cdd35dd8ee157656451
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / nssurge_cli-3.1.1-py3-none-any.whl
| Download URL | nssurge_cli-3.1.1-py3-none-any.whl |
|---|---|
| Size | 23.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3ea5b701dcab7cdf50f189b48e409862cff6c7386e6b3ee7f6be6d125a2264ac
|
|
BLAKE2b-256 checksum How to use checksums |
64926bb151c154a23ccdee6ee0575f0b983110d8b0e509b74ecdaf8cb44ad59f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for nssurge-cli 3.1.1
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.