pyjokes
One line jokes for programmers (jokes as a service)
Decision gist · record as of 2026-08-14
Yes, if you want a lightweight, zero-dependency way to add programmer jokes to your terminal or scripts. The dormant maintenance status is not a blocker for a static joke database, but be aware that no new jokes or updates are forthcoming. Install only if novelty or entertainment is the goal, not if you expect active development or content curation.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.9 or later (supports up to 3.12).
- Low install friction with no runtime dependencies.
- Dormant maintenance status (734 days since last release) means bug fixes and new content are unlikely, though the package remains compatible with current Python versions.
License · maintenance · safety
BSD-3-Clause (permissive) — BSD-3-Clause permissive license allows commercial and private use with minimal restrictions; attribution and license text preservation are required.
last release 2024-08-10 (734 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 187,595 downloads/mo, #9,960 on PyPI
Alternatives
Verify before relying
pip install pyjokes
import pyjokes
print(pyjokes.get_joke())
# Or from command line:
# pyjoke- Whether the joke database is actively curated or if new jokes are added despite dormant maintenance status.
- Performance characteristics when iterating through all jokes or using the forever() generator on large datasets.
What it is and what it does
pyjokes is a lightweight library that serves one-liner jokes targeted at programmers. It can be used as a command-line tool (pyjoke command) or imported as a Python module to fetch jokes programmatically. The package includes jokes in multiple languages and categories (such as 'chuck' for Chuck Norris jokes), and offers functions to retrieve a single random joke, all jokes in a category, or an infinite stream via a generator.
The package has no runtime dependencies and installs cleanly on modern Python versions (3.9–3.12). However, it is in dormant maintenance—the last release was 734 days ago—so new jokes, bug fixes, and feature additions are not expected. It is suitable for adding levity to terminal sessions or as a novelty inclusion in applications, but should not be relied upon for active development or content updates.
Use it for
- Display a random programmer joke in your terminal each time you open a shell by adding pyjoke to .bashrc or .zshrc.
- Fetch a joke programmatically in a Python script or application to add humor to logs, status messages, or welcome screens.
- Build a joke rotation feature that cycles through all jokes in a specific language or category using get_jokes().
- Create a continuous joke stream for entertainment or testing purposes using the forever() generator function.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you want a lightweight, zero-dependency way to add programmer jokes to your terminal or scripts.
The dormant maintenance status is not a blocker for a static joke database, but be aware that no new jokes or updates are forthcoming. Install only if novelty or entertainment is the goal, not if you expect active development or content curation.
Install
pyjokes on PyPI
Before you install
Low install friction with no runtime dependencies. Dormant maintenance status (734 days since last release) means bug fixes and new content are unlikely, though the package remains compatible with current Python versions.
Requires Python 3.9 or later (supports up to 3.12).
License in practice
BSD-3-Clause permissive license allows commercial and private use with minimal restrictions; attribution and license text preservation are required.
Quickstart
pip install pyjokes
import pyjokes
print(pyjokes.get_joke())
# Or from command line:
# pyjoke
Verify before relying
- Whether the joke database is actively curated or if new jokes are added despite dormant maintenance status.
- Performance characteristics when iterating through all jokes or using the forever() generator on large datasets.
Package facts
| License | BSD-3-Clause permissive |
| Python support | Supports the current Python release <4.0,>=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Dormant 734 days since the last release |
| First released | |
| Downloads | 187,595 / month, #9,960 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: BSD LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.9 |
Evidence: pyjokes-0.8.3-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “programmer jokes”
- pyjokesProvides one-liner programmer jokes accessible via command line or…
- universal-silabs-flasherFlashes firmware onto Silicon Labs radios (EmberZNet, CPC, Spinel) by…
- pyocdpyOCD is a Python-based debugger and programmer for Arm Cortex-M…
Give your agent the search over MCP, or paste the wish link into any chat.
More Utilities packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.
Install it if you need to display or transform source code.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
See also linode-cli · youtube-transcript-api · langchain-together · httpie · clabe · llama-index-llms-bedrock · pycowsay · cyrtranslit