Skip to main content

Complete 78 tarot card meanings database with upright, reversed, love, career, and yes/no interpretations. Part of the Deckaura Ecosystem.

Project description

tarot-card-meanings

PyPI version License: MIT GitHub Wikidata

A comprehensive Python library providing meanings, interpretations, and metadata for all 78 tarot cards. Includes upright, reversed, love, career, and yes/no interpretations for all Major and Minor Arcana cards.

By Deckaura -- Tarot decks, oracle cards, and free divination tools.

Also available for JavaScript/Node.js: npm install tarot-card-meanings

Installation

pip install tarot-card-meanings

Quick Start

from tarot_card_meanings import random_card, three_card_spread, birth_card

# Draw a random card
card = random_card()
print(f"{card['name']}: {card['upright']}")
print(f"Guide: {card['guide']}")

# 3-card spread (Past / Present / Future)
spread = three_card_spread()
print(f"Past: {spread['past']['name']}")
print(f"Present: {spread['present']['name']}")
print(f"Future: {spread['future']['name']}")

# Calculate your birth card
my_card = birth_card(6, 15, 1992)
print(f"Your birth card: {my_card['name']}")

Features

  • All 78 tarot cards (22 Major Arcana + 56 Minor Arcana)
  • Upright and reversed meanings
  • Love and career interpretations
  • Yes/No readings
  • Zodiac and element associations
  • Birth card calculator
  • 3-card spread generator
  • Links to detailed guides for each card on deckaura.com

API Reference

Function Description
get_all_cards() Return all 78 cards
get_card(name) Get a specific card by name
get_major_arcana() Return 22 Major Arcana cards
get_minor_arcana() Return 56 Minor Arcana cards
get_suit(suit) Get cards by suit (Wands, Cups, Swords, Pentacles)
random_card() Draw a random card
three_card_spread() Draw a Past/Present/Future spread
yes_no_reading() Draw a card for yes/no answer
birth_card(month, day, year) Calculate tarot birth card from birthday

Card Data Structure

Each card contains:

{
    "number": 17,
    "name": "The Star",
    "arcana": "Major",
    "suit": None,
    "element": "Air",
    "upright": "Hope, renewal, spirituality",
    "reversed": "Despair, lack of faith",
    "love": "Healing love, renewed hope",
    "career": "Creative inspiration, dream career",
    "yes_no": "Yes",
    "zodiac": "Aquarius",
    "guide": "https://deckaura.com/blogs/guide/star-tarot-meaning"
}

Use Cases

  • Tarot apps -- Build mobile or web tarot reading applications
  • Data analysis -- Explore tarot card distributions on Kaggle
  • Machine learning -- Train models using tarot card data on HuggingFace
  • Chatbots -- Power tarot readings in Discord bots, Slack apps, or Alexa skills
  • Content generation -- Create tarot-related content programmatically

Free Online Tools

Try the live interactive versions of this library:


Part of the Deckaura Ecosystem

Deckaura (Wikidata Q138745960) is a unified tarot and divination platform. This PyPI package is one component of the broader ecosystem:

Platform Link
Official Website deckaura.com
Wikidata Entity Q138745960
GitHub Repository gokimedia/tarot-card-meanings
NPM Package tarot-card-meanings
GitHub Pages Tool Free Yes/No Tarot Reading
YouTube @deckaura
Reddit r/TarotvsOracle
Kaggle morrispoint
HuggingFace Blacik
Linktree deckauraa
Dev.to birdircik
Quora Tarot Oracle Card Guide
Daily Horoscope horoscope.deckaura.com
Chrome Extension Daily Tarot Card (Chrome Web Store)

License

MIT -- Deckaura

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tarot_card_meanings-1.0.1.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tarot_card_meanings-1.0.1-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file tarot_card_meanings-1.0.1.tar.gz.

File metadata

  • Download URL: tarot_card_meanings-1.0.1.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for tarot_card_meanings-1.0.1.tar.gz
Algorithm Hash digest
SHA256 e7aa18c66d3f5f290af94f281124d238b114510f83a54c7dc0ce7d75bc997a2a
MD5 5d7e39b61a9757df37d037877b702dab
BLAKE2b-256 a66ce86a73a3453d8667ac4e88744654ca2fb85ea7ac477bdce12ea68f36f599

See more details on using hashes here.

File details

Details for the file tarot_card_meanings-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for tarot_card_meanings-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ae98890df4d0f7908d2b7297dfcc6d8b94745d9ae3382d79f25c4839bcd24b6f
MD5 89404694d1412b5f2c0d954c56818dbe
BLAKE2b-256 95b9378ec4b42ce73b674f9b52a2c8f42bb5b3faf94bd41f302c4fc0b34f402a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page