Skip to main content

A fortune teller package, built with build using setuptools, uploaded to PyPI using twine, and distributed via pip.

Project description

Open in Visual Studio Code

build badge

Python Fortune Teller Package

Functions and their Args

getLiveAdvice(type, seed=None)

Returns a line of life advice, either focused on learning (learning) or detaching (detach) depending on the argument passed in with an optional seed argument. Args: learning, detach, and seed

getCSFortune(question, debug, seed=None)

Receives a question in the form of a String with a boolean value on whether it is for debugging purposes. An optional seed argument could be given to generate the same random result. Outputs a fortune on whether you will succeed in doing anything computer science related or not. If debugging, a random potential error is given or nothing at all if it is beyond fixing. Args: question, debug, and seed

getInspiration(name)

Receives either a famous person's name or an empty string, and returns a random inspirational quote by the specified person. If the string is empty, returns a random inspirational quote by a random person. Args: name

funny(name)

Receives the name of a person and return a funny quote if the person is one of the 6 preset. If an empty string is given, a random quote by any of the 6 figures is given. If an invalid name is given, no quote is given back with a message. Args: name

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

fortunetelleracs1029-0.0.24.tar.gz (42.3 kB view details)

Uploaded Source

Built Distribution

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

fortunetelleracs1029-0.0.24-py3-none-any.whl (30.1 kB view details)

Uploaded Python 3

File details

Details for the file fortunetelleracs1029-0.0.24.tar.gz.

File metadata

  • Download URL: fortunetelleracs1029-0.0.24.tar.gz
  • Upload date:
  • Size: 42.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.8

File hashes

Hashes for fortunetelleracs1029-0.0.24.tar.gz
Algorithm Hash digest
SHA256 0d1c745910cc248cd6900b45bae26eb5cd47ad230f38c1df72020f1e986c7a84
MD5 4f5f78219e91a68ee9a06716b1561e70
BLAKE2b-256 3f7133e6d4619b03e92ba7bebc1604b4effc6e7fda131c548d97dd18dcdf06ca

See more details on using hashes here.

File details

Details for the file fortunetelleracs1029-0.0.24-py3-none-any.whl.

File metadata

File hashes

Hashes for fortunetelleracs1029-0.0.24-py3-none-any.whl
Algorithm Hash digest
SHA256 526f0a6d59d95b2fa9f520e7ecbefaae27d2796b50fb7de738c8cc59a21f2792
MD5 9b39ca66ecb7aa5940e644c196b59be0
BLAKE2b-256 c07869f789169ec92142937d520ba5dce17eca675e327af6768451f55b0cb679

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