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

Uploaded Python 3

File details

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

File metadata

  • Download URL: machine2human-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 5.8 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5d0cc4a6663d7b8e3d802669eedd44890e59f521e4d332da04cd933bf612881d
MD5 eba35eb02f994cc4068655f6c8341421
BLAKE2b-256 ad93a06d7a2fd3b654628055291682dae7b7dc676e6103d3b50e7c203eb8fea2

See more details on using hashes here.

Provenance

The following attestation bundles were made for machine2human-0.1.1-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