Skip to main content

A Python package lets users select a category and sub-category to reveal two unique facts about it. One fact is true, while the other is a playful fabrication, and the user needs to identify the correct one.

Project description

Python Package Exercise

Python build & test

Package Description

A Python package lets users select a category and sub-category to reveal two unique facts about it. One fact is true, while the other is a playful fabrication, and the user needs to identify the correct one.

Link to the package's page on the PyPI website

https://pypi.org/project/guessFact/

How to install and use this package

Try installing and using this package in a separate Python project:

  1. Create a pipenv-managed virtual environment and install the latest version of the package
pip install pipenv
pipenv install guessFact
  1. Activate the virtual environment
pipenv shell
  1. Create a Python program file that imports the package and uses it, as shown in the Example File.
  2. Run the program (change the "program_filename" to the file name you created):
python3 program_filename.py

Try running the package directly

  1. Create and activate up the pipenv virtual environment as shown above
  2. Run the package directly from the command line
python3 -m guessFact

How to build and test the code

  1. Clone this repository to the editor in your computer
  2. Set up a virtual environment and install dependencies
pip install pipenv
pipenv install
pipenv shell
  1. Run tests
python3 -m pytest

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

guessfact-0.1.1.tar.gz (46.7 kB view details)

Uploaded Source

Built Distribution

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

guessFact-0.1.1-py3-none-any.whl (31.7 kB view details)

Uploaded Python 3

File details

Details for the file guessfact-0.1.1.tar.gz.

File metadata

  • Download URL: guessfact-0.1.1.tar.gz
  • Upload date:
  • Size: 46.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for guessfact-0.1.1.tar.gz
Algorithm Hash digest
SHA256 7baf29aaa2b1b6963c852cd88d91de57925a04541b01b175d1a0d60e431738b1
MD5 3d53c87546c73164331eaa40804db0c5
BLAKE2b-256 2e56b64d6ed8f559c601356df3e0f4b2ddef5db2a921a86c90bf43e1b628aff0

See more details on using hashes here.

File details

Details for the file guessFact-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: guessFact-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 31.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for guessFact-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c72a7ccb6f98536b41583d0988d98bf44d1ebeaf253bd161c411abe31db5bbac
MD5 b9e910e08298f09c15f279cccc1ef4e3
BLAKE2b-256 2cb79f9d57f19e595146131dcab5987ef27250b20c01365de5851372478a2291

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