Skip to main content

An asynchronous networking framework written in Python

Reason this release was yanked:

incorrect sponsorship info

Project description

gitter rtd pypi ci

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

Sponsors

Slopped is an MIT-licensed open source project with its ongoing development made possible entirely by the support of community and these awesome sponsors. If you’d like to join them, please consider sponsoring Slopped’s development.

Thinkst Canary

SFTPPlus

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 Matrix 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.post0.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.post0-py3-none-any.whl (3.2 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: slopped-26.4.0.post0.tar.gz
  • Upload date:
  • Size: 3.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for slopped-26.4.0.post0.tar.gz
Algorithm Hash digest
SHA256 36c1bfdfa57812dd9eefda29ef844609fc825ecfc7d59abf4664e4b2a58a0f92
MD5 f48214e5fc5d1887b02ae74f00019d81
BLAKE2b-256 8e4af9a4869765e18ec71940c2e8962cdecc8aee038dd736bad6a167ed66f060

See more details on using hashes here.

File details

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

File metadata

  • Download URL: slopped-26.4.0.post0-py3-none-any.whl
  • Upload date:
  • Size: 3.2 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for slopped-26.4.0.post0-py3-none-any.whl
Algorithm Hash digest
SHA256 ddaab2ea87c56775f0082985348fc6f92d01e1eabc93e5a112ecba209c3df620
MD5 6a67141bdb95a6204a3f301f9212eeb7
BLAKE2b-256 5da910aa511b39541ded08ef18a7abeef9882431b2cde1d8d5d719a278feac2e

See more details on using hashes here.

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