{"id":28559092,"url":"https://github.com/toastdriven/sockless","last_synced_at":"2025-06-10T08:36:10.946Z","repository":{"id":29879548,"uuid":"33424875","full_name":"toastdriven/sockless","owner":"toastdriven","description":"A friendlier interface to `socket`.","archived":false,"fork":false,"pushed_at":"2015-04-11T21:34:03.000Z","size":128,"stargazers_count":14,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-07T16:54:58.139Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/toastdriven.png","metadata":{"files":{"readme":"README.rst","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}},"created_at":"2015-04-05T00:12:45.000Z","updated_at":"2023-11-09T17:46:53.000Z","dependencies_parsed_at":"2022-07-24T16:32:07.434Z","dependency_job_id":null,"html_url":"https://github.com/toastdriven/sockless","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toastdriven%2Fsockless","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toastdriven%2Fsockless/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toastdriven%2Fsockless/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toastdriven%2Fsockless/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/toastdriven","download_url":"https://codeload.github.com/toastdriven/sockless/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toastdriven%2Fsockless/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259039611,"owners_count":22796874,"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","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":[],"created_at":"2025-06-10T08:36:03.072Z","updated_at":"2025-06-10T08:36:10.926Z","avatar_url":"https://github.com/toastdriven.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"sockless\n========\n\nA friendlier interface to `socket`.\n\nEmulates file-like objects.\n\n.. code:: python\n\n    import sockless\n\n\n    with sockless.open('irc.freenode.net:6665', mode='rw') as sock:\n        # Writing.\n        sock.write('NICK atestbot\\r\\n')\n        sock.write('USER atestbot bot@aserver.com unused :atestbot\\r\\n')\n        sock.write('JOIN #testbot\\r\\n')\n\n        # Reading lines from a socket.\n        for line in sock:\n            if not line:\n                break\n\n            if 'End of /NAMES list' in line:\n                print \"Successfully connected \u0026 joined. Quitting.\"\n                break\n\n            print line.strip()\n\n\nTODO\n----\n\n* Tests\n* Docs\n* Python 3 support\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoastdriven%2Fsockless","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftoastdriven%2Fsockless","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoastdriven%2Fsockless/lists"}