# Programmers' dice
Generates excuses for programmers.
Inspired by this product: https://pretendstore.co/products/pocket-developer
## Installation
```bash
pip install programmers_dice
```
## Usage
In your terminal, type `roll` to get an excuse:
```console
$ roll
Ctrl+Shift+R should fix it.
```
Or, type `roll --count N` for `N` excuses to choose from!
```console
$ 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.txt` to do an editable install
- Run `pytest` to 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:
```bash
rm -rf build dist
python setup.py sdist bdist_wheel
```
Then upload it to PyPI using [twine](https://twine.readthedocs.io/en/latest/#installation):
```bash
twine upload dist/*
```
Raw data
{
"_id": null,
"home_page": "https://github.com/tusharsadhwani/programmers-dice",
"name": "programmers-dice",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": "",
"keywords": "",
"author": "Tushar Sadhwani",
"author_email": "tushar.sadhwani000@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/4d/b3/9d41e955a8d67c9e5a7f13fd78071544c75b08e044e2bff4e374fdc454da/programmers-dice-1.0.0.tar.gz",
"platform": null,
"description": "# Programmers' dice\n\nGenerates excuses for programmers.\n\nInspired by this product: https://pretendstore.co/products/pocket-developer\n\n## Installation\n\n```bash\npip install programmers_dice\n```\n\n## Usage\n\nIn your terminal, type `roll` to get an excuse:\n\n```console\n$ roll\nCtrl+Shift+R should fix it.\n```\n\nOr, type `roll --count N` for `N` excuses to choose from!\n\n```console\n$ roll -c 3\nMy wrist hurts.\nIt's a feature.\nClear your cache.\n```\n\n## Local Development / Testing\n\n- Create and activate a virtual environment\n- Run `pip install -r requirements-dev.txt` to do an editable install\n- Run `pytest` to run tests\n\n## Type Checking\n\nRun `mypy .`\n\n## Create and upload a package to PyPI\n\nMake sure to bump the version in `setup.cfg`.\n\nThen run the following commands:\n\n```bash\nrm -rf build dist\npython setup.py sdist bdist_wheel\n```\n\nThen upload it to PyPI using [twine](https://twine.readthedocs.io/en/latest/#installation):\n\n```bash\ntwine upload dist/*\n```\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Generates excuses for programmers.",
"version": "1.0.0",
"project_urls": {
"Homepage": "https://github.com/tusharsadhwani/programmers-dice"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "6910350539938d3c6f9bf5e181200435d0ac9a1369220bdb7a33b51c4327e100",
"md5": "596ba00144ed28dcbd0ae9e2f15b9586",
"sha256": "4c71f0c6edb0b3def7a5f9e921447a3ef1cfa07f84ac62af5116cd99846c7784"
},
"downloads": -1,
"filename": "programmers_dice-1.0.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "596ba00144ed28dcbd0ae9e2f15b9586",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 4575,
"upload_time": "2024-02-03T10:02:23",
"upload_time_iso_8601": "2024-02-03T10:02:23.778205Z",
"url": "https://files.pythonhosted.org/packages/69/10/350539938d3c6f9bf5e181200435d0ac9a1369220bdb7a33b51c4327e100/programmers_dice-1.0.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "4db39d41e955a8d67c9e5a7f13fd78071544c75b08e044e2bff4e374fdc454da",
"md5": "d0c657bb59f43c9fb2aa8b4014924b8c",
"sha256": "b8b5e6261f9573fe7217658120df895cd7fc2f91f8c8f1a65f8c997fa6d4db42"
},
"downloads": -1,
"filename": "programmers-dice-1.0.0.tar.gz",
"has_sig": false,
"md5_digest": "d0c657bb59f43c9fb2aa8b4014924b8c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 3668,
"upload_time": "2024-02-03T10:02:25",
"upload_time_iso_8601": "2024-02-03T10:02:25.235167Z",
"url": "https://files.pythonhosted.org/packages/4d/b3/9d41e955a8d67c9e5a7f13fd78071544c75b08e044e2bff4e374fdc454da/programmers-dice-1.0.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-02-03 10:02:25",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "tusharsadhwani",
"github_project": "programmers-dice",
"github_not_found": true,
"lcname": "programmers-dice"
}