Python Package Exercise
Welcome to just4Fun - a lighthearted Python package designed to bring a little joy and levity to developers' lives. This package includes four fun, interactive functions.
This was an exercise to create a Python package, build it, test it, distribute it, and use it. See instructions for details.
Team Members
Edison Chen Natalie Wu Chelsea Li Jacklyn Hu
Usage
Installation
pip install just4fun
Example Program
A sample program demonstrating all package functions is included. Run main.py to explore the functionalities of just4fun.
To Test Functionality + Run Tests
pytest
4 Functions
8 Ball Predictions
Input = question for the 8 ball
Variations:
-
If the input is too long, reject the question, the 8 ball doesn't want to think about it.
-
If too many questions are asked, the 8 ball needs a break.
Mood-Based Affirmations
Input = mood (i.e. happy or sad)
Variations:
- Will give you a compliment / affirmation based on your mood.
Make Me Laugh
Input = output type (fun fact or joke)
Variations:
- Gives you a fun fact or a joke
Copypasta
Input = ouptut type (text or image)
Variations:
- Text copypasta, image copypasta (image made up of characters / emojis in terminal)
Metadata
Release files for just4fun 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| just4fun-0.1.1.tar.gz | 51.0 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| just4fun-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 84.2 kB
Release files / just4fun-0.1.1.tar.gz
| Download URL | just4fun-0.1.1.tar.gz |
|---|---|
| Size | 51.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0bef79496c55148d5d092239b3348b81c121c3584f502681c042fee88b65da98
|
|
BLAKE2b-256 checksum How to use checksums |
bf9240fe9359a33eaf5f919e833c7c07d99b5b6dc9f25aae42573a61f95f4aba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.5
|
Release files / just4fun-0.1.1-py3-none-any.whl
| Download URL | just4fun-0.1.1-py3-none-any.whl |
|---|---|
| Size | 33.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
54321ab92bac903f0b8fa6b129b9c7575e72761bb2b57d6aab725a5a20c3c9e6
|
|
BLAKE2b-256 checksum How to use checksums |
f249bc58ff3257e038ab3269c8dd36cc84d8b0eaaa4adcd8e8bde6882e61572b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.5
|
Security for just4fun 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.