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)  

Output

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: sec2time-1.1.0.tar.gz
  • Upload date:
  • Size: 1.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.0

File hashes

Hashes for sec2time-1.1.0.tar.gz
Algorithm Hash digest
SHA256 90cc988716070cff01a4b9bc3b106789490a116bc1b0e06c5425ac35b08dffae
MD5 705af9a72e6c05cf3b07f75e3131abd0
BLAKE2b-256 11df2ba80bcdcc4b8922f7658b2dac63c493189e692fff223471c76891a1391f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sec2time-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 1.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.0

File hashes

Hashes for sec2time-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3a7e6e4775f691887ecd523f05b816bcbdd16de29f4a97846e29f05d1076047f
MD5 96a8029b80cef3b28a50f31e54082898
BLAKE2b-256 a9ceaeff6e58e28dc1348d1d519ea8f969297882cd43ed1f99b3b29306fb5b3b

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