Unofficial Python module to search into Nyaa.si and nyaa.pantsu.cat.
Based on [Kylart's Nyaapi](https://github.com/Kylart/Nyaapi).
### Installation and ussage
Install it using pip.
pip install nyaapy
### Contributions and development
At this moment there isn't an official Nyaa.si API, so we only can make requests using the search URI.
#### Instructions to contribute
1. Clone or fork the repo.
```
$ git clone https://github.com/JuanjoSalvador/nyaapy.git
```
2. Set the virtual environment.
```
$ virtualenv nyaa
$ source nyaa/bin/activate
```
3. If you are ussing a clonned repo, please create a new branch named `patch-<username>-<version>`. Example: `patch-juanjosalvador-0.2`
4. Always use the code into `src` folder, never the package.
### Example code
from NyaaPy.nyaa import Nyaa
from NyaaPy.nyaa import NyaaPantsu
# Nyaa.si results
nyaa_query = Nyaa.search('new game')
for result in nyaa_query:
print(result['title'])
# Nyaa.pantsu.cat results
pantsu_query = NyaaPantsu.search('new game')
for result in pantsu_query:
print(result['title'])
### License
MIT license.
Metadata
Release files for nyaapy 0.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 |
|---|---|---|---|---|
| nyaapy-0.1.tar.gz | 1.7 kB | Without provenance | Details for nyaapy-0.1.tar.gz |
Release files / nyaapy-0.1.tar.gz
| Download URL | nyaapy-0.1.tar.gz |
|---|---|
| Size | 1.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
76b4f1cc10e11dddfe0a47f6cb457dc6921a9d8c07132f4e0ab5954263d86623
|
|
BLAKE2b-256 checksum How to use checksums |
75f733dc80876ae216312e94cf479e2a901513c82ee945d6b45812797fe3e1f0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for nyaapy 0.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.