Skip to main content

timems

Use this package to easily convert various time formats to seconds.

What is it?

from timems import ms

ms('2w') # 1209600
ms('1m') # 60

How to use?

from timems import ms
import asyncio

asyncio.sleep(ms('1h')) # sleeping 3600 sec. / 1h

Formats

m, min, minute, h, ho, hour, d, day, w, week, y, year, mon, month, y, year

Find a Bug?

Report it here

Metadata

Release files for timems 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for timems 1.0.1
File Size Uploaded Provenance Actions
timems-1.0.1.tar.gz 2.4 kB Without provenance Details for timems-1.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for timems 1.0.1
File Interpreter ABI Platform Actions
timems-1.0.1-py3-none-any.whl Python 3 none any Details for timems-1.0.1-py3-none-any.whl

Total release size: 5.1 kB

Release files / timems-1.0.1.tar.gz

Download URL timems-1.0.1.tar.gz
Size 2.4 kB
Tags Source
SHA-256 checksum
How to use checksums
1908da52871e6b77c55a134f4080c6a5ed9b994e9ba676055f37b313db94bcdf
BLAKE2b-256 checksum
How to use checksums
0031406a7465a042c121b2c18d912c14daf11048124a72e89326a2b9b703b4a1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.8.2 keyring/23.4.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.9.6

Release files / timems-1.0.1-py3-none-any.whl

Download URL timems-1.0.1-py3-none-any.whl
Size 2.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dc0122c24cb9823706fbfc7e5257cae98d58936528abd160feb3e22823c7d75c
BLAKE2b-256 checksum
How to use checksums
01bc95fc22b6dd1b191744f6c0a73a9c6d1fb2e89b78b38ec3580df4d5390a61
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.8.2 keyring/23.4.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.9.6

Security for timems 1.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page