dictionarysnek-0.0.2
توضیحات
A Dictionary API Wrapper for Python
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | dictionarysnek-0.0.2 |
| نام | dictionarysnek |
| نسخه کتابخانه | 0.0.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Nessundorma |
| ایمیل نویسنده | vismdbs@gmail.com |
| آدرس صفحه اصلی | https://github.com/Gizems-Cult/dictionarysnek |
| آدرس اینترنتی | https://pypi.org/project/dictionarysnek/ |
| مجوز | - |
<h1>dictionarysnek</h1>
## Table of contents
* [General info](#general-info)
* [Dependencies](#dependencies)
* [Setup](#setup)
* [Usage](#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)```
نیازمندی
| مقدار | نام |
|---|---|
| >=2.26.0,<3.0.0 | requests |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8,<4.0 | Python |
نحوه نصب
نصب پکیج whl dictionarysnek-0.0.2:
pip install dictionarysnek-0.0.2.whl
نصب پکیج tar.gz dictionarysnek-0.0.2:
pip install dictionarysnek-0.0.2.tar.gz