Skip to main content

What is this package for?

This package is to simplify the user to use the input function with different data types. For example, we can simplify this:

x = int(input("please insert a number"))

to

x = inpt.i(int,"please insert a number")

How to use this version

To use this version, you will first need to import it like this:

from inpt import inpt

The format for the library and parameters is like this:

inpt.i(data_type, text for input)

Let's say we want to have a string input that wants the user to input their name. We can do it like this:

from inpt import inpt
c = inpt.i(str,"What is your name?")

The output will be:

What is your name? <Insert a string here and press enter>

This version has to offer:

Automatic one line space after the input text

Download files

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

Source Distribution

inpt-0.0.4.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

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

inpt-0.0.4-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

Details for the file inpt-0.0.4.tar.gz.

File metadata

  • Download URL: inpt-0.0.4.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.0

File hashes

Hashes for inpt-0.0.4.tar.gz
Algorithm Hash digest
SHA256 1c285ea87b6537a535bf46213cfc3bdd963aa9d8ba8e97f4336e67e6c57d6c4d
MD5 e0f6b1c7a5822d656ae6d5e1fff8cd17
BLAKE2b-256 e4b6caf09a6fdc79094597b472739fee90ab13989ad1df81a8115c3c959951d0

See more details on using hashes here.

File details

Details for the file inpt-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: inpt-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 6.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.0

File hashes

Hashes for inpt-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 947a8a94bd8181798b6d35cbca1e36a9ce6a6b91197c9b075358f2ae558d3d65
MD5 dac4009a1ea89a7b605d9d99fa3fc05b
BLAKE2b-256 f37663dcb447c6d56a9440321a06604c77c89bd49638264ffc240274ab9fd949

See more details on using hashes here.

Release history Release notifications | RSS feed

0.0.5

2 files

This release

0.0.4 This release

2 files

0.0.3

2 files

0.0.1

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page