Skip to content
2020 Book of Horoscopes
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
horoscoperator.py
interjections.json
markov.py
markovgen.py
readme.md
sample-output_all-signs_full.md
sample-output_all-signs_shortened.md
sample-output_leo.md
source-text.txt

readme.md

About

This project was created for NaNoGenMo 2019 (National Novel Generation Month). Using a list of existing horoscopes and fortunes from other sources, a list of interjections, and a Markov generator, it creates a year of daily horoscopes for each Zodiac sign.

General format, inspired by Cosmopolitan magazine's horoscopes: date, sign, exclamation ("Yikes, Leo!"), then a mangled horoscope.

Absolutely zero astrological knowledge went into the creation of this script. It's meant to be whimsical but not mean-spirited.

Completed Dec. 3, 2019

To use

On the command line (Terminal on a Mac), type:

python3 horoscoperator.py

It will ask you to type which sign you want output for (e.g., "Leo") or "All."

The script outputs output.md, a Markdown-formatted file. If you chose one sign, the file is about 16,000 words long. If you chose all signs, it will be about 200,000 words long.

Sample output

Monday, November 30, 2020

Aries

Curses, Aries! For problems at the end of the people is the breakfast of champions. The early bird gets the work, but the daylight sick. When one burns one's bridges, what a very nice fire it makes. Big book, big bore. Alimony and bribes will engage a large share of your loved ones will be advanced socially, without any special effort your.

Taurus

Right, Taurus! Today. Pick battles big enough to make me ambitious. A true friend is a true sense of humor is not being emotional, but being able to decide. Wherever you go, whenever you can, and pride is taking less than your dreams. Bloom where you go. I learn by going where i have counted 136 different kinds of composition decompositions.

Gemini

Gee whiz, Gemini! A month of opportunities, you.

See more of the sample text for all signs

See full 200k-word sample text for all signs ("raw" Markdown view only)

See sample text for one sign

Printed

I had one output of this project printed and bound into a 501-page book, without any editing besides formatting.

Thick book titled Book of Horoscopes 2020 on a wooden table

Interior page of book, beginning with: April 29, 2020. Aries: Grr, Aries! Bakery products! You are being aroused, sexually or creatively. You are watching for cycles.

Sources

The Markov generator I'm using...

The interjections came from Darius Kazemi's corpora repository.

A huge thank you to the sources for all-fortunes.txt...

Similar project

You can’t perform that action at this time.