Skip to main content

A Dictionary API Wrapper for Python

Project description

dictionarysnek

Table of contents

General info

A Dictionary API Wrapper for Python.

Dependencies

Project is created with:

  • Requests Version: 2.26.0
  • Dictionary API: dictionaryapi.dev

Setup

Python-pip:

$ pip install dictionarysnek

Poetry:

$poetry add dictionarysnek

Usage

  • Import the module: from dictionarysnek import dictionarysnek
  • Get the data: data = dictionarysnek.getdata("mundane")
  • Pass it to the desired function to get the output: synonyms = dictionarysnek.getsyn(data)

Functions

  • Get Synonyms -> Returns an array of Synonyms -> dictionarysnek.getsyn(json: list)
  • Get Antonyms -> Returns an array of Antonyms -> dictionarysnek.getant(json: list)
  • Get Definition -> Returns the definition of the given word -> dictionarysnek.getdefi(json: list)
  • Get Word -> Returns the given word -> dictionarysnek.getword(json: list)
  • Get Phonetic -> Returns the phonetic of the given word -> dictionarysnek.getphonetic(json: list)
  • Get Part of Speech -> Returns the Part of Speech of the given word -> dictionarysnek.getpos(json: list)
  • Get Example -> Gives an usage of the given word -> dictionarysnek.getex(json: list)
  • Get Origin -> Gives information about the origin of the given word -> dictionarysnek.getorigin(json: list)

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

dictionarysnek-0.0.2.tar.gz (2.2 kB view details)

Uploaded Source

Built Distribution

dictionarysnek-0.0.2-py3-none-any.whl (2.2 kB view details)

Uploaded Python 3

File details

Details for the file dictionarysnek-0.0.2.tar.gz.

File metadata

  • Download URL: dictionarysnek-0.0.2.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.10 CPython/3.9.7 Linux/5.10.16.3-microsoft-standard-WSL2

File hashes

Hashes for dictionarysnek-0.0.2.tar.gz
Algorithm Hash digest
SHA256 a7f7bc8dfb19a2cd2afe33702104c7789b3f34c96722984304f30ed693917633
MD5 07781d1401207ec17085061fab2f490d
BLAKE2b-256 5fe15346e8a5fd2ea5f1a23d7c6d955b19766b2024f9ddedf7c49b7d3a735196

See more details on using hashes here.

File details

Details for the file dictionarysnek-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: dictionarysnek-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 2.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.10 CPython/3.9.7 Linux/5.10.16.3-microsoft-standard-WSL2

File hashes

Hashes for dictionarysnek-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 872e5175fa610da78c26f188af3ccb10bd2d37d59c5220c04c36b2fe5881a58a
MD5 39b5dfc829de580e6ee4ab2b3535d1bc
BLAKE2b-256 17d5c2237fde121a85805cc078c8eeda44bb4cbd6e88c136d3ab47290a4860c6

See more details on using hashes here.

Supported by

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