Skip to main content

Make machine more friendly to you! Convert seconds to a human string and back!

Project description

License: MIT

machine2human

from m2h import Hum2Sec, Sec2Hum

>> print(Sec2Hum(80000, lang="en").string)
'22 hours 13 minutes 20 seconds'


>> print(Hum2Sec("22 hours 13 minutes 20 seconds").seconds)
80000

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

If you're not sure about the file name format, learn more about wheel file names.

machine2human-0.1.2-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file machine2human-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: machine2human-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for machine2human-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6ef8c8af95294743fe798cb7a7fe2dcaf0b6aba7513612efcac5e7f23cb0470d
MD5 0d262397bdb8879de164427038368cf7
BLAKE2b-256 b73946053aab8e11e99429f562c65a6dd128458d48670d449bbd9cdc991332ce

See more details on using hashes here.

Provenance

The following attestation bundles were made for machine2human-0.1.2-py3-none-any.whl:

Publisher: pypi-release.yml on andrew000/machine2human

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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