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

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

Built distribution (wheel)

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

Total release size: 1.9 MB

Release files / aniquotes-0.1.3.tar.gz

Download URL aniquotes-0.1.3.tar.gz
Size 932.0 kB
Tags Source
SHA-256 checksum
How to use checksums
9cb52f796635b0af96f6125e12eaa51d61564be08bc59ffc12b2b2841219f8f0
BLAKE2b-256 checksum
How to use checksums
6aaf28612346f0db0ca48541fafafbd55fb5ef027b046f48ecfa4b44dd61d101
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.3-py2.py3-none-any.whl

Download URL aniquotes-0.1.3-py2.py3-none-any.whl
Size 936.9 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
cf34c766b55a73fd55190b26367f5715dff846a0d3190da1c13bf0f6a044ac52
BLAKE2b-256 checksum
How to use checksums
3390b57c12f840cd3abfa301e4a7a02eec1508440c9d073dda9d91ee29ab5274
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.3

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