socks
Socks (socket server) is a simple server framework, built only using the standard python library. Its syntax is strongly inspired by the microframework flask.
Basic usage
from socks import Socks, Response
app = Socks()
@app.route(path:str, methods:list[str]=["GET"])
def function(req):
return Response(f"<h1>{req.method}</h1>", contentType="text/html")
For other things, look at the testserver.py file.
Metadata
Release files for socks-server 0.1.2
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 |
|---|---|---|---|---|
| socks-server-0.1.2.tar.gz | 9.8 kB | Without provenance | Details for socks-server-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| socks_server-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for socks_server-0.1.2-py3-none-any.whl |
Total release size: 20.6 kB
Release files / socks-server-0.1.2.tar.gz
| Download URL | socks-server-0.1.2.tar.gz |
|---|---|
| Size | 9.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
02e4e12379ce96dd385eeecb73af5845859a13599b5b026606be40010cf74d84
|
|
BLAKE2b-256 checksum How to use checksums |
34cf4c83845458a4d46ac2da0aa45c0f34af07eea2248400d0fbb1248d007e31
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.14 CPython/3.10.9 Linux/6.1.10-arch1-1
|
Release files / socks_server-0.1.2-py3-none-any.whl
| Download URL | socks_server-0.1.2-py3-none-any.whl |
|---|---|
| Size | 10.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a61d7cd3a4eedd219eeaa1f3365bc93e863fbcf7b650c0334418512608c1a524
|
|
BLAKE2b-256 checksum How to use checksums |
dd4f13f3b8f407073ebfaed7964ac67d44a77cb374c1ab1850a612a7a7ebdeef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.14 CPython/3.10.9 Linux/6.1.10-arch1-1
|
Security for socks-server 0.1.2
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.