Skip to main content

Get, clean, convert and validate input.

Project description

https://img.shields.io/pypi/v/cooked_input.svg https://img.shields.io/pypi/l/cooked_input.svg https://readthedocs.org/projects/cooked_input/badge/?version=latest https://img.shields.io/pypi/pyversions/cooked_input.svg

Cooked Input Project

cooked_input is a Python package for getting, cleaning, converting, and validating input. If you think of input (raw_input in legacy Python) as raw input, then this is cooked input.

cooked_input provides a simple and safe way to get validated command line input that ranges from the simplest of Python programs to sophisticated database driven applications. Beginner’s can use the provided convenience classes to get simple inputs from the user. Following the tutorial you can be up and running in minutes.

More advanced users can easily create custom classes for sophisticated cleaning and validation. Cooked_input can also be used to create menus and data tables. The latter tutorials and examples show several examples ranging from simple to sophisticated calls.

Cooked_input also provides a pathway to use the same cleaning and validation logic used in the command line for validating web or GUI based inputs.

Documentation

The documentation is available at: http://cooked-input.readthedocs.io/en/latest/

Python 2/3 Support

cooked_input has been tested on Python: 2.7. 3.5, and 3.6

Installation

pip install cooked_input

Project Page

Project information and source code is available at: https://github.com/lwanger/cooked_input

Tutorial

The best way to get started is to read the quick start at: http://cooked-input.readthedocs.io/en/latest/quick_start.html

After that, more advanced usage can be learned from the tutorial at: http://cooked-input.readthedocs.io/en/latest/tutorial.html

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for cooked-input, version 0.5.2
Filename, size File type Python version Upload date Hashes
Filename, size cooked_input-0.5.2-py2.py3-none-any.whl (77.8 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size cooked_input-0.5.2-py3.6.egg (182.5 kB) File type Egg Python version 3.6 Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page