Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

dictionarysnek

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dictionarysnek

A Dictionary API Wrapper for Python

  • 0.0.2
  • PyPI
  • Socket score

Maintainers
1

dictionarysnek

Table of contents

  • General info
  • Dependencies
  • Setup
  • Usage

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)

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc