netty
A simple python library for networking. Not extremely complex, but allows for simple game servers and chat rooms to be hosted.
Documentation
This example will show you how to make a simple chat room with netty.
First, import netty:
import netty
Then, choose a port and make a client and a server:
import netty
PORT = 3000
client = netty.connection.Client('', PORT) # args: IP ('' for local), and port.
server = netty.connection.Server(PORT) # args: port to run the server on.
Now, we have a client and a server, but they aren't doing anything when they get a message. To do this, we need to add a onReceive argument to the client and server.
MORE DOCUMENTATION COMING SOON
Metadata
Release files for netty 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| netty-0.1.tar.gz | 5.0 kB | Without provenance | Details for netty-0.1.tar.gz |
Release files / netty-0.1.tar.gz
| Download URL | netty-0.1.tar.gz |
|---|---|
| Size | 5.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0452193fc8e5200d792ca64ea31169fbeb7ee1bcec06b7593bdee2643e86af02
|
|
BLAKE2b-256 checksum How to use checksums |
d89a6f3afbee6c558911d509a2b2638070560ebdfea7b8202c32c82a8076515f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.3
|
Security for netty 0.1
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.