semvec/pypi-packages huggingface dataset:
apistar-cerberus 0.2.2
Add cerberus type system in Apistar

===============================
apistar-cerberus
===============================

.. image:: https://travis-ci.org/jgirardet/apistar-cerberus.svg?branch=master
    :target: https://travis-ci.org/jgirardet/apistar-cerberus
.. image:: https://coveralls.io/repos/github/jgirardet/apistar-cerberus/badge.svg
   :target: https://coveralls.io/github/jgirardet/apistar-cerberus
.. image:: https://badge.fury.io/py/apistar-cerberus.svg
   :target: https://pypi.python.org/pypi/apistar-cerberus/
   :alt: Pypi package


Add Cerberus type system in Apistar


* License : GNU General Public License v3 
* Documentation: https://apistar-cerberus.readthedocs.org/en/latest/
* Source: https://github.com/jgirardet/apistar-cerberus

Features
--------

- Add `Cerberus`_ support to `Apistar`_ as type system validator via component system.
- Provides `CerberusComp` as Apistar component and `ApistarValidator` as base validator.


Usage
-----

- just add the component to to App, and use ApistarValidator :

.. code-block:: python

	# Main app.y
    from apistar_cerberus import CerberusComp
    ...

    app = App(components= [CerberusComp()])

    # views.py

    from apsistar_cerberus import ApistarValidator
    schema = {"some":"ceberus", "schema"; "here"}

    MyValidator = ApistarValidator(schema)

    def myviews(validator: MyValidator):
   	    return WhatYouWant


- ApistarValidator is not fully required. Apistar just need a custom unique attribute `__name__` to the class to make it work. Remember if you define your own Validator : `__name__` must be unique because it's used by the Injector. ApistarValidator uses the adress in memory which is unique.

- ApistarValidator also add a custom `update` to allow `validate(update=True)` to validator which is not yet supported by Cerberus. It's needed in Apistar because we don't have access to validation after instanciation.


.. _`Apistar`: https://github.com/encode/apistar
.. _Cerberus: https://github.com/pyeve/cerberus
thesaurus-cli 1.0.1
A command line interface for Thesaurus.com

# Thesaurus-cli

Ever had to search for that ~~perfect~~ ~~splendid~~ cromulent word? Faster and easier than a browser,
this CLI is unquestionably, unconditionally, the superlative solution.

## Getting Started



### Prerequisites

Python 3 and pip must be installed. They can be installed as follows:

```
apt-get install python3
apt-get install pip3
```

Other dependencies such as BeautifulSoup will be installed by pip.

### Installing

Thesaurus-cli can be installed through pip:

```
pip install thesaurus-cli
```

### Using
Thesaurus-cli takes a single argument, the word that is being searched. For example, to find synonyms
for "well"

```
thesaurus well
```

You will be able to select a specific definition for the searched word

```
Definitions for well are the following:
    0) healthy
    1) lucky, fortunate
    2) happily, pleasantly; capably
    3) sufficiently
    4) water hole
Select a definition: 
```

After choosing one, you will receive a list of synonyms

```
Synonyms for healthy:
strong
together
...
```