{"id":13460158,"url":"https://github.com/twisted/twisted","last_synced_at":"2025-05-13T10:53:45.369Z","repository":{"id":38240417,"uuid":"1985358","full_name":"twisted/twisted","owner":"twisted","description":"Event-driven networking engine written in Python.","archived":false,"fork":false,"pushed_at":"2025-05-02T08:34:25.000Z","size":76635,"stargazers_count":5768,"open_issues_count":2773,"forks_count":1192,"subscribers_count":176,"default_branch":"trunk","last_synced_at":"2025-05-05T20:32:25.883Z","etag":null,"topics":["async","async-python","dns","event-driven","http","imap","irc","network","python","smtp","ssl","tls","twisted","xmpp"],"latest_commit_sha":null,"homepage":"https://twisted.org","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/twisted.png","metadata":{"files":{"readme":"README.rst","changelog":"NEWS.rst","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"code_of_conduct.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2011-07-01T20:40:42.000Z","updated_at":"2025-05-04T23:45:07.000Z","dependencies_parsed_at":"2023-10-16T19:31:51.594Z","dependency_job_id":"d70a1691-9725-4726-b7d2-f0af189c2fba","html_url":"https://github.com/twisted/twisted","commit_stats":{"total_commits":27125,"total_committers":279,"mean_commits":97.22222222222223,"dds":0.8599815668202765,"last_synced_commit":"30a679ab6aa4fa3985f51a5ec069fafff9d7672b"},"previous_names":[],"tags_count":88,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twisted%2Ftwisted","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twisted%2Ftwisted/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twisted%2Ftwisted/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twisted%2Ftwisted/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/twisted","download_url":"https://codeload.github.com/twisted/twisted/tar.gz/refs/heads/trunk","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253929307,"owners_count":21985799,"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":["async","async-python","dns","event-driven","http","imap","irc","network","python","smtp","ssl","tls","twisted","xmpp"],"created_at":"2024-07-31T10:00:36.593Z","updated_at":"2025-05-13T10:53:45.348Z","avatar_url":"https://github.com/twisted.png","language":"Python","readme":"Twisted\n#######\n\n|gitter|_\n|rtd|_\n|pypi|_\n|ci|_\n\nFor information on changes in this release, see the `NEWS \u003cNEWS.rst\u003e`_ file.\n\n\nSponsors\n--------\n\nTwisted is an MIT-licensed open source project with its ongoing development made possible entirely by the support of community and these awesome sponsors.\nIf you'd like to join them, please consider `sponsoring Twisted's \u003chttps://docs.twisted.org/en/latest/development/sponsorship.html\u003e`_ development.\n\n|thinkst|_\n\n|sftpplus|_\n\n\nWhat is this?\n-------------\n\nTwisted is a Python event-based framework for internet applications.\nIt includes modules for many different purposes, including the following:\n\n- ``twisted.web``: HTTP clients and servers, HTML templating, and a WSGI server\n- ``twisted.conch``: SSHv2 and Telnet clients and servers and terminal emulators\n- ``twisted.words``: Clients and servers for IRC, XMPP, and other IM protocols\n- ``twisted.mail``: IMAPv4, POP3, SMTP clients and servers\n- ``twisted.positioning``: Tools for communicating with NMEA-compatible GPS receivers\n- ``twisted.names``: DNS client and tools for making your own DNS servers\n- ``twisted.trial``: A unit testing framework that integrates well with Twisted-based code.\n\nTwisted supports all major system event loops -- ``select`` (all platforms), ``poll`` (most POSIX platforms), ``epoll`` (Linux), ``kqueue`` (FreeBSD, macOS), IOCP (Windows), and various GUI event loops (GTK+2/3, Qt, wxWidgets).\nThird-party reactors can plug into Twisted, and provide support for additional event loops.\n\n\nInstalling\n----------\n\nTo install the latest version of Twisted using pip::\n\n  $ pip install twisted\n\nAdditional instructions for installing this software are in `the installation instructions \u003chttps://docs.twisted.org/en/latest/installation.html\u003e`_.\n\n\nDocumentation and Support\n-------------------------\n\nTwisted's documentation is available from the `Twisted Matrix Read The Docs website \u003chttps://docs.twisted.org/\u003e`_.\nThis documentation contains how-tos, code examples, and an API reference.\n\nHelp is also available on the `Twisted mailing list \u003chttps://mail.python.org/mailman3/lists/twisted.python.org/\u003e`_.\n\nThere is also an IRC channel, ``#twisted``,\non the `Libera.Chat \u003chttps://libera.chat/\u003e`_ network.\nA web client is available at `web.libera.chat \u003chttps://web.libera.chat/\u003e`_.\n\n\nUnit Tests\n----------\n\nTwisted has a comprehensive test suite, which can be run by ``tox``::\n\n  $ tox -l                       # to view all test environments\n  $ tox -e nocov                 # to run all the tests without coverage\n  $ tox -e withcov               # to run all the tests with coverage\n  $ tox -e alldeps-withcov-posix # install all dependencies, run tests with coverage on POSIX platform\n\n\nYou can test running the test suite under the different reactors with the ``TWISTED_REACTOR`` environment variable::\n\n  $ env TWISTED_REACTOR=epoll tox -e alldeps-withcov-posix\n\nSome of these tests may fail if you:\n\n* don't have the dependencies required for a particular subsystem installed,\n* have a firewall blocking some ports (or things like Multicast, which Linux NAT has shown itself to do), or\n* run them as root.\n\n\nStatic Code Checkers\n--------------------\n\nYou can ensure that code complies to Twisted `coding standards \u003chttps://docs.twisted.org/en/latest/development/coding-standard.html\u003e`_::\n\n  $ tox -e lint   # run pre-commit to check coding stanards\n  $ tox -e mypy   # run MyPy static type checker to check for type errors\n\nOr, for speed, use pre-commit directly::\n\n  $ pipx run pre-commit run\n\n\nCopyright\n---------\n\nAll of the code in this distribution is Copyright (c) 2001-2024 Twisted Matrix Laboratories.\n\nTwisted is made available under the MIT license.\nThe included `LICENSE \u003cLICENSE\u003e`_ file describes this in detail.\n\n\nWarranty\n--------\n\n  THIS SOFTWARE IS PROVIDED \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER\n  EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\n  OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS\n  TO THE USE OF THIS SOFTWARE IS WITH YOU.\n\n  IN NO EVENT WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY\n  AND/OR REDISTRIBUTE THE LIBRARY, BE LIABLE TO YOU FOR ANY DAMAGES, EVEN IF\n  SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH\n  DAMAGES.\n\nAgain, see the included `LICENSE \u003cLICENSE\u003e`_ file for specific legal details.\n\n\n.. |pypi| image:: https://img.shields.io/pypi/v/twisted.svg\n.. _pypi: https://pypi.python.org/pypi/twisted\n\n.. |gitter| image:: https://img.shields.io/gitter/room/twisted/twisted.svg\n.. _gitter: https://gitter.im/twisted/twisted\n\n.. |ci| image:: https://github.com/twisted/twisted/actions/workflows/test.yaml/badge.svg\n.. _ci: https://github.com/twisted/twisted\n\n.. |rtd| image:: https://readthedocs.org/projects/twisted/badge/?version=latest\u0026style=flat\n.. _rtd: https://docs.twistedmatrix.com\n\n.. |thinkst| image:: https://github.com/user-attachments/assets/a5b52432-2d18-4d91-a3c9-772fb2e02781\n    :alt: Thinkst Canary\n.. _thinkst: https://thinkst.com/\n\n.. |sftpplus| image:: https://github.com/user-attachments/assets/5f585316-c7e8-4ef1-8fbb-923f0756ceed\n    :alt: SFTPPlus\n.. _sftpplus: https://www.sftpplus.com/\n","funding_links":[],"categories":["Asynchronous Programming","Python","语言资源库","异步编程","Others","📚 فهرست"],"sub_categories":["Design Patterns","python","شبکه"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftwisted%2Ftwisted","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftwisted%2Ftwisted","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftwisted%2Ftwisted/lists"}