Skip to main content

Python package - input_num is like input but it only accepts numbers

Project description

CodeFactor

input_num

Python package - input_num is like input but it only accepts numbers


Instalation

  • Windows / macOS

    Run python3 -m pip install input_num

  • Linux

    Run python3 -m pip install input_num

Usage

  • Windows / macOS / Linux

    Add this to your script: import input_num input_num("Enter your age: ")

    If you want to allow only positive numbers (numbers WITHOUT - at the begining), use input_num("Something", False). False just means Allow negative numbers = False And it is optional argument

Uninstallation

  • Windows / macOS

    Run python3 -m pip uninstall input_num

  • Linux

    Run python3 -m pip uninstall input_num

FAQ

  • Question

    Answernot enough

Do you like this? Hit that ⭐!
Use the star button as way to show us, that it works
Forks and pull requests are welcome of course

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

input_num-0.0.12.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

input_num-0.0.12-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file input_num-0.0.12.tar.gz.

File metadata

  • Download URL: input_num-0.0.12.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5

File hashes

Hashes for input_num-0.0.12.tar.gz
Algorithm Hash digest
SHA256 ee3e5548a2e638fcaeffcb0e9556020010c959fadc2376e0576b083fe0c17ef2
MD5 108e3687c48e4742cac64d9e4dcbbdd5
BLAKE2b-256 fc409b7cc231b6b0153933a2260bfcbf4cf1986123ec1b259f5a5d82ef2bb615

See more details on using hashes here.

File details

Details for the file input_num-0.0.12-py3-none-any.whl.

File metadata

  • Download URL: input_num-0.0.12-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5

File hashes

Hashes for input_num-0.0.12-py3-none-any.whl
Algorithm Hash digest
SHA256 8f66aa0d32dd9f47ace848a33a7865991747ffbbaf4bf0c97b935b0066d0cf7a
MD5 6e8f83dcc8af38959cff1f2b6fbe13b5
BLAKE2b-256 74364174e513e6f6bf6ddcd782184fa3d72be00722c5fe31eb47e4c1e0e94a8f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page