Common Python functions for time handling
Project description
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
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
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 python_time_functions-2.5.0.tar.gz.
File metadata
- Download URL: python_time_functions-2.5.0.tar.gz
- Upload date:
- Size: 8.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ee5ace75d8c26f8e001e7407f856842ce834901021f4aa0645478754d19ebe22
|
|
| MD5 |
f8d0f21384e7292f2b72300ae35ea8ff
|
|
| BLAKE2b-256 |
5e9d38b0e16c6a2afd95da1153cb508909d469035cb05734a141f2e4d01a3f86
|
File details
Details for the file python_time_functions-2.5.0-py3-none-any.whl.
File metadata
- Download URL: python_time_functions-2.5.0-py3-none-any.whl
- Upload date:
- Size: 8.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3725f43fc149753ee20764e5f1b8700120577cf755ee9f25d3ba0deb219cb7d3
|
|
| MD5 |
25feeb52fcb8c382d3188c7e1665c0fc
|
|
| BLAKE2b-256 |
496a840fd98c4ba92eecf42035240474d030342b0728f96ab664836129aa9f1f
|