Skip to main content

aniquotes

A lightweight, zero dependency Python package to generate, search, and filter 14,667 anime quotes from 3,782 characters across 1,580 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,580 unique anime shows
shows = getShows()

# List all 3,782 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.2

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.2
File Size Uploaded Provenance Actions
aniquotes-0.1.2.tar.gz 931.9 kB Without provenance Details for aniquotes-0.1.2.tar.gz

Built distribution (wheel)

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

Total release size: 1.9 MB

Release files / aniquotes-0.1.2.tar.gz

Download URL aniquotes-0.1.2.tar.gz
Size 931.9 kB
Tags Source
SHA-256 checksum
How to use checksums
b969e47acc235a31b7a203ce1a58a386a94abc925bb78a3fed25f3d02f11d742
BLAKE2b-256 checksum
How to use checksums
6a3e87eb5f7d4a287964b1c87f760f5acf242fcbedefdda5309ffae265288440
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.2-py2.py3-none-any.whl

Download URL aniquotes-0.1.2-py2.py3-none-any.whl
Size 936.9 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
1b956fb4b0c4c26c5a47245cd25a9ac5e255f580b8f74ca3bfa554f441162460
BLAKE2b-256 checksum
How to use checksums
9c2400d485363653da7536f0b9796db3e865cc08ea859e01cb9fab6cb9232172
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.2

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