Skip to main content

A library for urbandictionary.com

Project description

urbdict

A library for urbandictionary.com

Install:

pip install urbdict

Usage:

Command line:

$ urbdict xterm
xterm

  Godly creature, omnipotent, guru in every way imaginable. 

Ex: I wish i was an xterm

 by Anonymous August 26, 2003

https://www.urbandictionary.com:443/define.php?term=xterm

Python:

$ python3
Python 3.9.12 (main, Jun  1 2022, 06:36:29) 
[Clang 12.0.0 ] :: Anaconda, Inc. on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import urbdict
>>> x = urbdict.define("xterm")
>>> print(x)
{'word': 'xterm', 'definition': 'Godly creature, omnipotent, guru in every way imaginable.', 'example': 'I wish i was an xterm', 'contributor': 'by Anonymous August 26, 2003', 'url': 'https://www.urbandictionary.com:443/define.php?term=xterm'}
>>> print(x["definition"])
Godly creature, omnipotent, guru in every way imaginable.
>>>  

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

urbdict-0.1.0.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

urbdict-0.1.0-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: urbdict-0.1.0.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.12

File hashes

Hashes for urbdict-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3b26b7da51d02395e6f06bd480eb0f9f3d7aafea7d2976c05bbc90d2c0dd753b
MD5 cebe84d2ca914cebb326e5113ec92a2d
BLAKE2b-256 ed158ba2aa4e419cc6b5a136c87b71ebd4e9d348442eddfe9dea59014c46344e

See more details on using hashes here.

File details

Details for the file urbdict-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: urbdict-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.12

File hashes

Hashes for urbdict-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 987e3527e2838c2cb644bb62a2a66e629795eaaf5894de5f1bd8bbc95f2696c2
MD5 39f23b10395ab9bc81b371de3c9a0770
BLAKE2b-256 120da8d17558294c045c14379a28a96b050a0eb0af38e79e76b9a40a046d34d2

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