Skip to main content

aniquotes

A lightweight, zero dependency Python package to generate, search, and filter 13,000+ anime quotes from 3,500+ characters across 1,500+ anime shows.

Installation

pip install aniquotes

Quickstart

from aniquotes import get_quote

# Get a random anime quote
print(get_quote())
# {
#   '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 get_quote

from aniquotes import get_quote

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

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

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

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

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

2. Retrieve Multiple Quotes get_quotes

from aniquotes import get_quotes

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

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

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

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

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

3. List Characters & Shows

from aniquotes import get_characters, get_shows, get_total_count

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

# List all unique anime shows
shows = get_shows()

# List all unique characters
all_characters = get_characters()

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

License

This project is licensed under The Unlicense.

Metadata

Release files for aniquotes 0.2.1

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.2.1
File Size Uploaded Provenance Actions
aniquotes-0.2.1.tar.gz 852.5 kB Without provenance Details for aniquotes-0.2.1.tar.gz

Built distribution (wheel)

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

Total release size: 1.7 MB

Release files / aniquotes-0.2.1.tar.gz

Download URL aniquotes-0.2.1.tar.gz
Size 852.5 kB
Tags Source
SHA-256 checksum
How to use checksums
a269b0e585764f76c0e84be4bd9981cf2e358ebcffb87f8193364ddc700edb57
BLAKE2b-256 checksum
How to use checksums
af84d4456fa1ab3b656991edb5401fbc9db888ee994ac981f31d91d06f36763f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.8

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

Download URL aniquotes-0.2.1-py2.py3-none-any.whl
Size 856.9 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
59d5d7108890a5406734ca3ff1e8cbbf143910e1b8caedd2cb1e4583dcc6a0dd
BLAKE2b-256 checksum
How to use checksums
8ee7358cb363c4d606082dc3369e8e806d8cac2cf7b79e44fbf3a746c84def5e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.8

Security for aniquotes 0.2.1

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