Skip to main content

Soc - A Python websocket micro-framework

Work in progress

from soc import Soc, jsonify


def create_app() -> Soc:

    app: Soc = Soc()

    @app.route("/foo")
    def foo(request):
        return jsonify({"hello": "world"})

    return app


if __name__ == "__main__":
    app: Soc = create_app()
    app.run(host="localhost", port=8765)

Metadata

Release files for soc 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for soc 0.0.1
File Size Uploaded Provenance
soc-0.0.1.tar.gz 3.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for soc 0.0.1
File Interpreter ABI Platform
soc-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 9.0 kB

Release files / soc-0.0.1.tar.gz

Download URL soc-0.0.1.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
bef6d6f3de5573222a0c86baedda9b1e9ac4db5c1d5dd4eb09a5205efadc14e5
BLAKE2b-256 checksum
How to use checksums
b050f53628546a5bef9a38f9ba682f37a73887eb2376acdade8a41cfc8011a42
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

Release files / soc-0.0.1-py3-none-any.whl

Download URL soc-0.0.1-py3-none-any.whl
Size 5.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b7c56f36f38cbb93866a17d0ce84e1c6e792694e528266800071de7fa46b3811
BLAKE2b-256 checksum
How to use checksums
f7afb844ec5503de27356d6ee501eb01ec73b9ecf31e9a59adc5b011d5501a61
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

Security for soc 0.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.

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page