Skip to main content

Pun CLI

pun-cli is a Python-based command-line tool that generates a random pun based on a given keyword.

Installation

You can install pun-cli via pip:

pip install pun-cli

Usage

pun-cli [-h] [--keyword KEYWORD] [--version] [--add]

Optional Arguments

  --keyword (-k): A keyword to search for puns. By default, pun-cli generates a random pun.
  --version (-v): Show the version number and exit.
  --add (-a): Add a pun to the repository.

Examples

$ pun-cli
Why was the math book sad? Because it had too many problems.

$ pun-cli -k cheese
I’m reading a book about anti-gravity. It’s impossible to put down.

Adding a Pun

To add a pun to the repository, follow these steps:

  1. Fork the pun-cli repository.
  2. Clone your fork to your local machine.
  3. Add your pun to pun_repository.txt file.
  4. Commit your changes and push to your fork.
  5. Create a pull request to merge your changes into the main pun-cli repository.

Contributing

If you'd like to contribute to pun-cli, please open an issue or a pull request on the GitHub repository.

License

pun-cli is licensed under the MIT License.

Metadata

Release files for pun-cli 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pun-cli 0.1.4
File Size Uploaded Provenance
pun_cli-0.1.4.tar.gz 3.3 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for pun-cli 0.1.4
File Interpreter ABI Platform
pun_cli-0.1.4-py3-none-any.whl Python 3 none any Details

Total release size: 7.7 kB

Release files / pun_cli-0.1.4.tar.gz

Download URL pun_cli-0.1.4.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
6cba36504c873d539399bbe1be7577dcbbd84b8c4d71ed4163ae8a31cb1da785
BLAKE2b-256 checksum
How to use checksums
f47ef381682d78db2588fe82e45cde20c71448b75fcfdaa223d46ecd314be6ed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.4.1 CPython/3.10.7 Linux/5.19.0-38-generic

Release files / pun_cli-0.1.4-py3-none-any.whl

Download URL pun_cli-0.1.4-py3-none-any.whl
Size 4.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c0c62bbe2777dfd8ad649bd92ec3520cdfbcdfab433e5f97a4990f593dc0cc98
BLAKE2b-256 checksum
How to use checksums
aca6fbc7c6e58c5138000fe1af66170d7d8e9e54eecdab58f09069018f9cad32
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.4.1 CPython/3.10.7 Linux/5.19.0-38-generic

Security for pun-cli 0.1.4

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page