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 MIT License.

Metadata

Release files for aniquotes 0.1.0

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.0
File Size Uploaded Provenance Actions
aniquotes-0.1.0.tar.gz 931.8 kB Without provenance Details for aniquotes-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 1.9 MB

Release files / aniquotes-0.1.0.tar.gz

Download URL aniquotes-0.1.0.tar.gz
Size 931.8 kB
Tags Source
SHA-256 checksum
How to use checksums
e5f8c12ac9af173f4f57e7d4211b453ea96ebcf2025b2f7ad59212de265007f1
BLAKE2b-256 checksum
How to use checksums
1e02931b742917c3921301b276cd2d529f61e7028dd41dfa8d35da12a84fac30
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.0-py2.py3-none-any.whl

Download URL aniquotes-0.1.0-py2.py3-none-any.whl
Size 936.8 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
9288674dcdd2af217f110d7490628508dd276c700af61e0e8a2a0e7baac0960f
BLAKE2b-256 checksum
How to use checksums
56fd14f1685342f591f8ba1e3242c428ba4ac81b849f694156cabfa2da0a6f98
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.0

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