Skip to main content

Fortune & luck predictor. Returns lucky numbers, fortunes, and horoscope-like results.

Project description

CI

Fortune Luck Predictor

A Python package that returns lucky numbers, fortunes, and horoscope-like results.

Team

What is it?

Fortune Luck Predictor provides:

  • Fortunes: Random fortune cookie-style messages
  • Future Predictions: Predicts career, marriage age, number of kids, and success level
  • Day Predictions: Get day-specific fortunes for any day of the week
  • Compatibility Scores: Calculate compatibility between two names
  • Lucky Numbers: Generate weighted lucky numbers based on the current date and time

Installation

From PyPI:

pip install fortuneluckpredictor

From source:

git clone https://github.com/swe-students-fall2025/3-python-package-team_boreal.git
cd 3-python-package-team_boreal
pip install -e .

How to Run

Interactive Mode

Run the package as a module:

python -m fortuneluckpredictor

Or if you need to set PYTHONPATH:

PYTHONPATH=src python -m fortuneluckpredictor

This launches an interactive menu with all available functions.

Using as a Package

Import and use the functions in your Python code:

from fortuneluckpredictor.fortune import get_fortune
from fortuneluckpredictor.futurePredictions import futurePrediction
from fortuneluckpredictor.predictDay import predict_day
from fortuneluckpredictor.compatibility_score import compatibility_score
from fortuneluckpredictor.luckyNumber import get_lucky_number

# Get a fortune
print(get_fortune())

# Predict your future
print(futurePrediction("Alice"))

# Predict a day
print(predict_day("Monday"))

# Check compatibility
print(compatibility_score("Alice", "Bob"))

# Get a lucky number
print(get_lucky_number((1, 100)))

Development

Set up the development environment:

pipenv install --dev
pipenv shell
pip install -e .

Run tests:

pytest tests/

Links

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

fortuneluckpredictor-1.0.0.tar.gz (24.4 kB view details)

Uploaded Source

Built Distribution

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

fortuneluckpredictor-1.0.0-py3-none-any.whl (20.0 kB view details)

Uploaded Python 3

File details

Details for the file fortuneluckpredictor-1.0.0.tar.gz.

File metadata

  • Download URL: fortuneluckpredictor-1.0.0.tar.gz
  • Upload date:
  • Size: 24.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.5

File hashes

Hashes for fortuneluckpredictor-1.0.0.tar.gz
Algorithm Hash digest
SHA256 7c6409be28e361f8cfd74bf56cb9c1c3317bd8241dfd57fa19ad92987f066d96
MD5 08b83755c51ceb6429a60dc97c685bc4
BLAKE2b-256 00b395b11ca6892a6d525ca49cfd7eb324db17188662f6a9e292e47850345a9b

See more details on using hashes here.

File details

Details for the file fortuneluckpredictor-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for fortuneluckpredictor-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d754dc72a040b93e6161b66f49ac7aa0c92e764b21af1a17148d0607472c7462
MD5 2f2ff186112f2e04a86d613fe20115ec
BLAKE2b-256 64b69bc35cfad985e376bf754e41f3c3640a1cfa86f2e907aa1b3430e83eb771

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