Get, clean, convert and validate input.
Project description
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 quick start guide 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 (part one and part two) 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+
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
File details
Details for the file cooked_input-0.5.4-py3.9.egg
.
File metadata
- Download URL: cooked_input-0.5.4-py3.9.egg
- Upload date:
- Size: 183.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0.post20201009 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.9.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cfa304d8babda244c2149954fc7ff029cc3778fd9f839642a4e7161d9b5bebc2 |
|
MD5 | d3106ecedbc69832a3ab79d84e43dfda |
|
BLAKE2b-256 | 5b61656af6c8ae3f0a197c2debf70ae8d43f25e074f077749a6433b940ca10e8 |
File details
Details for the file cooked_input-0.5.4-py2.py3-none-any.whl
.
File metadata
- Download URL: cooked_input-0.5.4-py2.py3-none-any.whl
- Upload date:
- Size: 79.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0.post20201009 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.9.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 33da8a4810d5a437a4c5b903eb3654e27ee81bcd644fe8beb64aee0cb6e6846a |
|
MD5 | 3163f867a60d2f0f0b41fa9fc4bde6bc |
|
BLAKE2b-256 | 079815751466d07b9fe98eb44fb37346c2b079dc08d76130f765fdbc30c3c0fe |