semvec/pypi-packages huggingface dataset:
input-parser 0.1.0
Argparse for input(): enables easy validation of user inputs
License: MIT
Requires Python: >=3.6
Keywords: input,parser,arguments,stdin

# Input Parser

The input-parser module allows you to easily write scripts requiring user interaction.

The input function allows you to define the response it expects from the user so it can parse out any incorrect responses and request a new one.
It automatically generates failure messages for the user.

## Compatibility

input-parser is being developed with Python 3.8, but is likely to work on older versions (and will be tested when completed).

## Installation

This package currently isn't on PyPi so cannot be installed.
This will be available soon.
In the meantime, simply copy the `src/input-parser/parser.py` file to your project.

## Usage

The module contains only one function called `parse_input()`.
This has two required arguments, the message and the type.
The message will be shown to the user when requesting an input.
The class represents the type of the input required.
At the moment, you can only specify one type, but I plan to allow more to be set in a future update.

## Bugs

If you find a bug in input-parser, probably just create a GitHub issue, bearing in mind that this is still a work in progress, so I've probably already spotted the bug but haven't got around to fixing it.
superintendent 0.6.0
Interactive machine learning supervision.
License: MIT
Requires Python: >=3.6
Keywords: widgets labelling annotation

# Superintendent

[![PyPI version](https://badge.fury.io/py/superintendent.svg)](https://badge.fury.io/py/superintendent)
[![Tests](https://github.com/janfreyberg/superintendent/actions/workflows/test.yml/badge.svg)](https://github.com/janfreyberg/superintendent/actions/workflows/test.yml)
[![Documentation Status](https://readthedocs.org/projects/superintendent/badge/?version=latest)](https://superintendent.readthedocs.io/en/latest/?badge=latest)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![Binder](https://mybinder.org/badge.svg)](https://mybinder.org/v2/gh/janfreyberg/superintendent/master)
[![Coverage Status](https://coveralls.io/repos/github/janfreyberg/superintendent/badge.svg)](https://coveralls.io/github/janfreyberg/superintendent)


---

![](docs/img/logo.png)

**`superintendent`** provides an `ipywidget`-based interactive labelling tool
for your data. It allows you to flexibly label all kinds of data. It also allows
you to combine your data-labelling task with a statistical or machine learning
model to enable quick and practical active learning.

## Getting started

Take a look at the documentation: http://www.janfreyberg.com/superintendent/

It has some explanations of how the library works, and it also has many
examples.

If you'd like to try the library without installing it, check out the
[repository on binder](https://mybinder.org/v2/gh/janfreyberg/superintendent/master?filepath=examples.ipynb).

## Installation

```
pip install superintendent
```

If you want to also use the keyboard shortcuts for labelling faster, you will
also have to enable the ipyevents jupyter extension:

```
jupyter nbextension enable --py --sys-prefix ipyevents
```

If you also want to run the examples, you need three additional packages:
`requests`, `bs4` and `wordcloud`. You can install them via pip by running:

```
pip install superintendent[examples]
```

If you want to contribute to `superintendent`, you will need to install the test
dependencies as well. You can do so with
`pip install superintendent[tests,examples]`


## Acknowledgements

Much of the initial work on `superintendent` was done during my time at
[Faculty AI](https://faculty.ai/).