Skip to content

kn-sock is a lightweight and powerful socket programming toolkit for Python that makes networking simpler and more Pythonic.

License

Notifications You must be signed in to change notification settings

rhythm99e/kn-sock

 
 

Repository files navigation

kn-sock

PyPI version PyPI - Downloads GitHub Stars Docs

A simplified socket programming toolkit for Python.


🚀 Features

  • 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

💡 Use Cases

  • 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

📦 Installation

pip install kn-sock

🔧 Quick Example

from kn_sock import send_tcp_message

send_tcp_message("localhost", 8080, "Hello, World!")

📚 Documentation

Full documentation is available at kn-sock Documentation.


🤝 Contributing

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 :)

🧾 License

This project is licensed under the MIT License.

About

kn-sock is a lightweight and powerful socket programming toolkit for Python that makes networking simpler and more Pythonic.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%