{"id":13937069,"url":"https://github.com/smira/txZMQ","last_synced_at":"2025-07-19T22:33:53.744Z","repository":{"id":1440825,"uuid":"1670404","full_name":"smira/txZMQ","owner":"smira","description":"ZeroMQ bindings for Twisted","archived":false,"fork":false,"pushed_at":"2023-06-15T23:19:10.000Z","size":179,"stargazers_count":148,"open_issues_count":10,"forks_count":55,"subscribers_count":16,"default_branch":"master","last_synced_at":"2024-05-28T13:38:29.665Z","etag":null,"topics":["python","twisted","zeromq"],"latest_commit_sha":null,"homepage":"http://pypi.python.org/pypi/txZMQ/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/smira.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2011-04-27T12:04:16.000Z","updated_at":"2023-10-20T21:28:25.000Z","dependencies_parsed_at":"2023-07-06T07:28:39.627Z","dependency_job_id":null,"html_url":"https://github.com/smira/txZMQ","commit_stats":{"total_commits":183,"total_committers":25,"mean_commits":7.32,"dds":0.7704918032786885,"last_synced_commit":"ac1f6a6b3cb98bc872f5a0c050d2c7901149b29e"},"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smira%2FtxZMQ","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smira%2FtxZMQ/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smira%2FtxZMQ/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smira%2FtxZMQ/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/smira","download_url":"https://codeload.github.com/smira/txZMQ/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226693903,"owners_count":17667757,"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":["python","twisted","zeromq"],"created_at":"2024-08-07T23:03:14.812Z","updated_at":"2024-11-27T05:30:50.065Z","avatar_url":"https://github.com/smira.png","language":"Python","funding_links":[],"categories":["Networking","资源列表","Python","Concurrency and Networking","Awesome Python"],"sub_categories":["网络","Networking"],"readme":"Twisted bindings for 0MQ\n========================\n\n.. image:: https://coveralls.io/repos/smira/txZMQ/badge.png\n    :target: https://coveralls.io/r/smira/txZMQ\n\n.. image:: https://badge.fury.io/py/txZMQ.svg\n    :target: https://badge.fury.io/py/txZMQ\n\nIntroduction\n------------\n\ntxZMQ allows to integrate easily `ØMQ \u003chttp://zeromq.org\u003e`_ sockets into\nTwisted event loop (reactor).\n\ntxZMQ supports both CPython and PyPy and ØMQ library version 2.2.x or 3.2.x.\n\nDocumentation is available at `ReadTheDocs \u003chttp://txzmq.readthedocs.org\u003e`_.\n\n\nRequirements\n------------\n\nC library required:\n\n* ØMQ library 2.2.x or 3.2.x\n\nPython packages required:\n\n* pyzmq \u003e= 13 (for CPython \u0026 PyPy)\n* Twisted\n\n\nDetails\n-------\n\ntxZMQ introduces support for general 0MQ sockets by class ``ZmqConnection``\nthat can do basic event loop integration, sending-receiving messages in\nnon-blocking manner, scatter-gather for multipart messages.\n\ntxZMQ uses ØMQ APIs to get file descriptor that is used to signal pending\nactions from ØMQ library IO thread running in separate thread. This is used in\na custom file descriptor reader, which is then added to the Twisted reactor.\n\n\nUpgrading from 0.3.x\n--------------------\n\nIf you're upgrading from version 0.3.1 and earlier, please apply following\nchanges to your code:\n\n* root package name was changed from ``txZMQ`` to ``txzmq``, adjust your\n  imports accordingly;\n* ``ZmqEndpointType.Connect`` has been renamed to ``ZmqEndpointType.connect``;\n* ``ZmqEndpointType.Bind`` has been renamed to ``ZmqEndpointType.bind``;\n* ``ZmqConnection.__init__`` has been changed to accept keyword arguments\n  instead of list of endpoints; if you were using one endpoint, no changes\n  are required; if using multiple endpoints, please look for ``add_endpoints``\n  method.\n\nHacking\n-------\n\nSource code for txZMQ is available at `github \u003chttps://github.com/smira/txZMQ\u003e`_;\nforks and pull requests are welcome.\n\nTo start hacking, fork at github and clone to your working directory. To use\nthe Makefile (for running unit tests, checking for PEP8 compliance and running\npyflakes), you will want to have ``virtualenv`` installed (it includes a\n``pip`` installation).\n\nCreate a branch, add some unit tests, write your code, check it and test it!\nSome useful make targets are:\n\n* ``make env``\n* ``make check``\n* ``make test``\n\nIf you don't have an environment set up, a new one will be created for you in\n``./env``. Additionally, txZMQ will be installed as well as required\ndevelopment libs.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmira%2FtxZMQ","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsmira%2FtxZMQ","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmira%2FtxZMQ/lists"}