semvec/pypi-packages huggingface dataset:
type-valid 0.1.5
Python Type validator with decorators
License: MIT
Requires Python: >=3.5.0

# python-type-valid

[![Python type valid Build passed](https://travis-ci.org/edmhs/python-type-valid.svg?branch=master)](https://travis-ci.org/edmhs/python-type-valid)
[![Python type valid Code Coverage](https://codecov.io/gh/codecov/example-python/branch/master/graph/badge.svg)](https://codecov.io/gh/edmhs/python-type-valid)
[![Maintainability](https://api.codeclimate.com/v1/badges/a99a88d28ad37a79dbf6/maintainability)](https://codeclimate.com/github/edmhs/python-type-valid)


Python type validation decorator, validates input and output types

### Installation
~~~sh
pip install type-valid
~~~

### Usage
~~~python
from type_valid import type_valid

@type_valid
def hello(name: str) -> str:
    return name

#valid
hello("Bob")

#invalid
hello(1)

@type_valid
def user(name: str, age: int, salary: float) -> str:
    return name+str(age)+str(salary)

#valid
user(name="Bob", age=25, salary=1000.00)

~~~

### Raises TypeError
~~~sh
TypeError: in method 'hello', Argument 'name' is not of type <class 'str'>, received <class 'int'>
~~~

### Todo:
* Validate input DONE
* Validate Output DONE
* Validate input **kwargs ?
* Validate mandatory **kwargs ?
* Multiple types ?

### Types examples

~~~
str ""
int 4
float 10.5
list []
tuple ()
...
~~~
playscripter 0.1
A Python alternative to making playscripts.
License: MIT
Requires Python: >=3

# Scripter

Make a script using Python!

## Installing

Currently, you can do:
```
git clone https://github.com/NCPlayz/Scripter
cd Scripter
python3 -m pip install -U .
```

## Example

```python
from scripter import Script

my_script = Script("Macbeth", "Shakespeare")

act1 = my_script.add_act()

act1.add_scene("A Desert Place. Thunder and lightning. Enter three Witches.")

act1.add_dialogue("When shall we three meet again\nIn thunder lightning, or in rain?", author="First Witch")
# Rest of Act 1 Scene 1

if __name__ == '__main__':
    my_script.create("Macbeth")
    # Result in ./tests
```

## Requirements
- `Python` language - version `3.0.0+`
- `python-docx` library - version `0.8.7`
gypse 0.2
Gypse analyzes and reveals information of the text files that you have. It identifies things like URLs, E-Mails and Phone Numbers, which are difficult to extract.
License: MIT

.. image:: https://travis-ci.org/aeroxis/gypse.svg?branch=master
   :target: https://travis-ci.org/aeroxis/gypse

.. image:: https://media.githubusercontent.com/media/aeroxis/gypse/master/images/logo.png
    :target: https://pypi.org/project/gypse/

What is Gypse?
--------------

Have you ever tried looking for interesting things like URLs, E-Mails or Phone numbers in a bunch of text files? 
That is going to get really tough, really fast. It can be downright painful. 

Gypse is here to help. You simply install 'gypsy' with 'pip', and have Gypse look at your text files.

.. image:: https://media.githubusercontent.com/media/aeroxis/gypse/master/images/gypsy_screen_grab.gif
    :target: https://pypi.org/project/gypse/

Requirements
------------

You will need Python 3.4 or higher for Gypse to work properly

Getting Started
---------------

    pip install gypse

Usage
-----

Gypsy comes with some sample data that you can clone and play with.

    git clone https://github.com/aeroxis/gypse /tmp/gypsy
    cd /tmp/gypsy
    gypse url-extractor ./samples/ --margins 5

This will yield something like the following: