New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

shadowsocks-sdk

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

shadowsocks-sdk

shadowsocks sdk and cli

  • 0.1.0.dev0
  • PyPI
  • Socket score

Maintainers
1

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

Keywords

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