GitHub: aiopyrestful
This is a Specialized version of pyrestful
PyRestful
pyRestful is an API to develop restful services with Tornado Web Server.
We made changes from the last version to improve it and make it more easy.
The last version works with Python 2 and 3.
aiopyrestful
Support asyncio.
Install
pip install aiopyrestful
Example
import asyncio
from aiopyrestful.rest import get, mediatypes
@asyncio.coroutine
async def async_fun():
await asyncio.sleep(10)
return 'text'
@get(_path='/configure', _produces=mediatypes.APPLICATION_JSON)
@asyncio.coroutine
async def post_configure(self):
text = await async_fun()
return {
'text': text
}
Metadata
Release files for aiopyrestful 1.4.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| aiopyrestful-1.4.1.tar.gz | 5.1 kB | Without provenance | Details for aiopyrestful-1.4.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| aiopyrestful-1.4.1-py3-none-any.whl | Python 3 | none | any | Details for aiopyrestful-1.4.1-py3-none-any.whl |
Total release size: 12.7 kB
Release files / aiopyrestful-1.4.1.tar.gz
| Download URL | aiopyrestful-1.4.1.tar.gz |
|---|---|
| Size | 5.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
271bae300835ac19c6b55d90e6cb36744de100b550b4d5139ef987a1238bd5ff
|
|
BLAKE2b-256 checksum How to use checksums |
d0cc14575f64452c4a607264e75c01bbc7a694d18cf3da3851c8898e20df666b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.5
|
Release files / aiopyrestful-1.4.1-py3-none-any.whl
| Download URL | aiopyrestful-1.4.1-py3-none-any.whl |
|---|---|
| Size | 7.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4b417268a953233903cc22d17e86dd70731d23fa2df0a5ba68db138121876d55
|
|
BLAKE2b-256 checksum How to use checksums |
5117b4755684b064a43ab14f2324d7ddff8980cf6f7e7bddbfdcbcebb9a75792
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.5
|
Security for aiopyrestful 1.4.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.