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.1-py3-none-any.whl (1.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: str2time-1.0.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 80c6f0627497cbf4bcf74e4aa4d7e4daf7651b0800acd33472a1b2a8b08123f8
MD5 3a28c82d7db7a861d58a0a2698af7e00
BLAKE2b-256 0cbce5262733ec85434cf5f248949ad7ce1b911ca3893a36ef6344ef2b7ec1fb

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