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
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:
- Create a
pipenv-managed virtual environment and install the latest version of the package
pip install pipenv
pipenv install guessFact
- Activate the virtual environment
pipenv shell
- Create a Python program file that imports the package and uses it, as shown in the Example File.
- Run the program (change the "program_filename" to the file name you created):
python3 program_filename.py
Try running the package directly
- Create and activate up the
pipenvvirtual environment as shown above - Run the package directly from the command line
python3 -m guessFact
How to build and test the code
- Clone this repository to the editor in your computer
- Set up a virtual environment and install dependencies
pip install pipenv
pipenv install
pipenv shell
- Run tests
python3 -m pytest
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7baf29aaa2b1b6963c852cd88d91de57925a04541b01b175d1a0d60e431738b1
|
|
| MD5 |
3d53c87546c73164331eaa40804db0c5
|
|
| BLAKE2b-256 |
2e56b64d6ed8f559c601356df3e0f4b2ddef5db2a921a86c90bf43e1b628aff0
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c72a7ccb6f98536b41583d0988d98bf44d1ebeaf253bd161c411abe31db5bbac
|
|
| MD5 |
b9e910e08298f09c15f279cccc1ef4e3
|
|
| BLAKE2b-256 |
2cb79f9d57f19e595146131dcab5987ef27250b20c01365de5851372478a2291
|