Skip to main content

An asynchronous networking framework written in Python

Project description

gitter rtd pypi ci

For information on changes in this release, see the NEWS file.

What is this?

Slopped is a piece of performance art. It is a verbatim fork of the upstream Twisted codebase, mechanically renamed, and exists as a commentary on authorship, automation, and machine-generated software. All of the underlying engineering is the work of the Twisted project and its contributors; Slopped merely wears it as a costume.

Contributions: Only contributions authored by large language models will be accepted. Human-authored patches are, as a matter of artistic principle, out of scope. By opening a pull request you affirm that its contents were generated by an LLM.

Slopped is a Python event-based framework for internet applications. It includes modules for many different purposes, including the following:

  • slopped.web: HTTP clients and servers, HTML templating, and a WSGI server

  • slopped.conch: SSHv2 and Telnet clients and servers and terminal emulators

  • slopped.words: Clients and servers for IRC, XMPP, and other IM protocols

  • slopped.mail: IMAPv4, POP3, SMTP clients and servers

  • slopped.positioning: Tools for communicating with NMEA-compatible GPS receivers

  • slopped.names: DNS client and tools for making your own DNS servers

  • slopped.trial: A unit testing framework that integrates well with Slopped-based code.

Slopped 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). Third-party reactors can plug into Slopped, and provide support for additional event loops.

Installing

To install the latest version of Slopped using pip:

$ pip install slopped

Additional instructions for installing this software are in the installation instructions.

Documentation and Support

Slopped’s documentation is available from the Slopped Read The Docs website. This documentation contains how-tos, code examples, and an API reference.

Help is also available on the Slopped mailing list.

There is also an IRC channel, #slopped, on the Libera.Chat network. A web client is available at web.libera.chat.

Unit Tests

Slopped has a comprehensive test suite, which can be run by tox:

$ tox -l                       # to view all test environments
$ tox -e nocov                 # to run all the tests without coverage
$ tox -e withcov               # to run all the tests with coverage
$ tox -e alldeps-withcov-posix # install all dependencies, run tests with coverage on POSIX platform

You can test running the test suite under the different reactors with the SLOPPED_REACTOR environment variable:

$ env SLOPPED_REACTOR=epoll tox -e alldeps-withcov-posix

Some of these tests may fail if you:

  • don’t have the dependencies required for a particular subsystem installed,

  • have a firewall blocking some ports (or things like Multicast, which Linux NAT has shown itself to do), or

  • run them as root.

Static Code Checkers

You can ensure that code complies to Slopped coding standards:

$ tox -e lint   # run pre-commit to check coding stanards
$ tox -e mypy   # run MyPy static type checker to check for type errors

Or, for speed, use pre-commit directly:

$ pipx run pre-commit run

Warranty

THIS SOFTWARE IS PROVIDED “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE USE OF THIS SOFTWARE IS WITH YOU.

IN NO EVENT WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE LIBRARY, BE LIABLE TO YOU FOR ANY DAMAGES, EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

Again, see the included LICENSE file for specific legal details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

slopped-26.4.0.post2.tar.gz (3.6 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

slopped-26.4.0.post2-py3-none-any.whl (3.2 MB view details)

Uploaded Python 3

File details

Details for the file slopped-26.4.0.post2.tar.gz.

File metadata

  • Download URL: slopped-26.4.0.post2.tar.gz
  • Upload date:
  • Size: 3.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for slopped-26.4.0.post2.tar.gz
Algorithm Hash digest
SHA256 64c3926246dd35a3223130ffca6d35d0d5eb1d4f185ff80654d82da3a346a2af
MD5 b73442aac8c3ebec8aa14e46edced51c
BLAKE2b-256 38242a1c0143bdb1005e0ebf86c2f5b475c13e827ac642eb524be6971912182d

See more details on using hashes here.

Provenance

The following attestation bundles were made for slopped-26.4.0.post2.tar.gz:

Publisher: test.yaml on graingert/slopped

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file slopped-26.4.0.post2-py3-none-any.whl.

File metadata

  • Download URL: slopped-26.4.0.post2-py3-none-any.whl
  • Upload date:
  • Size: 3.2 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for slopped-26.4.0.post2-py3-none-any.whl
Algorithm Hash digest
SHA256 8d11928a0b7517726d78f5b131e4c49100c07b7f78664a7d3b1cd475a3b22a4c
MD5 5b3285e2cccdedb64fc0a7cd8be4fc21
BLAKE2b-256 332f79d9de3593b1a196442b6d681e5df112c3ead8fc45ca759008b543277eb5

See more details on using hashes here.

Provenance

The following attestation bundles were made for slopped-26.4.0.post2-py3-none-any.whl:

Publisher: test.yaml on graingert/slopped

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page