Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Python Asyncio REST Client

Project Description

aionap is a Python asyncio enabled REST client. It uses a similar API like slumber and copies shameless other parts of it.

Feel free to contribute via pull requests, issues or email messages.

QuickStart

  1. Install aionap:

    $ pip install aionap
    
  2. Install Optional Requirement:

    pip install pyyaml
    
  3. Use it!

Usage

  • Get an API object
import aionap
api = aionap.API('https://demo.api-platform.com')
async with api.books as resource:
    response = await resource.get()

For more see the documenation, the test/test_demo_api.py file or the example directory.

Installation

aionap is available via PyPI, just install it as usual.

$ pip install aionap

aionap requires Python >= 3.6.

[OPTIONAL] PyYaml (Required for the yaml serializer):

$ pip install pyyaml

Features

  • Basic Auth support
  • JSON, YAML serializers
  • GET, POST, PUT, PATCH, DELETE of resources
  • Good test coverage

TODO

  • OAuth support
  • Readthedocs API documentation (SSL_CERT_FILE)

Compatibility

Python >= 3.6

Licence

BSD 2-Clause License

Authors and Contributors

Release History

Release History

This version
History Node

0.4

History Node

0.3

History Node

0.2

History Node

0.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
aionap-0.4-py3-none-any.whl (8.1 kB) Copy SHA256 Checksum SHA256 py3 Wheel Nov 1, 2017
aionap-0.4.tar.gz (6.4 kB) Copy SHA256 Checksum SHA256 Source Nov 1, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting