Impauto
Make your life easier with automated inputs
Installation
pip install impauto
How to use
The Basic way to use this module
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 = 0
while x != 1:
x = (3 * x + 1) if x % 2 else (x // 2)
step += 1
return step
n = int(input("Enter a number: "))
print(syracuse(n))
You can also hide terminal input messages
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
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 Edhyjox
This repository is licensed under the MIT License. See LICENSE for details.
Metadata
Release files for impauto 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| impauto-1.1.0.tar.gz | 2.3 kB | Without provenance | Details |
Release files / impauto-1.1.0.tar.gz
| Download URL | impauto-1.1.0.tar.gz |
|---|---|
| Size | 2.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
145a5987aa41f8bb85b1986d00d003eee93192c5985d795746761cbd49c9412b
|
|
BLAKE2b-256 checksum How to use checksums |
feb235a0e9d2a85c8e3834be02e01ac24f38a9ce2906528b4b718b73fa1a64f9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5
|
Security for impauto 1.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.