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.1.tar.gz (1.6 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.1-py3-none-any.whl (1.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: str2int-1.0.1.tar.gz
  • Upload date:
  • Size: 1.6 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.1.tar.gz
Algorithm Hash digest
SHA256 392d8fc6f78487abe34c6e241ba61e10ae95ce67add989071911656d9715ad0b
MD5 7b19d433bf0118b759812a4d68a1f4c1
BLAKE2b-256 57ad5b32201e54f0919c75dfff513ee5771577627520d7e4742e41f48a91d26d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: str2int-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 1.9 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 331213aca320db75b475e3674982d71021f2c5a3ce1f7d9a8d2d51aa185f2a3d
MD5 2a6e6f7d9648257f0fa570c1a08d67d8
BLAKE2b-256 d22fe23cd800c2989468020615f8426b24da6e5449d0e44b722cc855b68c903d

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