Skip to main content

aniquotes

A lightweight, zero dependency Python package to generate, search, and filter 13,438 anime quotes from 3,565 characters across 1,522 anime shows.

Installation

pip install aniquotes

Quickstart

from aniquotes import getQuote

# Get a random anime quote
print(getQuote())
# {
#   'character': 'Bear',
#   'show': '.hack//SIGN',
#   'quote': 'If you want to know the truth, you must have the courage to accept it.'
# }

Usage Guide

1. Get a Random Quote getQuote

from aniquotes import getQuote

# Random quote from the entire database
quote = getQuote()

# Filter by character name
quote = getQuote(character="Luffy")

# Filter by anime show
quote = getQuote(show="Naruto")

# Filter by text within quotes
quote = getQuote(search="courage")

# Combine multiple filters
quote = getQuote(character="Luffy", show="One Piece", search="king")

2. Retrieve Multiple Quotes getQuotes

from aniquotes import getQuotes

# Filter by anime show
death_note_quotes = getQuotes(show="Death Note")

# Filter by character name
luffy_quotes = getQuotes(character="Luffy")

# Filter by text within quotes
dream_quotes = getQuotes(search="dream")

# Limit the number of returned results
first_10_quotes = getQuotes(limit=10)

# Combine multiple filters with a limit
results = getQuotes(character="Goku", show="Dragon Ball", search="power", limit=5)

3. List Characters & Shows

from aniquotes import getCharacters, getShows, getTotalCount

# Total count of quotes in database
print(getTotalCount())

# List all 1,522 unique anime shows
shows = getShows()

# List all 3,565 unique characters
all_characters = getCharacters()

# List characters from a specific show
naruto_chars = getCharacters(show="Naruto")

4. Direct Raw Data Access

from aniquotes.data import QUOTES

# Direct access to the raw list
print(len(QUOTES))
first_quote = QUOTES[0]

License

This project is licensed under The Unlicense.

Metadata

Release files for aniquotes 0.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aniquotes 0.1.5
File Size Uploaded Provenance Actions
aniquotes-0.1.5.tar.gz 852.6 kB Without provenance Details for aniquotes-0.1.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for aniquotes 0.1.5
File Interpreter ABI Platform Actions
aniquotes-0.1.5-py2.py3-none-any.whl Python 2, Python 3 none any Details for aniquotes-0.1.5-py2.py3-none-any.whl

Total release size: 1.7 MB

Release files / aniquotes-0.1.5.tar.gz

Download URL aniquotes-0.1.5.tar.gz
Size 852.6 kB
Tags Source
SHA-256 checksum
How to use checksums
f2bbbcce49110ef42c9a962328d4191f9d4039201f0489677c22d47a05e3533c
BLAKE2b-256 checksum
How to use checksums
3ae9af2802f77cbe0c79ae3d28132201280b56bcc5b2c96970f1249c7f3a9706
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Release files / aniquotes-0.1.5-py2.py3-none-any.whl

Download URL aniquotes-0.1.5-py2.py3-none-any.whl
Size 857.0 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
2c5a1adc8dde71feaa72e606812c20014a86f0c5baaae99f433c5cca45576607
BLAKE2b-256 checksum
How to use checksums
25bbd245cbd34cc8d91b2cc495ca3dd71ee1f1ccf49309feae3ca37d91b04b6d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Security for aniquotes 0.1.5

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page