Skip to main content

PyPI PyPI - Python Version PyPI - License Documentation Status

ipcs

A library for Python for IPC.
(Although it is written as IPC, it can also be used for communication with an external server.)

⚠️ Maintenance Status

This project is currently in maintenance mode. I do not intend to add new features or perform non-critical updates. Security-related issues will be addressed as needed.

Installation

$ pip install ipcs

Examples

Run ipcs-server and run following code.

Client A

# Client A

from ipcs import Client, Request

client = Client("a")

@client.route()
async def hello(request: Request, word: str):
    print("Hello, %s!" % word)

client.run("ws://localhost/", port=8080)

Client B

# Client B

from ipcs import Client

client = Client("b")

@client.listen()
async def on_ready():
    # Run client a's hello str to say greetings to world.
    await client.request("a", "hello", "World")
    # or `await client.connections.a.request("hello", "World")`

client.run("ws://localhost/", port=8080)

License

The license is MIT and details can be found here.

Documentation

Documentation is avaliable here.

Metadata

Release files for ipcs 0.2.2

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

Source distribution (sdist)

Source distribution for ipcs 0.2.2
File Size Uploaded
ipcs-0.2.2.tar.gz 14.1 kB Details

Built distribution (wheel)

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

Total release size: 29.6 kB

Release files / ipcs-0.2.2.tar.gz

Download URL ipcs-0.2.2.tar.gz
Size 14.1 kB
Tags Source
SHA-256 checksum
How to use checksums
1b6812dd601a1644691be35047924a4f4f238b2b419c3d72189d119b753ada92
BLAKE2b-256 checksum
How to use checksums
d2bf668cd21fd44587c0edcd1d4ac7e2f6cc3807a930c4d3ff9f887b4617ad13
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.22 {"installer":{"name":"uv","version":"0.9.22","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / ipcs-0.2.2-py3-none-any.whl

Download URL ipcs-0.2.2-py3-none-any.whl
Size 15.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
af4d5101c8c426715b2eb7c93064fcdec4f31bda1b8e3781640f675601628505
BLAKE2b-256 checksum
How to use checksums
7838e3b13da77d46bff9fa1303fbad4cb187c39420dae2c6a4ddaf049f8c6f7b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.22 {"installer":{"name":"uv","version":"0.9.22","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
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