Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

shadowsocks-sdk

the sdk canhelp you to manage your shadowsocks sever

Usage

  • sdk usage

  • cli usage

pip install shadowsocks-sdk

SDK Usage

ss = ShadowsocksSDK('127.0.0.1', 6001)
print(ss.ping())
ss.add_user('9000', 'password')
ss.remove_user('9000')

CLI Usage

usage: sscli [-h] [-v] {ping,add,remove} ...

positional arguments:
  {ping,add,remove}
    ping             ping shadowsocks server.
    add              add new user to shadowsocks server.
    remove           remove a user from shadowsocks server.

optional arguments:
  -h, --help         show sscli usage and message.
  -v, --version      show shadowsocks sdk version.

ping usage

usage: sscli ping [-h] --host HOST --port PORT

optional arguments:
  -h, --help   show this help message and exit
  --host HOST  shadowsocks server manager bind host, default 127.0.0.1.
  --port PORT  shadowsocks server manager bind port, default 6001.

add usage

usage: sscli add [-h] --host HOST --port PORT --server_port SERVER_PORT
                 --password PASSWORD

optional arguments:
  -h, --help            show this help message and exit
  --host HOST           shadowsocks server manager bind host, default
                        127.0.0.1.
  --port PORT           shadowsocks server manager bind port, default 6001.
  --server_port SERVER_PORT
                        new server_port for new user, default 9000.
  --password PASSWORD   new password for new user, default password.

remove usage

usage: sscli remove [-h] --host HOST --port PORT --server_port SERVER_PORT

optional arguments:
  -h, --help            show this help message and exit
  --host HOST           shadowsocks server manager bind host, default
                        127.0.0.1.
  --port PORT           shadowsocks server manager bind port, default 6001.
  --server_port SERVER_PORT
                        new server_port for new user, default 9000.

LICENSE

MIT

Metadata

Release files for shadowsocks-sdk 0.1.0.dev0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for shadowsocks-sdk 0.1.0.dev0
File Size Uploaded
shadowsocks-sdk-0.1.0.dev0.tar.gz 3.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for shadowsocks-sdk 0.1.0.dev0
File Interpreter ABI Platform
shadowsocks_sdk-0.1.0.dev0-py2-none-any.whl Python 2 none any Details

Total release size: 8.9 kB

Release files / shadowsocks-sdk-0.1.0.dev0.tar.gz

Download URL shadowsocks-sdk-0.1.0.dev0.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
0841a8082bc0f609ed03ba78ce2d25a1e64991d4bb9938a19a1f7c8a43d9cdfc
BLAKE2b-256 checksum
How to use checksums
ba9de82cecffc5fec55cbe4cce308312df6d3ac8ae58cfbf17367a548ef05bd6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / shadowsocks_sdk-0.1.0.dev0-py2-none-any.whl

Download URL shadowsocks_sdk-0.1.0.dev0-py2-none-any.whl
Size 5.6 kB
Tags Python 2
SHA-256 checksum
How to use checksums
42747cfdd0489a2af8a6afc0c33c6a3ff93425afd5f1ebbd35f9bff3c4485018
BLAKE2b-256 checksum
How to use checksums
caad68f33633161d9e816c90c97108b14743ddde589dee5b68a88cce056b5f63
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.0.dev0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page