Fast API Clients for Python


Keywords
python, api, http, client, json, framework, web, rest
License
MIT
Install
pip install neoclient==0.1.55

Documentation

neoclient

🚀 Fast API Clients for Python

Installation

pip install neoclient

Introduction

The simplest neoclient file might look like this:

from neoclient import get

@get("https://httpbin.org/ip")
def ip():
    ...
>>> ip()
{'origin': '1.2.3.4'}

However, it's almost always better to create a NeoClient instance:

from neoclient import NeoClient

client = NeoClient("https://httpbin.org/")

@client.get("/ip")
def ip():
    ...
>>> ip()
{'origin': '1.2.3.4'}