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

Uploaded Python 3

File details

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

File metadata

  • Download URL: fortuneluckpredictor-1.0.1.tar.gz
  • Upload date:
  • Size: 24.5 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.1.tar.gz
Algorithm Hash digest
SHA256 5fed0677af92bc12cada99d064679dd03547365f68fd131a9bf6954e9156dde3
MD5 2219633d1f0d31ec0cb9bc15fd425bfa
BLAKE2b-256 77ec2115e8a598775fc10995775a35b156bbe1874a3c48c747db7314c4da2366

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fortuneluckpredictor-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2bebf70e72a9cbc6e99d3653be2aa4a37718077fb4ef56f02c92a58dbdd7f239
MD5 19442da828548ac7fc7d13d2ecd7ffa6
BLAKE2b-256 442003439032c311f636d014c974be7d69a38bb25b3e4608773e362db85c7254

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