A module changing string to seconds.
Project description
str2time
A module changing string to seconds.
How To Install :
pip install str2time
How To Use :
import str2time
# dt = str2time.handle('in' or 'at', 'month/day/year' or 'hh:mm:ss')
dt = str2time.handle('in', '01:20:32')
print(dt)
4832.0
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file str2time-1.0.2-py3-none-any.whl
.
File metadata
- Download URL: str2time-1.0.2-py3-none-any.whl
- Upload date:
- Size: 1.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1fe5045266e63d99291f87841bbf0ccdfa1691e45bafcfaed8bd952b1ca20050 |
|
MD5 | bbd9b73f2dc96196b5ab2a46fcad728a |
|
BLAKE2b-256 | 512b786fb3d4c43ff1f8ebab9ecac7160e45bc814b773bb07a2d18b7f517fbae |