Skip to main content

anecAPI

PyPI version Downloads License: MIT

Description

anecAPI allows you to display funny (or not) USSR/Russian jokes (also called anecdotes).

All jokes are in Russian only.

Installation

pip install anecapi

Example

In Console

C:\anecAPI> python anecAPI.py -h
usage: anecAPI.py [-h] [-m] [-s] [-a]

Displays a funny (or not) USSR/Russian joke (also called anecdote).

optional arguments:
  -h, --help    show this help message and exit
  -m, --modern  display a modern Russian joke
  -s, --soviet  display an old USSR joke
  -a, --any     display a USSR/Russian joke (default)

C:\anecAPI> python anecAPI.py -m
Штирлиц с Навальным пили водку и вдруг Навальный отрубился
"Новичок"- подумал Штирлиц

In Code

from anecAPI import anecAPI

print(anecAPI.modern_joke()) # Displays a modern Russian joke
print(anecAPI.soviet_joke()) # Displays an old USSR joke
print(anecAPI.random_joke()) # Displays a random USSR or Russian joke

Metadata

Release files for anecapi 0.1.0

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

Source distribution (sdist)

Source distribution for anecapi 0.1.0
File Size Uploaded
anecapi-0.1.0.tar.gz 328.0 kB Details

Release files / anecapi-0.1.0.tar.gz

Download URL anecapi-0.1.0.tar.gz
Size 328.0 kB
Tags Source
SHA-256 checksum
How to use checksums
b01b64ea06ad4b4b8ce1b05ce70c7d6fd7beebd1506fceaf42cac821c8b9f232
BLAKE2b-256 checksum
How to use checksums
6a26ba12b20fe99d6f49a0b47300e4ccc478e381fa767394ed4159002f72c90e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.6 tqdm/4.63.0 importlib-metadata/4.8.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.2

Release history Release notifications | RSS feed

This release

0.1.0 This release

1 release file

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