Remote execution of a simple function on the server
Project description
FunFetch
Remote execution of a simple function on the server
All types of Python support objects.
Installation
pip install funfetch
Examples
Server
from funfetch import Server
server = Server()
@server.use()
async def test(game: str, test):
return f"play {game}! just {test}"
server.run()
Client
from funfetch import Client
import asyncio
client = Client()
async def req():
print(await client.test(game="testuser", test="test"))
asyncio.run(req())
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
funfetch-0.0.1.tar.gz
(6.1 kB
view hashes)
Built Distributions
funfetch-0.0.1-py3.8.egg
(14.9 kB
view hashes)