semvec/pypi-packages huggingface dataset:
dequote-annotations 0.2.3
A tool to automatically replace string literals in type annotations.
License: MIT
Requires Python: >=3.6.1

[![Build Status](https://github.com/MarcoGorelli/dequote-annotations/workflows/tox/badge.svg)](https://github.com/MarcoGorelli/dequote-annotations/actions?workflow=tox)
[![Coverage](https://codecov.io/gh/MarcoGorelli/dequote-annotations/branch/main/graph/badge.svg)](https://codecov.io/gh/MarcoGorelli/dequote-annotations)
[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/MarcoGorelli/dequote-annotations/main.svg)](https://results.pre-commit.ci/latest/github/MarcoGorelli/dequote-annotations/main)

dequote-annotations
================

A pre-commit hook to automatically remove string literals as type hints from argument, return, and class variable type annotations. Will only make the replacement if your file contains `from __future__ import annotations`.

## Installation

`pip install dequote-annotations`
## As a pre-commit hook

See [pre-commit](https://github.com/pre-commit/pre-commit) for instructions

Sample `.pre-commit-config.yaml`:

```yaml
-   repo: https://github.com/MarcoGorelli/dequote-annotations
    rev: v0.2.3
    hooks:
    -   id: dequote-annotations
```

## Command-line example

```console
$ cat myfile.py
myvar: 'str'
$ dequote-annotations myfile.py
$ cat myfile.py
myvar: str
```

## See also

Check out [pyupgrade](https://github.com/asottile/pyupgrade), which I learned a lot from when writing this.
madlibspy 2.3
A library to create your own madlibs game!
License: MIT
Keywords: madlibspy,madlibs,py,python,game,madlibs.py

# **MadlibsPy**
Create your own madlibs game!

## **Installation**
Use `python -m pip install madlibspy`

## **Example**
```py
import madlibspy as madlibs

data = madlibs.Madlibs(API_TOKEN) # You need an API token from api.bytestobits.dev

answers = [input(f"Enter a/an {i}: ") for i in data.variables]

text = data.convert(answers)

"""text = answers >> data
This also works, it's a faster way of convertion.
"""
print(data.title)
print(text)
```
*And much more!*

## **Documentation**
Coming soon...!