A python riddles package.
Project description
Python Package Exercise
Replace the contents of the README.md file with a beautifully-formatted Markdown file including
- a plain-language description of your project, including:
- a badge at the top of the
README.mdfile showing the result of the latest build/test workflow run. - a link to your package's page on the PyPI website.
- how a developer who wants to import your project into their own code can do so - include documentation and code examples for all functions in your package and a link to an example Python program that uses each of them.
- how a developer who wants to contribute to your project can set up the virtual environment, install dependencies, and build and test your package for themselves.
- the names of all teammates as links to their GitHub profiles in the
README.mdfile. - instructions for how to configure and run all parts of your project for any developer on any platform - these instructions must work!
- instructions for how to set up any environment variables and import any starter data into the database, as necessary, for the system to operate correctly when run.
- if there are any "secret" configuration files, such as
.envor similar files, that are not included in the version control repository, examples of these files, such asenv.example, with dummy data must be included in the repository and exact instructions for how to create the proper configuration files and what their contents should be must be supplied to the course admins by the due date.
Plain-language Description
- PyRiddles is a simple and fun python package for those who want to enjoy a few riddles! Users of the package would make use of it by accessing four main functions of
Team Members
For Developers
These instructions will guide you on how to configure and run this project.
Prerequisites
Before you begin, ensure you have the following installed:
- Python 3.9 or higher
- pipenv (for dependency and virtual environment management)
If you don’t have pipenv, install it with:
pip install pipenv
Setting Up the Development Environment
-
Clone the repository
git clone https://github.com/software-students-spring2025/3-python-package-gmjm.git cd 3-python-package-gmjm
-
Set up the virtual environment and install dependencies
pipenv install -
Activate the virtual environment:
pipenv shell
Running the Package Locally
To execute the package code locally, use:
python -m pyriddles
Running Tests
To ensure that all functions work correctly, you can run the tests manually using:
pytest
Building the Package
To manually build the package into distributable artifacts:
python -m build
Importing the Package
To import the entire package for use in your code, add the following line to the top of your file
import pyriddles
If you only want to import certain functions, add the following line to the top of your file:
from pyriddles import func1, func2...
Code Examples
For more information on how the functuons in this package should work, see this code file.
CI/CD with GitHub Actions
Every time a pull request is created, GitHub Actions will:
- Run the test suite
- Build the package
- Ensure compatibility with multiple Python versions
You can check the latest test/build status via the badge at the top of this README.
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 pyriddles-0.0.1.tar.gz.
File metadata
- Download URL: pyriddles-0.0.1.tar.gz
- Upload date:
- Size: 48.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c3249e2c3ce5fb24a2b85c17fa5e73a0a2e721f6c5cc2c1e656bfde19549cc4e
|
|
| MD5 |
04132093fb48c3d095e23976e7b2b540
|
|
| BLAKE2b-256 |
ac2f5df4f3eb5d726532e294ac0f0919c34a6155973208972ddc4713c558f222
|
File details
Details for the file pyriddles-0.0.1-py3-none-any.whl.
File metadata
- Download URL: pyriddles-0.0.1-py3-none-any.whl
- Upload date:
- Size: 33.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
444cf66216dde50221d78cb5e56605030f3ff9b8e1b9680fdb5fab39d199dc02
|
|
| MD5 |
7e1687ef6c17969ea1e41fd30b53780c
|
|
| BLAKE2b-256 |
3f660bca9861aabcf36a629719719ce0fc9baf4667330574ae3878babfa1771d
|