Skip to main content

A simple module to suck intagers out of strings

Project description

Str2Int

My first pip module.

Installation

Use the package manager pip to install Str2Int.

pip install str2int

Usage

from str2int import str2int
#Just random string of letters and numbers
randomstuff = "I2In3h22j3 -2"
#Use str2int(string) to output only numbers
numonly = str2int(randomstuff)
print(numonly) #['2', '3', '22', '3', '-2']

What's it about

Well it's just there to take away everything but numbers from a string

License

MIT

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

str2int-1.0.0.tar.gz (1.4 kB view details)

Uploaded Source

Built Distribution

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

str2int-1.0.0-py3-none-any.whl (1.5 kB view details)

Uploaded Python 3

File details

Details for the file str2int-1.0.0.tar.gz.

File metadata

  • Download URL: str2int-1.0.0.tar.gz
  • Upload date:
  • Size: 1.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for str2int-1.0.0.tar.gz
Algorithm Hash digest
SHA256 2318acb1bfb1dad47bcfe7da7abeb7139b79bd7c65906d20f375379246de2e36
MD5 8d8ea3ad17b6828b957453050b618db7
BLAKE2b-256 3f630c45cac24011a8f7e04ec56f30b900af2439893aef502f25c6f46e4fecb7

See more details on using hashes here.

File details

Details for the file str2int-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: str2int-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 1.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for str2int-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b88af0a111df6b200a29cfd8fe0f13c4e75f9c40832e599f40a1168bea087d20
MD5 a09dae3a96f390768bf455b1d47c780f
BLAKE2b-256 d04976e21cc89229e22713ca2ec46a6b0f471ed318ffa4860324644b70180997

See more details on using hashes here.

Supported by

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