*work in progress*
# EnhancedInput
### The easiest way to deal with input in Python
It's as easy as this!
```python
from enhancedinput import EnhancedInput
# Create an EnhancedInput object
inp = EnhancedInput(theme=Themes.fancy)
# Get input from the user, with a length validator 1-20 characters
name = inp.get("What is your name?", validators=[Validators.LengthValidator(1, 20)])
# Get input from the user, with a range validator 0-120,
# which will automatically be valited to an int and returned as an int
age = inp.get("What is your age?", input_type=int,
validators=[Validators.RangeValidator(0, 120)])
```
Raw data
{
"_id": null,
"home_page": "https://github.com/alec-jensen/EnhancedInput",
"name": "EnhancedInput",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.11",
"maintainer_email": "",
"keywords": "input,enhanced,python",
"author": "Alec Jensen",
"author_email": "Alec Jensen <alec@alecj.tk>",
"download_url": "https://files.pythonhosted.org/packages/eb/fd/c2eb120296862ea56bb967ce81b068de074268d40c06283648c166f3f545/EnhancedInput-0.1.1.tar.gz",
"platform": "any",
"description": "*work in progress*\n\n# EnhancedInput\n### The easiest way to deal with input in Python\nIt's as easy as this!\n```python\nfrom enhancedinput import EnhancedInput\n\n# Create an EnhancedInput object\ninp = EnhancedInput(theme=Themes.fancy)\n\n# Get input from the user, with a length validator 1-20 characters\nname = inp.get(\"What is your name?\", validators=[Validators.LengthValidator(1, 20)])\n\n# Get input from the user, with a range validator 0-120,\n# which will automatically be valited to an int and returned as an int\nage = inp.get(\"What is your age?\", input_type=int,\n validators=[Validators.RangeValidator(0, 120)])\n```\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A package to enhance the input function in Python",
"version": "0.1.1",
"project_urls": {
"Homepage": "https://github.com/alec-jensen/EnhancedInput"
},
"split_keywords": [
"input",
"enhanced",
"python"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "b2805db5b546e887ea0aefdc577cb04a22e519ebfaaee1d0692d211815413050",
"md5": "70b2d939556bd599e1a8bccbfe0a8422",
"sha256": "3e4ca365dc5f2eabb132b5d3066680ca02a103d7d1b657ea57d7e4bba5263600"
},
"downloads": -1,
"filename": "EnhancedInput-0.1.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "70b2d939556bd599e1a8bccbfe0a8422",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.11",
"size": 5269,
"upload_time": "2024-03-19T19:52:06",
"upload_time_iso_8601": "2024-03-19T19:52:06.317510Z",
"url": "https://files.pythonhosted.org/packages/b2/80/5db5b546e887ea0aefdc577cb04a22e519ebfaaee1d0692d211815413050/EnhancedInput-0.1.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "ebfdc2eb120296862ea56bb967ce81b068de074268d40c06283648c166f3f545",
"md5": "da8364d7d61960c56bf03479844c6b62",
"sha256": "b4be00d79f1633f578f60f560a67bea3530fd4609093b8631a9c313d7af3707b"
},
"downloads": -1,
"filename": "EnhancedInput-0.1.1.tar.gz",
"has_sig": false,
"md5_digest": "da8364d7d61960c56bf03479844c6b62",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.11",
"size": 6018,
"upload_time": "2024-03-19T19:52:07",
"upload_time_iso_8601": "2024-03-19T19:52:07.906115Z",
"url": "https://files.pythonhosted.org/packages/eb/fd/c2eb120296862ea56bb967ce81b068de074268d40c06283648c166f3f545/EnhancedInput-0.1.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-03-19 19:52:07",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "alec-jensen",
"github_project": "EnhancedInput",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "enhancedinput"
}