vtuberwiki-py
vtuberwiki-py is a Python library wrapper for VirtualYoutuber Fandom API.
This package supports both Asynchronous (async/non-blocking) and Synchronous (sync/blocking) programming.
Installation
To install vtuberwiki-py, simply run:
$ pip install vtuberwiki-py
Breaking Changes
Here is some of the breaking changes for vtuberwiki-py 0.1.7 :
- to increase ease of use,
auto_correctparameter will now defaults toTrue trivia()now returns aList- removing
miscandnamekey from dict, sotrivia()will now fetch all of the trivia without classifying the segment background()method is now changed intohistory()- adding a new
quote()method to fetch vtuber's quotes quote()method returns aList- now you can get the name & image of a Vtuber by calling the
.nameand.imageClass property
to understand more please read vtuberwiki-py documentations, thanks.
Documentation
You can find the full documentation and example for vtuberwiki-py here.
Examples
→ Asynchronous (non-blocking)
from vtuberwiki import AioVwiki
import asyncio
async def search_fandom():
async with AioVwiki() as aio_vwiki:
await aio_vwiki.search(vtuber="mythia batford",limit=3)
# ['Mythia Batford', 'Mythia Batford/Gallery', 'Mythia Batford/Discography']
await aio_vwiki.summary(vtuber="mythia batford",auto_correct=True)
# Mythia Batford (ミシア ・バットフォード) is an Indonesian female Virtual Youtuber. She uses both Indonesian and English on her stream.
asyncio.run(search_fandom())
→ Synchronous (blocking)
from vtuberwiki import Vwiki
def search_fandom():
vwiki = Vwiki()
vwiki.search(vtuber="mythia batford",limit=3)
# ['Mythia Batford', 'Mythia Batford/Gallery', 'Mythia Batford/Discography']
vwiki.summary(vtuber="mythia batford",auto_correct=True)
# Mythia Batford (ミシア ・バットフォード) is an Indonesian female Virtual Youtuber. She uses both Indonesian and English on her stream.
search_fandom()
License
MIT licensed. See the LICENSE file for full details.
Credits
- Special thanks to MediaWiki API and Fandom for making this project possible
Metadata
Release files for vtuberwiki-py 0.1.8
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 |
|---|---|---|---|---|
| vtuberwiki-py-0.1.8.tar.gz | 6.8 kB | Without provenance | Details for vtuberwiki-py-0.1.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| vtuberwiki_py-0.1.8-py3-none-any.whl | Python 3 | none | any | Details for vtuberwiki_py-0.1.8-py3-none-any.whl |
Total release size: 15.1 kB
Release files / vtuberwiki-py-0.1.8.tar.gz
| Download URL | vtuberwiki-py-0.1.8.tar.gz |
|---|---|
| Size | 6.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
343dfcac1308ef8bd3bd862fb0f6cd1a29cb0e1555ab65cb80c4611295a40ca5
|
|
BLAKE2b-256 checksum How to use checksums |
efd671ab2c7084b1ad9361ce0d992cb1c5e259181a8ce2b0657832aafd7b240b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.9.1
|
Release files / vtuberwiki_py-0.1.8-py3-none-any.whl
| Download URL | vtuberwiki_py-0.1.8-py3-none-any.whl |
|---|---|
| Size | 8.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8658a57ed6b863fbbcb19ac5ea1500b0e73d100701b17471644fe6e66056ac3a
|
|
BLAKE2b-256 checksum How to use checksums |
a04507e517c33dd2e777722a992b886046e7e3216a99d00061f8f1d55e2c6f75
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.9.1
|
Security for vtuberwiki-py 0.1.8
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.