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 Support
cooked_input requires Python 3.10 or later, and has been tested through Python 3.13. Python 2 is no longer supported (the last release supporting it is v0.5.4).
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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cooked_input-0.6.0.tar.gz.
File metadata
- Download URL: cooked_input-0.6.0.tar.gz
- Upload date:
- Size: 86.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7f2d195906af88f286ef0ffc0080aad899a94f3e201b5476712a83f0453ae4a7
|
|
| MD5 |
f0ea43e36664e8483228ba0ceb247acf
|
|
| BLAKE2b-256 |
0e4458fa91e768ebf63ddd696025043f8116cc1ebc9eb3f06549173166eac21b
|
Provenance
The following attestation bundles were made for cooked_input-0.6.0.tar.gz:
Publisher:
release.yml on lwanger/cooked_input
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cooked_input-0.6.0.tar.gz -
Subject digest:
7f2d195906af88f286ef0ffc0080aad899a94f3e201b5476712a83f0453ae4a7 - Sigstore transparency entry: 2405128437
- Sigstore integration time:
-
Permalink:
lwanger/cooked_input@2abd3d486b1af32b03aed070488c0091f4eb85b4 -
Branch / Tag:
refs/tags/v0.6.0 - Owner: https://github.com/lwanger
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@2abd3d486b1af32b03aed070488c0091f4eb85b4 -
Trigger Event:
push
-
Statement type:
File details
Details for the file cooked_input-0.6.0-py3-none-any.whl.
File metadata
- Download URL: cooked_input-0.6.0-py3-none-any.whl
- Upload date:
- Size: 77.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
189488d1c5b24a5c1577d08c1f188a4cd4240678dd36c4745a465b84760d7921
|
|
| MD5 |
7018ef37817f4e27ff1b1beb1f97577d
|
|
| BLAKE2b-256 |
b42b278a9711a53ef5ab00c04ac892147287bc6fbe20f278f4dd3b5a061633e9
|
Provenance
The following attestation bundles were made for cooked_input-0.6.0-py3-none-any.whl:
Publisher:
release.yml on lwanger/cooked_input
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cooked_input-0.6.0-py3-none-any.whl -
Subject digest:
189488d1c5b24a5c1577d08c1f188a4cd4240678dd36c4745a465b84760d7921 - Sigstore transparency entry: 2405128548
- Sigstore integration time:
-
Permalink:
lwanger/cooked_input@2abd3d486b1af32b03aed070488c0091f4eb85b4 -
Branch / Tag:
refs/tags/v0.6.0 - Owner: https://github.com/lwanger
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@2abd3d486b1af32b03aed070488c0091f4eb85b4 -
Trigger Event:
push
-
Statement type: