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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a7aaeb45cb8efcfbe718dc26663a7736a8141c26529f71264cba9a6e3ebbe0d4
|
|
| MD5 |
be7fbefcd94c539ab677d2bfcc8a8c89
|
|
| BLAKE2b-256 |
b044fbc419beea182234ae8ebbd396f42886d966a63ef5c8117365605c897a43
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
18eb86d497299ae29b6f372176b6250ea2c23dc75d4e57feab5f562b17181493
|
|
| MD5 |
c6cb728ce199e3f1cf98696ac607fa22
|
|
| BLAKE2b-256 |
8f92ee3c3b0c659acfbf48492552fce2b0469612bd0bd56cce3906b23fab8a85
|