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.4

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.4
File Size Uploaded Provenance Actions
aniquotes-0.1.4.tar.gz 932.0 kB Without provenance Details for aniquotes-0.1.4.tar.gz

Built distribution (wheel)

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

Total release size: 1.9 MB

Release files / aniquotes-0.1.4.tar.gz

Download URL aniquotes-0.1.4.tar.gz
Size 932.0 kB
Tags Source
SHA-256 checksum
How to use checksums
cf43db514952f5810850c098b7eaf1911354afef7cc242aa12f4b05f9b7962c0
BLAKE2b-256 checksum
How to use checksums
3961c01fb33c5b9dbb29d7dc2d95182057be76a1ac9c00a1cc5cde88a541efa5
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.4-py2.py3-none-any.whl

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

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