Skip to main content

Asyncio Kademlia RPC-server

Build Status

Kademlia protocol based RPC-server.

Example

import asyncio

loop = asyncio.get_event_loop()

udp = UDPServer()
udp.run("0.0.0.0", 12346, loop=loop)

app = KRPCServer(server=udp, loop=loop)

@app.callcack(arg_schema={"id": {"type": "integer", "required": True}})
def ping(addr, id):
    print(addr, id)
    return {"id": id}

if __name__ == '__main__':
    loop.run_forever()

Metadata

Release files for aio-krpc-server 0.0.7

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

Source distribution (sdist)

Source distribution for aio-krpc-server 0.0.7
File Size Uploaded Provenance
aio-krpc-server-0.0.7.tar.gz 3.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for aio-krpc-server 0.0.7
File Interpreter ABI Platform
aio_krpc_server-0.0.7-py3-none-any.whl Python 3 none any Details

Total release size: 21.0 kB

Release files / aio-krpc-server-0.0.7.tar.gz

Download URL aio-krpc-server-0.0.7.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
eb37eccfe3ddf1e62bae9cf805f24fa7eff2cf46c2910db66ee6a1dacf718945
BLAKE2b-256 checksum
How to use checksums
d6b1124a84b9396c44aa3960260df954c7adb6e983e780745fc17a3e169d223d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.1

Release files / aio_krpc_server-0.0.7-py3-none-any.whl

Download URL aio_krpc_server-0.0.7-py3-none-any.whl
Size 17.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
30318945af85a4bc189e85720ec2cd7074c99be8bdfe5742c62e821a02bda41b
BLAKE2b-256 checksum
How to use checksums
e98e2a640dc1a02c59d7f6c9cbb7c9a469ff4b76d5d22a9867385d29686f6140
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.1

Security for aio-krpc-server 0.0.7

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.

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