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
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.3.tar.gz
(1.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file str2int-1.0.3.tar.gz.
File metadata
- Download URL: str2int-1.0.3.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b417417152bef096632dab14ac187f4a640eb04441f000e203055ab677da145d
|
|
| MD5 |
e92737e019131509adef65fab3c3d0be
|
|
| BLAKE2b-256 |
94d077a6969fd4b0be32a02bc94fc01b982495682ff837898772292e83c6f945
|
File details
Details for the file str2int-1.0.3-py3-none-any.whl.
File metadata
- Download URL: str2int-1.0.3-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
525a1925b5f98acd718687a1e1fdfd4152a73416ccf92fe554345950e73b1380
|
|
| MD5 |
328fbf7d0c3dac3265edf7608d487502
|
|
| BLAKE2b-256 |
94256e403a85768c90cb4798c2c4e98ead0e8a2f44de508fabd99cc19bad2c2a
|