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)
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.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
90cc988716070cff01a4b9bc3b106789490a116bc1b0e06c5425ac35b08dffae
|
|
| MD5 |
705af9a72e6c05cf3b07f75e3131abd0
|
|
| BLAKE2b-256 |
11df2ba80bcdcc4b8922f7658b2dac63c493189e692fff223471c76891a1391f
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3a7e6e4775f691887ecd523f05b816bcbdd16de29f4a97846e29f05d1076047f
|
|
| MD5 |
96a8029b80cef3b28a50f31e54082898
|
|
| BLAKE2b-256 |
a9ceaeff6e58e28dc1348d1d519ea8f969297882cd43ed1f99b3b29306fb5b3b
|