NozomiPy-Async
Async nozomi.la API for Python3.
NozomiPy-Async is an Async Python3 library for nozomi.la API.
NozomiPy-Async also provides a commandline tool to download images and tags from nozomi.la.
Based on Python-Nozomi: https://github.com/Alfa-Q/python-nozomi
Install
pip install nozomipy-async
Import packages
from nozomipy.async_api import api
API Usages
API init
import asyncio
from nozomipy.async_api import api
nozomi_api = api(semaphore=8,proxy="http://127.0.0.1:1080")
Download images
# The tags that the posts retrieved must contain
positive_tags = ['veigar', 'wallpaper']
# Gets all posts with the tags 'veigar', 'wallpaper'
posts = await nozomi_api.get_posts()
# download all images
await asyncio.gather(*[download_img_tags(post,path) for post in posts])
Create dataset
Download images and tags during a period to a folder named with positive tags.
nozomipy --path "./" --positive_tags 'miyase_mahiro' --start_date 2022-02-22 --end_date 2022-01-22 --num_process=8 --proxy http://127.0.0.1:7890
Metadata
Release files for nozomipy-async 1.0.0
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 |
|---|---|---|---|---|
| nozomipy-async-1.0.0.tar.gz | 11.9 kB | Without provenance | Details for nozomipy-async-1.0.0.tar.gz |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nozomipy_async-1.0.0-py3.9.egg | Legacy Egg format | - | - | Details for nozomipy_async-1.0.0-py3.9.egg |
| nozomipy_async-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for nozomipy_async-1.0.0-py3-none-any.whl |
Total release size: 45.2 kB
Release files / nozomipy-async-1.0.0.tar.gz
| Download URL | nozomipy-async-1.0.0.tar.gz |
|---|---|
| Size | 11.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
930dbd0a192c0a8db9d3d532a66d7341d5f51b278c57f38b5325e1e4df2da481
|
|
BLAKE2b-256 checksum How to use checksums |
7f2c1d5fa7f525dcf1aa9b92b747747b9e65337dc0de447915d135358beac0d4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.7
|
Release files / nozomipy_async-1.0.0-py3.9.egg
| Download URL | nozomipy_async-1.0.0-py3.9.egg |
|---|---|
| Size | 21.9 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
0e3fc0fc84103e487bcaeb28b8d1b940bf414085e9c6dc67a05e5ab4c8e68a1d
|
|
BLAKE2b-256 checksum How to use checksums |
fc4f5c5bbf80266bcf977b9906f64f8c9892cd62c2aa0a2389db67ed4716b761
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.7
|
Release files / nozomipy_async-1.0.0-py3-none-any.whl
| Download URL | nozomipy_async-1.0.0-py3-none-any.whl |
|---|---|
| Size | 11.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a29a13efbb0138c538653071f6f403f2091c7b52c0ab35d4d3afa079561b583a
|
|
BLAKE2b-256 checksum How to use checksums |
2cecec4b23a153edd45cdc6ddfe8d83af30981a5b6392ba6cf04836766f7ce6f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.7
|
Security for nozomipy-async 1.0.0
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.