Skip to main content

JokeKappa

https://img.shields.io/travis/CodeTengu/JokeKappa/master.svg?style=flat-square https://img.shields.io/pypi/v/jokekappa.svg?style=flat-square

A library for delivering one-line programming jokes (mostly in Chinese). Humor is a solemn thing, you should take it seriously.

Inspired by pyjokes.

Installation

$ pip install jokekappa

Usage

In command-line interface:

$ jokekappa
小明白天只是一名普通的軟體工程師,但是只要一到了夜晚,他就會搖身一變,成為一名加班的軟體工程師

$ jokekappa all
Hadoop 工程師睡不著的時候都會 Map/Reduce 羊
新來的 Designer 趁特價的時候幫自己買了一本 GoF Design Patterns
不能信任那些 Terminal 或編輯器用白底的人
...

$ jokekappa update

In Python:

import jokekappa

joke = jokekappa.get_joke()
print(joke['content'])
# ♫ 每條大街小巷,每個工程師的嘴裡,見面第一句話,就是不要 Deploy ♫

for joke in jokekappa.get_jokes():
    print(joke['content'])
    # 我早年都是用 vim 寫程式,也說不上特別喜歡,主要是當時還不知道怎麼退出 vim

Metadata

Release files for jokekappa 0.1.9

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

Built distribution (wheel)

Table of built distributions (wheels) for jokekappa 0.1.9
File Interpreter ABI Platform
jokekappa-0.1.9-py2.py3-none-any.whl Python 2, Python 3 none any Details

Release files / jokekappa-0.1.9-py2.py3-none-any.whl

Download URL jokekappa-0.1.9-py2.py3-none-any.whl
Size 19.6 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
7842ee5d8c01cb3856b5b46b620b21162024015aca18944fc5ed8a0699ba91e5
BLAKE2b-256 checksum
How to use checksums
e059b8c7f35505b688df1f83c1a56d3d651b4760cb94576f3c412d1d3c12b297
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for jokekappa 0.1.9

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.

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