Readme
Common Python functions for time handling
pip install --upgrade python_time_functions
from datetime import datetime, timezone
from python_time_functions import time_functions as tf
timestamp = datetime.now(timezone.utc)
unix_millis = tf.get_timestamp_unix_millis(timestamp) # create unix timestamp from obj above
local dev
pip install -r requirements.txt
test
pytest
other
pip3 freeze > requirements.txt
Release files for python-time-functions 2.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| python_time_functions-2.5.0.tar.gz | 8.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| python_time_functions-2.5.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 17.2 kB
Release files / python_time_functions-2.5.0.tar.gz
| Download URL | python_time_functions-2.5.0.tar.gz |
|---|---|
| Size | 8.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ee5ace75d8c26f8e001e7407f856842ce834901021f4aa0645478754d19ebe22
|
|
BLAKE2b-256 checksum How to use checksums |
5e9d38b0e16c6a2afd95da1153cb508909d469035cb05734a141f2e4d01a3f86
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.11
|
Release files / python_time_functions-2.5.0-py3-none-any.whl
| Download URL | python_time_functions-2.5.0-py3-none-any.whl |
|---|---|
| Size | 8.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3725f43fc149753ee20764e5f1b8700120577cf755ee9f25d3ba0deb219cb7d3
|
|
BLAKE2b-256 checksum How to use checksums |
496a840fd98c4ba92eecf42035240474d030342b0728f96ab664836129aa9f1f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.11
|