NetSplit
Split a single tcp/ip connection between multiple servers.
Wait isn't this just NAT....
Usage
py netsplit.py config.json
Config
{
"http": { // Special route that forwards web browsers
"host": "127.0.0.1",
"port": 8000
},
"0": { // Server ID (SID), this is what you will put in s.connect(<addr>, <sid>)
"host": "127.0.0.1",
"port": 5000
}
... // You can have as many as you want
}
Client usage
import netSplit
s = netSplit.socket() # Create socket
s.connect(('127.0.0.1', 8080), 0) # Connect to the proxy, and ask it to forward us to server 0
# Simple echo client
while True:
s.send(input('> ').encode())
print(s.recv(2048).decode())
Server usage
The server does not have to be built with netSplit.
Metadata
Release files for PyNetSplit 3.10.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pynetsplit-3.10.0.tar.gz | 9.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pynetsplit-3.10.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 18.6 kB
Release files / pynetsplit-3.10.0.tar.gz
| Download URL | pynetsplit-3.10.0.tar.gz |
|---|---|
| Size | 9.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
29e805ecccdebcee672d8b47a2632d0bdf8426d079b52f668121529870db2807
|
|
BLAKE2b-256 checksum How to use checksums |
99f35f0ac561b505f5c113cf09b5ab1d5bb4b9869b8ae0a6170136bd4102c523
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 23, 2025.
Transparency logRelease files / pynetsplit-3.10.0-py3-none-any.whl
| Download URL | pynetsplit-3.10.0-py3-none-any.whl |
|---|---|
| Size | 8.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1c89db142a0c28e17cf2eb4ba7b00ddbac4b29f33765073a99df50fa9d2a0b79
|
|
BLAKE2b-256 checksum How to use checksums |
67d4fb66030b626f6fbca22b332e483ae7708cbdb007c968f20fdb21c43fd169
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 23, 2025.
Transparency log