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)  

# 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.0.0.tar.gz (1.3 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.0.0-py3-none-any.whl (1.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for sec2time-1.0.0.tar.gz
Algorithm Hash digest
SHA256 a7aaeb45cb8efcfbe718dc26663a7736a8141c26529f71264cba9a6e3ebbe0d4
MD5 be7fbefcd94c539ab677d2bfcc8a8c89
BLAKE2b-256 b044fbc419beea182234ae8ebbd396f42886d966a63ef5c8117365605c897a43

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sec2time-1.0.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.8

File hashes

Hashes for sec2time-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 18eb86d497299ae29b6f372176b6250ea2c23dc75d4e57feab5f562b17181493
MD5 c6cb728ce199e3f1cf98696ac607fa22
BLAKE2b-256 8f92ee3c3b0c659acfbf48492552fce2b0469612bd0bd56cce3906b23fab8a85

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