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 details)
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
funfetch-0.0.1-py3.8.egg
(14.9 kB
view details)
File details
Details for the file funfetch-0.0.1.tar.gz.
File metadata
- Download URL: funfetch-0.0.1.tar.gz
- Upload date:
- Size: 6.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
61d2475e5c5261601215d5460784daac86a1c68445f95ca55a18a93e77caecbd
|
|
| MD5 |
ba289bbc418571c15e6259a73a0c2757
|
|
| BLAKE2b-256 |
c4a761f917d750749909a6317dccd43a28c0ac1dc1df100f691ab645c889b6cf
|
File details
Details for the file funfetch-0.0.1-py3.8.egg.
File metadata
- Download URL: funfetch-0.0.1-py3.8.egg
- Upload date:
- Size: 14.9 kB
- Tags: Egg
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ef1ddaf70f94fcda420bc24d5e743ce148c715ce8702f2884301c2ce10ae989b
|
|
| MD5 |
2e146fc7218a554d79596ee599e098e9
|
|
| BLAKE2b-256 |
f0620179edbc6812281e3fbc0ce3cf2e27fe531d867751a6b406ae8e7d973973
|
File details
Details for the file funfetch-0.0.1-py3-none-any.whl.
File metadata
- Download URL: funfetch-0.0.1-py3-none-any.whl
- Upload date:
- Size: 7.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
13a55445b8322f37e5d9b3cb603d7bf02eb0be9f5925280894a7a166fe257887
|
|
| MD5 |
30a614b04720cf80c716bc488c98faf5
|
|
| BLAKE2b-256 |
4b8a52ed5377a1a15404407bc8a1c164c9611296ed4484b603bd18999ec1aa29
|