Socket
Socket
Sign inDemoInstall

socket-cli

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

socket-cli

CLI for SocketIO, WebSocket, Unix-Socket. With auto-completion and syntax highlighting.


Maintainers
1

Welcome to socket-cli 👋

PyPI - Downloads PyPI - Python Version PyPI

A command-line client for socket.io, websocket, unix-socket that has auto-completion and syntax highlighting.

✨ Demo

Just take a look

asciicast

🚀 Usage

install socket-cli via pip:

pip install socket-cli
Usage: socket-cli [OPTIONS] [PATH]

Options:
  -t, --type TEXT  [websocket, socketio, unix]
  --help           Show this message and exit.

when you connect a socket.io server.

> connect
> emit --event event_name --data '{"test": "data"}'
> on --event event_name
> on --event event_name --namespace /admin
> emit --event event_name --data '{"test": "data"}' --namespace /admin

or a websocket server

> connect
> send --data test
> recv 

or a unix socket server

> connect
> send --data test
> connect
> send --data 
> on --event event_name

🤝 Contributing

Contributions, issues and feature requests are welcome.
Feel free to check issues page and pull-request welcome.

TODO

  • connect socket.io server with headers
  • unit-testing, ci

Author

👤 gcaaa31928

Show your support

Give a ⭐️ if this project helped you!


This README was generated with ❤️ by readme-md-generator

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc