Simple IPC server/client
Project description
ipcs
A library for Python for IPC.
WARNING This library is currently in alpha.
Installation
pip install ipcs
Examples
Run ipcs-server
and run following code.
Client A
# Client A
from ipcs import IpcsClient
client = IpcsClient("A")
@client.route()
async def hello():
print("Hello, World!")
client.run(uri="ws://localhost/", port=8080)
Client B
# Client B
from ipcs import IpcsClient
client = IpcsClient("B")
@client.listen()
async def on_ready():
await client.request("A", "hello")
client.run(uri="ws://localhost/", port=8080)
LICENSE
MIT License
Contributing
Do not break the style of the code.
Issues and PullRequests should be brief in content.
Documentation
Documentation is avaliable here.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ipcs-0.1.0a4.tar.gz
(12.9 kB
view hashes)
Built Distribution
ipcs-0.1.0a4-py3-none-any.whl
(15.7 kB
view hashes)