Metadata-Version: 2.1
Name: funfetch
Version: 0.0.1
Summary: Remote execution of a simple function on the server
Home-page: https://github.com/decave27/funfetch
Author: decave27
Author-email: decave27@gmail.com
License: MIT
Project-URL: Source, https://github.com/decave27/funfetch
Project-URL: Tracker, https://github.com/decave27/funfetch/issues
Keywords: aiohttp,ipc,request,fetch
Platform: UNKNOWN
Classifier: Environment :: Console
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: Implementation
Classifier: Programming Language :: Python :: Implementation :: CPython
Requires-Python: >=3.7
Description-Content-Type: text/markdown
Requires-Dist: aiohttp
Requires-Dist: astunparse

# FunFetch
![PyPI](https://img.shields.io/pypi/v/funfetch?logo=pypi)
![PyPI - License](https://img.shields.io/pypi/l/funfetch)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)

Remote execution of a simple function on the server

All types of Python support objects.

## Installation

```bash
pip install funfetch
```
## Examples

Server
```py
from funfetch import Server

server = Server()

@server.use()
async def test(game: str, test):
    return f"play {game}! just {test}"

server.run()
```
Client
```py
from funfetch import Client
import asyncio

client = Client()

async def req():
    print(await client.test(game="testuser", test="test"))

asyncio.run(req())
```


