This release is a pre-release and may not be stable for production use.
# napper
A REST framework for asyncio.
Currently in experimental stage. Use at your own risk.
import asyncio
from napper import apis
async def getstargazers():
"""Print the most popular repository of the authors of
the most recent gists from github."""
with apis.github() as github:
gists = github.gists.get()
async for gist in gists:
try:
repo = await gist.owner.repos_url.get()[0]
except AttributeError:
print("{0.id}: Gist has no owner".format(gist))
continue
except IndexError:
print("{0.id}: {0.owner.login} has no repositories".format(gist))
continue
print("{0.id}: {0.owner.login} {1.name} {1.stargazers_count}".format(
gist, repo
))
loop = asyncio.get_event_loop()
loop.run_until_complete(getstargazers())
Metadata
Release files for napper 0.1a1
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 |
|---|---|---|---|---|
| napper-0.1a1.tar.gz | 7.2 kB | Without provenance | Details for napper-0.1a1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| napper-0.1a1-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for napper-0.1a1-py2.py3-none-any.whl |
Total release size: 18.8 kB
Release files / napper-0.1a1.tar.gz
| Download URL | napper-0.1a1.tar.gz |
|---|---|
| Size | 7.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1101c08f706bb2e859f02ce1a5ef3201e7ca607cc389063d9906131baefbab9d
|
|
BLAKE2b-256 checksum How to use checksums |
3573947dc821f52fa7ffff78594458022995dde3bfd4bf5afea5d176a3ed2289
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / napper-0.1a1-py2.py3-none-any.whl
| Download URL | napper-0.1a1-py2.py3-none-any.whl |
|---|---|
| Size | 11.5 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
57c00adba9ba9bb17d6937d672aff351c3c83df6c2e588d689b8f00c75409d12
|
|
BLAKE2b-256 checksum How to use checksums |
fa6f17ca5360543ed51fcbc1ce2aaded17d83f500161a590bf6cc8744df256d9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for napper 0.1a1
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.