Async Outline manager sdk
Thanks for the reverse engineering and docs project: https://github.com/jadolg/outline-vpn-api Autor: @jadolg
Example:
from outline_sdk import Service
# Setup the access with the API URL (Use the one provided to you after the server setup)
service = Service(
url="https://127.0.0.1:51083/xlUG4F5BBft4rSrIvDSWuw/", # <--- `/` is required
cert_sha256="4EFF7BB90BCE5D4A172D338DC91B5B9975E197E39E3FA4FC42353763C4E58765"
)
# Get all access URLs on the server
for key in await service.get_keys():
print(key)
# Create a new key
new_key = await service.create_key()
# Rename it
await service.rename_key(new_key.id, "new_key")
# Delete it
await service.delete_key(new_key.id)
# Set a monthly data limit for a key (20MB)
await service.set_data_limit(new_key.id, 1000 * 1000 * 20)
# Remove the data limit
await service.delete_data_limit(new_key.id)
Metadata
Release files for outline-sdk 0.2.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 | Actions |
|---|---|---|---|---|
| outline_sdk-0.2.0.tar.gz | 3.6 kB | Without provenance | Details for outline_sdk-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| outline_sdk-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for outline_sdk-0.2.0-py3-none-any.whl |
Total release size: 7.8 kB
Release files / outline_sdk-0.2.0.tar.gz
| Download URL | outline_sdk-0.2.0.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
07a70e67f0ba6218f3dc964008a6f681f55d54947ccf9918efb5489e7d7b07a8
|
|
BLAKE2b-256 checksum How to use checksums |
7ed76090e9888aaff717f9977887c8bac5767172fac89df2dc6cac7c71acf785
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.3.1 CPython/3.11.1 Darwin/22.6.0
|
Release files / outline_sdk-0.2.0-py3-none-any.whl
| Download URL | outline_sdk-0.2.0-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9b4f46d64fe207b804edcc9395b89aaded6486ab06ff63c1b22e48b0b7fd089f
|
|
BLAKE2b-256 checksum How to use checksums |
2b20cb830828e965d42602a06b188c9851bb64b30fbeb9112d578809cf4aecc4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.3.1 CPython/3.11.1 Darwin/22.6.0
|
Security for outline-sdk 0.2.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.