semvec/pypi-packages huggingface dataset:
pytionary 1
Python Dictionary (meaning, synonyms, antonyms, pos)
Requires Python: >=3
Keywords: dictionary pytionary glossary

Pytionary - A cool dictionary module for python to get meanings, pos, synonyms, antonyms of the given word. <br /> 
It uses requests and BeautifulSoup as dependencies.
<h3>Installation</h3>
The easiest way to install is through pip:

```
pip install pytionary
```

With Easy_Install
```
easy_install pytionary
```
<h3>Usage</h3>
It is very easy to get started with pytionary. You just create an instance of the Pytionary class.

```
from pytionary import Pytionary    #import module
gloss = Pytionary()    #create object
```

This will create an instance of the pytionary class. Now, you have access to its methods.<br /><br />
To get the meaning of the word:
```
print(gloss.meanings('tuna'))
```
This returns a list of the meanings. For example: 
```
['any of several large food and game fishes of the family Scombridae, inhabiting temperate and tropical seas.Compare albacore, bluefin tuna, yellowfin tuna.', 'any of various related fishes.', ' Also called tuna fish. the flesh of the tuna, used as food.', 'any of various prickly pears, especially either of two erect, treelike species, Opuntia tuna or O.
ficus-indica, of Mexico, bearing a sweet, edible fruit.', 'the fruit of these plants.', 'Also called: tunny any of various large marine spiny-finned fishes of the genus Thunnus, esp T. thynnus, chiefly of warm waters: family Scombridae .
They have a spindle-shaped body and widely forked tail, and are important food fishes', 'any of various similar and related fishes', 'any of various tropical American prickly pear cacti, esp Opuntia tuna, that are cultivated for their sweet edible fruits', 'the fruit of any of these cacti']
```

For pos (verb/adj/noun)
```
print(gloss.pos('tuna'))
```

For synonyms: 
```
print(gloss.synonyms('tuna'))
```

For antonyms:
```
print(gloss.antonyms('tuna'))
```

<h3>Full Example</h3>

```
from pytionary import Pytionary

word = 'tuna'

gloss = Pytionary() #Create object

print(gloss.pos(word))    #return pos(noun/verb/adj)
print(gloss.meanings(word))    #return meanings
print(gloss.synonyms(word))    #return synonyms
print(gloss.antonyms(word))    #return antonyms
```
rflask 1.1.6
This is a tools for init flask restful api project, this can save your time.
Keywords: flask restful api init

# Init Flask Restful Api

This project is no longer maintained, please visit：https://github.com/Deacone/cookiecutter-flask-rest

![PyPI - Python Version](https://img.shields.io/pypi/pyversions/rflask)
![PyPI - Downloads](https://img.shields.io/pypi/dd/rflask)
![PyPI - Format](https://img.shields.io/pypi/format/rflask)
![PyPI - License](https://img.shields.io/pypi/l/rflask)
![PyPI](https://img.shields.io/pypi/v/rflask)

## Installing

Install and update using `pip`:

```bash
pip install -U rflask
```

## Example

```bash
$ rflask init
    project_name: [flask-restful-api-20200125-090404]
    author: [Deacon]
    author_email: [deacon@example.com]
    description: [Flask restful api project.]
    ...
    ...
    Create file /Users/donghp/Downloads/Git_doc/PythonProject/init-flask-restful-api/flask-restful-api-20200125-090404/supervisord_example.conf

    Done.
```

## Project directory tree

```
.
    ├── applications
    │   ├── test
    │   │   ├── README.rst
    │   │   ├── __init__.py
    │   │   ├── models.py
    │   │   ├── urls.py
    │   │   └── views.py
    │   ├── user
    │   │   ├── README.rst
    │   │   ├── __init__.py
    │   │   ├── models.py
    │   │   └── views.py
    │   └── __init__.py
    ├── enums
    │   └── __init__.py
    ├── exceptions
    │   ├── __init__.py
    │   └── project_excepions.py
    ├── flask_ext
    │   ├── __init__.py
    │   └── logger.py
    ├── logs
    ├── requirements
    │   ├── dev.txt
    │   └── prod.txt
    ├── scripts
    │   ├── __init__.py
    │   └── commands.py
    ├── utils
    │   └── __init__.py
    ├── Dockerfile
    ├── LICENSE
    ├── Pipfile
    ├── README.md
    ├── __init__.py
    ├── app.py
    ├── autoapp.py
    ├── compat.py
    ├── database.py
    ├── docker-compose.yml
    ├── extensions.py
    ├── gunicorn.conf.py
    ├── gunicorn_example.conf.py
    ├── settings.py
    ├── setup.py
    ├── supervisord.conf
    └── supervisord_example.conf

```

Then, you can do like this:

```
$ cd your_project
$ pip install pipenv
$ pipenv install --dev
$ pipenv run python app.py
 * Serving Flask app "autoapp" (lazy loading)
 * Environment: dev
 * Debug mode: on
2020-01-23 13:03:24,151 [4554636736:MainThread] [_internal.py:_internal:_log] [INFO]:  * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)
2020-01-23 13:03:24,152 [4554636736:MainThread] [_internal.py:_internal:_log] [INFO]:  * Restarting with stat
2020-01-23 13:03:24,600 [4616764864:MainThread] [_internal.py:_internal:_log] [WARNING]:  * Debugger is active!
2020-01-23 13:03:24,604 [4616764864:MainThread] [_internal.py:_internal:_log] [INFO]:  * Debugger PIN: 186-303-110
```

## Deploy to docker

In project root direcroty, open terminal:

```
$ git clone ***.git
$ cd <your_project>
$ docker-compose up
```

## Links


* Documentation: https://github.com/Deacone/init-flask-restful-api/blob/master/README.md
* Code: https://github.com/Deacone/init-flask-restful-api
* Issue tracker: https://github.com/Deacone/init-flask-restful-api/issues
* pip: https://pip.pypa.io/en/stable/quickstart/