Skip to main content

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

Project description

CI CD

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.2.tar.gz (24.7 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.2-py3-none-any.whl (20.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for fortuneluckpredictor-1.0.2.tar.gz
Algorithm Hash digest
SHA256 5d475c8bd3325bcc949476ca390553806c00ee5d7e736d3e0ba3aa9c01ff75b4
MD5 323861419c04ba7be972b9aeb7655f0e
BLAKE2b-256 2c3ec5ffc1fca90cf5abdc8b01722c6938b334d26d00344c5cb35519fe497c70

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fortuneluckpredictor-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 51f8d596f5ec06361f4cf18a78df773e3a691b4a42fa3ef38c0361d2664339d1
MD5 945eaec8e97ded6c24e47ddf4799ec67
BLAKE2b-256 74cba9f78598e0d666428a78b2ccc35528279f09e81e7b487aecc2f78ce0c207

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