https://github.com/sigmanificient/impauto
Makes your life easier with automated inputs
https://github.com/sigmanificient/impauto
input-method pypi pypi-package python
Last synced: 4 months ago
JSON representation
Makes your life easier with automated inputs
- Host: GitHub
- URL: https://github.com/sigmanificient/impauto
- Owner: Sigmanificient
- License: mit
- Created: 2021-02-01T23:41:08.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-05-18T05:42:32.000Z (over 3 years ago)
- Last Synced: 2025-03-19T13:06:17.650Z (7 months ago)
- Topics: input-method, pypi, pypi-package, python
- Language: Python
- Homepage: https://pypi.org/project/impauto/
- Size: 22.5 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Impauto
[](https://scrutinizer-ci.com/g/Sigmanificient/impauto/?branch=master)






*Make your life easier with automated inputs*
## Installation
```cmd
pip install impauto
```## How to use
The Basic way to use this module
```python
from impauto import Automated# Each argument passed will be enter as a str to the input function.
Automated(154)# use your script as normal
def syracuse(x):
step = 0while x != 1:
x = (3 * x + 1) if x % 2 else (x // 2)
step += 1return step
n = int(input("Enter a number: "))
print(syracuse(n))
```
You can also hide terminal input messages
```python
from impauto import Automated# Each argument passed will be enter as a str to the input function.
Automated(1, 2, 3, show_message=False)
```By default, It will raise a exception if there is more input than value given.
To make input repeats indefinitely, you can use this code
```python
from impauto import Automated# Each argument passed will be enter as a str to the input function.
Automated("a", "b", forever=True)
```### Thanks for using Impauto
## License
© 2020 copyright EdhyjoxThis repository is licensed under the MIT License.
See LICENSE for details.