neoclient


Nameneoclient JSON
Version 0.1.55 PyPI version JSON
download
home_pagehttps://github.com/tombulled/neoclient
SummaryFast API Clients for Python
upload_time2023-08-20 13:08:11
maintainer
docs_urlNone
authorTom Bulled
requires_python>=3.8,<4.0
licenseMIT
keywords python api http client json framework web rest
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # neoclient
🚀 Fast API Clients for Python

## Installation
```console
pip install neoclient
```

## Introduction
The simplest `neoclient` file might look like this:
```python
from neoclient import get

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

However, it's almost always better to create a `NeoClient` instance:
```python
from neoclient import NeoClient

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

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

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/tombulled/neoclient",
    "name": "neoclient",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8,<4.0",
    "maintainer_email": "",
    "keywords": "python,api,http,client,json,framework,web,rest",
    "author": "Tom Bulled",
    "author_email": "26026015+tombulled@users.noreply.github.com",
    "download_url": "https://files.pythonhosted.org/packages/3f/95/50e210d40a26485343e7ca5a78b73d90b0bdf6e342ee26d4a761501e7b57/neoclient-0.1.55.tar.gz",
    "platform": null,
    "description": "# neoclient\n\ud83d\ude80 Fast API Clients for Python\n\n## Installation\n```console\npip install neoclient\n```\n\n## Introduction\nThe simplest `neoclient` file might look like this:\n```python\nfrom neoclient import get\n\n@get(\"https://httpbin.org/ip\")\ndef ip():\n    ...\n```\n```python\n>>> ip()\n{'origin': '1.2.3.4'}\n```\n\nHowever, it's almost always better to create a `NeoClient` instance:\n```python\nfrom neoclient import NeoClient\n\nclient = NeoClient(\"https://httpbin.org/\")\n\n@client.get(\"/ip\")\ndef ip():\n    ...\n```\n```python\n>>> ip()\n{'origin': '1.2.3.4'}\n```",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Fast API Clients for Python",
    "version": "0.1.55",
    "project_urls": {
        "Homepage": "https://github.com/tombulled/neoclient",
        "Repository": "https://github.com/tombulled/neoclient"
    },
    "split_keywords": [
        "python",
        "api",
        "http",
        "client",
        "json",
        "framework",
        "web",
        "rest"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5d7ec39ca572f110d5310304fdba8963ea17dd035b05cf8b7e36961880abf06c",
                "md5": "c224fc06ef24ea6b7b0032b746ad1bcc",
                "sha256": "82906a2413f2dbb05401109937ac85b44a4d26f482381502c13cd725be49030c"
            },
            "downloads": -1,
            "filename": "neoclient-0.1.55-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "c224fc06ef24ea6b7b0032b746ad1bcc",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8,<4.0",
            "size": 44231,
            "upload_time": "2023-08-20T13:08:09",
            "upload_time_iso_8601": "2023-08-20T13:08:09.526184Z",
            "url": "https://files.pythonhosted.org/packages/5d/7e/c39ca572f110d5310304fdba8963ea17dd035b05cf8b7e36961880abf06c/neoclient-0.1.55-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3f9550e210d40a26485343e7ca5a78b73d90b0bdf6e342ee26d4a761501e7b57",
                "md5": "491249c4525ce6740de3006f83e97ff6",
                "sha256": "f629c59d85bc8aae6f35a0bfa3358d8ae14a276a72b12d57bd49bc36ec1e663f"
            },
            "downloads": -1,
            "filename": "neoclient-0.1.55.tar.gz",
            "has_sig": false,
            "md5_digest": "491249c4525ce6740de3006f83e97ff6",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8,<4.0",
            "size": 31863,
            "upload_time": "2023-08-20T13:08:11",
            "upload_time_iso_8601": "2023-08-20T13:08:11.421658Z",
            "url": "https://files.pythonhosted.org/packages/3f/95/50e210d40a26485343e7ca5a78b73d90b0bdf6e342ee26d4a761501e7b57/neoclient-0.1.55.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-08-20 13:08:11",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "tombulled",
    "github_project": "neoclient",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "neoclient"
}
        
Elapsed time: 0.11851s