Skip to main content

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

Metadata

Release files for socket-cli 0.1.7

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

Built distribution (wheel)

Table of built distributions (wheels) for socket-cli 0.1.7
File Interpreter ABI Platform Actions
socket_cli-0.1.7-py2.py3-none-any.whl Python 2, Python 3 none any Details for socket_cli-0.1.7-py2.py3-none-any.whl

Release files / socket_cli-0.1.7-py2.py3-none-any.whl

Download URL socket_cli-0.1.7-py2.py3-none-any.whl
Size 26.4 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
4a2ae93aa6b4f740cb4bb313c3c971cef165f72a42010827c46fe1f475ce99a5
BLAKE2b-256 checksum
How to use checksums
86a51b8dae8e3003494ffb58bd3341f09a7e28e41286ad26d3346a2f34fdccfb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.3

Security for socket-cli 0.1.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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