Skip to main content
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 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

cooked_input-0.6.0.tar.gz (86.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cooked_input-0.6.0-py3-none-any.whl (77.6 kB view details)

Uploaded Python 3

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

Hashes for cooked_input-0.6.0.tar.gz
Algorithm Hash digest
SHA256 7f2d195906af88f286ef0ffc0080aad899a94f3e201b5476712a83f0453ae4a7
MD5 f0ea43e36664e8483228ba0ceb247acf
BLAKE2b-256 0e4458fa91e768ebf63ddd696025043f8116cc1ebc9eb3f06549173166eac21b

See more details on using hashes here.

Provenance

The following attestation bundles were made for cooked_input-0.6.0.tar.gz:

Publisher: release.yml on lwanger/cooked_input

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for cooked_input-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 189488d1c5b24a5c1577d08c1f188a4cd4240678dd36c4745a465b84760d7921
MD5 7018ef37817f4e27ff1b1beb1f97577d
BLAKE2b-256 b42b278a9711a53ef5ab00c04ac892147287bc6fbe20f278f4dd3b5a061633e9

See more details on using hashes here.

Provenance

The following attestation bundles were made for cooked_input-0.6.0-py3-none-any.whl:

Publisher: release.yml on lwanger/cooked_input

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page