Skip to main content

No project description provided

Project description

Time Conversion Package

This Python package provides a function convert_seconds that converts a given number of seconds into hours, minutes, and seconds.

Installation

To install this package, you can use pip:

pip install sec2time

Usage

Here's how you can use the convert_seconds function:

from sec2time import convert_seconds

time = convert_seconds(7500)
print(time)  

Result

Outputs: "2 hours 5 minutes"

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sec2time-1.2.0.tar.gz (1.2 kB view details)

Uploaded Source

Built Distribution

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

sec2time-1.2.0-py3-none-any.whl (1.6 kB view details)

Uploaded Python 3

File details

Details for the file sec2time-1.2.0.tar.gz.

File metadata

  • Download URL: sec2time-1.2.0.tar.gz
  • Upload date:
  • Size: 1.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.10.1 CPython/3.10.12

File hashes

Hashes for sec2time-1.2.0.tar.gz
Algorithm Hash digest
SHA256 1b12253bb7090d425738d7b86e168a442c1e3091a87ef211613473fd3e3c855e
MD5 a87d88ab5798c1fdaddbc71ebee54714
BLAKE2b-256 6410ddd8446d400c95ae294246d2153ef130527ed2b3fe920abfb1a5e9bd819c

See more details on using hashes here.

File details

Details for the file sec2time-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: sec2time-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 1.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.10.1 CPython/3.10.12

File hashes

Hashes for sec2time-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 54c9df41c3e5ff4444ea63c495d526341b2f436ec3ef095a7d6a9753ddebda0d
MD5 f1b56d4551eea43786eff26882dbbb33
BLAKE2b-256 fb3be0e8a9de2e423ba8eb4a67607c12155c2ffd8e296ea49e05c69775a30b28

See more details on using hashes here.

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