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).string)
'22 часа 13 минут 20 секунд'


>> print(Hum2Sec("22 часа 13 минут 20 секунд").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.0-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: machine2human-0.1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2a2d85a7a76d23105683f361a371374ac949bde7b6858ff5a25a68d1f24e6af0
MD5 d913d3301e0735253b34d938cfdf6abe
BLAKE2b-256 233be69e4324e3ac6d76cf6eea073c7f9872f5b5f4481b75f32a681d721190b8

See more details on using hashes here.

Provenance

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