Skip to main content

An asynchronous i/o library.

Features

  • Asynchronous i/o loop to run socket servers.

  • Telnet interface to control the loop, print the stats, etc.

Usage

The following code sample creates a simple protocol that just sends back the message it receives and then starts a server that will use the protocol:

class Talkback(FixedLengthMessage):
        def messageReceived(self, message):
                self.sendMessage(message)

config = Config()
config.add_service('', 8080, Factory.forProtocol(Talkback))

server = MainLoop(config)
server.start()

Download

Metadata

Release files for mayloop 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mayloop 1.0.0
File Size Uploaded Provenance Actions
mayloop-1.0.0.tar.gz 31.7 kB Without provenance Details for mayloop-1.0.0.tar.gz

Release files / mayloop-1.0.0.tar.gz

Download URL mayloop-1.0.0.tar.gz
Size 31.7 kB
Tags Source
SHA-256 checksum
How to use checksums
a1eaa3756a274c9723c9a43b14c49eebb116253f67bf9f71e616af70d16e4f8e
BLAKE2b-256 checksum
How to use checksums
0175588d963d8ddb6d86762a227e354ddc4b5b7d9d4f86061016b41c95fa87ab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for mayloop 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page