A simplified socket programming toolkit for Python.
- TCP/UDP Messaging (sync and async)
- JSON over sockets
- File transfer over TCP
- Threaded server support
- CLI for quick socket actions
- Decorators and utility functions
- Build custom TCP/UDP servers quickly
- Transfer files between machines
- Send structured (JSON) data across a network
- Create automated socket tests
- Use CLI for local or remote debugging
pip install kn-sockfrom kn_sock import send_tcp_message
send_tcp_message("localhost", 8080, "Hello, World!")Full documentation is available at kn-sock Documentation.
Have ideas or found bugs? Open an issue or submit a pull request!
If you're new:
- See the contributing guide
- Or just start with a ⭐ star :)
This project is licensed under the MIT License.