Skip to main content

Russian anecdotes and jokes

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

anecapi-0.1.0.tar.gz (328.0 kB view details)

Uploaded Source

File details

Details for the file anecapi-0.1.0.tar.gz.

File metadata

  • Download URL: anecapi-0.1.0.tar.gz
  • Upload date:
  • Size: 328.0 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for anecapi-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b01b64ea06ad4b4b8ce1b05ce70c7d6fd7beebd1506fceaf42cac821c8b9f232
MD5 840ef24dad83bec38f407c2f45ed1f60
BLAKE2b-256 6a26ba12b20fe99d6f49a0b47300e4ccc478e381fa767394ed4159002f72c90e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page