tarrotsimplified
Offline tarot readings as a Python library. All 78 cards with a Yes/No answer and personal guidance ship inside the package — no server, no API.
Install
pip install tarrotsimplified
Use
import tarrotsimplified as tw
# look up a card
c = tw.get_card("The Tower")
print(c.yes_no) # "no"
print(c.guidance)
# yes/no question
r = tw.ask("Should I take the job?")
print(r["card"].name, "->", r["answer"])
print(r["guidance"])
# draw random cards
for c in tw.draw(3):
print(c.name, "-", c.yes_no)
# a spread
for item in tw.spread("three_card"):
print(item["position"], "->", item["card"].name)
# search guidance text
print([c.name for c in tw.search("fertility")])
# whole suit
print([c.name for c in tw.by_suit("cups")])
Spreads: single, three_card, situation.
Each Card has: name, arcana, suit, number, yes_no, guidance.
Publish to PyPI (one time)
pip install build twine
python -m build # creates dist/*.whl and *.tar.gz
twine upload dist/* # asks for your PyPI token
After that, anyone can pip install tarrotsimplified. Bump version in pyproject.toml and __init__.py for each new release.
Metadata
Release files for tarrotsimplified 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tarrotsimplified-0.2.0.tar.gz | 6.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tarrotsimplified-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.7 kB
Release files / tarrotsimplified-0.2.0.tar.gz
| Download URL | tarrotsimplified-0.2.0.tar.gz |
|---|---|
| Size | 6.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2558ac8e5a21b118e6832674252bb52e61014141a3701728a9e79b0daab3ab12
|
|
BLAKE2b-256 checksum How to use checksums |
0acb7d4137d71a807a71791e8a68a1d87ece529a8a7d83f4451b2d194a4c7288
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.0
|
Release files / tarrotsimplified-0.2.0-py3-none-any.whl
| Download URL | tarrotsimplified-0.2.0-py3-none-any.whl |
|---|---|
| Size | 7.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a645da208e4475df9de1536077ba54b37a3ee19e0161389039d13ccc6032eec5
|
|
BLAKE2b-256 checksum How to use checksums |
2d56cb6474063394adeda04b7f276331d5a88f8b568c2345f8c522782cc2d3ac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.0
|