Programmers' dice
Generates excuses for programmers.
Inspired by this product: https://pretendstore.co/products/pocket-developer
Installation
pip install programmers_dice
Usage
In your terminal, type roll to get an excuse:
$ roll
Ctrl+Shift+R should fix it.
Or, type roll --count N for N excuses to choose from!
$ roll -c 3
My wrist hurts.
It's a feature.
Clear your cache.
Local Development / Testing
- Create and activate a virtual environment
- Run
pip install -r requirements-dev.txtto do an editable install - Run
pytestto run tests
Type Checking
Run mypy .
Create and upload a package to PyPI
Make sure to bump the version in setup.cfg.
Then run the following commands:
rm -rf build dist
python setup.py sdist bdist_wheel
Then upload it to PyPI using twine:
twine upload dist/*
Metadata
Release files for programmers-dice 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| programmers-dice-1.0.0.tar.gz | 3.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| programmers_dice-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.2 kB
Release files / programmers-dice-1.0.0.tar.gz
| Download URL | programmers-dice-1.0.0.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b8b5e6261f9573fe7217658120df895cd7fc2f91f8c8f1a65f8c997fa6d4db42
|
|
BLAKE2b-256 checksum How to use checksums |
4db39d41e955a8d67c9e5a7f13fd78071544c75b08e044e2bff4e374fdc454da
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.12.1
|
Release files / programmers_dice-1.0.0-py3-none-any.whl
| Download URL | programmers_dice-1.0.0-py3-none-any.whl |
|---|---|
| Size | 4.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4c71f0c6edb0b3def7a5f9e921447a3ef1cfa07f84ac62af5116cd99846c7784
|
|
BLAKE2b-256 checksum How to use checksums |
6910350539938d3c6f9bf5e181200435d0ac9a1369220bdb7a33b51c4327e100
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.12.1
|