Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/7vlad7/python-outline
Simple and easy to use wrapper for the Outline VPN API.
https://github.com/7vlad7/python-outline
api outline outline-vpn python python-3 python3 shadowsocks wrapper
Last synced: about 1 month ago
JSON representation
Simple and easy to use wrapper for the Outline VPN API.
- Host: GitHub
- URL: https://github.com/7vlad7/python-outline
- Owner: 7vlad7
- License: mit
- Created: 2024-01-01T13:31:42.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-09-06T18:52:10.000Z (2 months ago)
- Last Synced: 2024-10-02T21:17:22.681Z (about 1 month ago)
- Topics: api, outline, outline-vpn, python, python-3, python3, shadowsocks, wrapper
- Language: Python
- Homepage: https://python-outline.readthedocs.io/
- Size: 27.3 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
###################################################
python-outline - Python wrapper for Outline VPN API
###################################################**python-outline** is a best python wrapper for `Outline API `_.
It is a simple and easy to use wrapper for the Outline API.
**********
How to use
**********.. code:: python
from outline.client import OutlineClient
client = OutlineClient(base_url="https://localhost:777/secretpath")
new_key = client.new()
new_key.rename("This is a new name")
# set a data limit of 1GB
new_key.change_data_limit(1000000000)
new_key.url("my key with 1GB limit")
# ss://[email protected]/?outline=1#my key with 1GB limit