Skip to main content

AfterLink Python SDK

Python Client and Server SDK for the binary AfterLink protocol.

Installation

pip install afterlink

Usage

Server

import asyncio
from afterlink import Server

server = Server(port=4000)

@server.on("users/get")
async def get_user(req):
    return {"id": 1, "username": "ajay"}

asyncio.run(server.listen())

Client

import asyncio
from afterlink import Client

async def main():
    client = Client("tcp://localhost:4000")
    await client.connect()
    res = await client.request("users/get")
    print(res)
    await client.disconnect()

asyncio.run(main())

Metadata

Release files for afterlink 2.0.3

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

Source distribution (sdist)

Source distribution for afterlink 2.0.3
File Size Uploaded Provenance
afterlink-2.0.3.tar.gz 10.1 kB With provenance Details

Built distribution (wheel)

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

Total release size: 22.0 kB

Security for afterlink 2.0.3

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for afterlink-2.0.3.tar.gz

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 Oct 17, 2026.

Transparency log

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.

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