Skip to main content

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

Project description

Fortune Luck Predictor

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

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-0.1.10.tar.gz (23.5 kB view details)

Uploaded Source

Built Distribution

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

fortuneluckpredictor-0.1.10-py3-none-any.whl (19.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for fortuneluckpredictor-0.1.10.tar.gz
Algorithm Hash digest
SHA256 4124df16f5d8beda2fa312615c8790a87aa7c18a6ceeca043c5982d43f42324c
MD5 d129cb355c8da84e0c5af188167dad24
BLAKE2b-256 64b225519ec0973c1c2710b7cb9f11c060463080167d09eac21111da4a3c2968

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fortuneluckpredictor-0.1.10-py3-none-any.whl
Algorithm Hash digest
SHA256 3de46d7f05ee62efb1757d32ccb140dcf84bb7ffe9ec633a16f3ccb772f5d674
MD5 9521822e1fd9d3108cc8013255180811
BLAKE2b-256 0ae7860d9b544cbe65aecb0d133a4d071f3ed27fd1769f0bf9e51f11ff053036

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