Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

outline-sdk

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

outline-sdk

Async Python SDK wrapper for Outline Manager VPN

  • 0.2.0
  • PyPI
  • Socket score

Maintainers
1

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)

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc