Skip to main content

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


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

str2time-1.0.2-py3-none-any.whl (1.7 kB view details)

Uploaded Python 3

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

Hashes for str2time-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1fe5045266e63d99291f87841bbf0ccdfa1691e45bafcfaed8bd952b1ca20050
MD5 bbd9b73f2dc96196b5ab2a46fcad728a
BLAKE2b-256 512b786fb3d4c43ff1f8ebab9ecac7160e45bc814b773bb07a2d18b7f517fbae

See more details on using hashes here.

Supported by

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