Skip to main content

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.
>>>  

Metadata

Release files for urbdict 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 urbdict 0.1.0
File Size Uploaded Provenance Actions
urbdict-0.1.0.tar.gz 3.4 kB Without provenance Details for urbdict-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for urbdict 0.1.0
File Interpreter ABI Platform Actions
urbdict-0.1.0-py3-none-any.whl Python 3 none any Details for urbdict-0.1.0-py3-none-any.whl

Total release size: 7.4 kB

Release files / urbdict-0.1.0.tar.gz

Download URL urbdict-0.1.0.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
3b26b7da51d02395e6f06bd480eb0f9f3d7aafea7d2976c05bbc90d2c0dd753b
BLAKE2b-256 checksum
How to use checksums
ed158ba2aa4e419cc6b5a136c87b71ebd4e9d348442eddfe9dea59014c46344e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.12

Release files / urbdict-0.1.0-py3-none-any.whl

Download URL urbdict-0.1.0-py3-none-any.whl
Size 4.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
987e3527e2838c2cb644bb62a2a66e629795eaaf5894de5f1bd8bbc95f2696c2
BLAKE2b-256 checksum
How to use checksums
120da8d17558294c045c14379a28a96b050a0eb0af38e79e76b9a40a046d34d2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.12

Security for urbdict 0.1.0

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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