python-time-functions 2.2.0__tar.gz → 2.4.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {python_time_functions-2.2.0/src/python_time_functions.egg-info → python_time_functions-2.4.0}/PKG-INFO +3 -3
- {python_time_functions-2.2.0 → python_time_functions-2.4.0}/README.md +2 -2
- {python_time_functions-2.2.0 → python_time_functions-2.4.0}/pyproject.toml +1 -1
- {python_time_functions-2.2.0 → python_time_functions-2.4.0/src/python_time_functions.egg-info}/PKG-INFO +3 -3
- {python_time_functions-2.2.0 → python_time_functions-2.4.0}/src/python_time_functions.egg-info/SOURCES.txt +2 -2
- python_time_functions-2.4.0/src/python_time_functions.egg-info/top_level.txt +1 -0
- {python_time_functions-2.2.0 → python_time_functions-2.4.0}/tests/test_time_function_sanitizer.py +1 -1
- {python_time_functions-2.2.0 → python_time_functions-2.4.0}/tests/test_time_functions.py +1 -1
- python_time_functions-2.2.0/src/python_time_functions.egg-info/top_level.txt +0 -1
- {python_time_functions-2.2.0 → python_time_functions-2.4.0}/LICENSE +0 -0
- {python_time_functions-2.2.0 → python_time_functions-2.4.0}/setup.cfg +0 -0
- {python_time_functions-2.2.0/src/time_functions → python_time_functions-2.4.0/src/python_time_functions}/__init__.py +0 -0
- {python_time_functions-2.2.0/src/time_functions → python_time_functions-2.4.0/src/python_time_functions}/time_functions.py +0 -0
- {python_time_functions-2.2.0 → python_time_functions-2.4.0}/src/python_time_functions.egg-info/dependency_links.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: python_time_functions
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.4.0
|
|
4
4
|
Summary: Common Python functions for time handling
|
|
5
5
|
Author-email: Corne Bester <corne.bester@gmail.com>
|
|
6
6
|
Project-URL: Homepage, https://example.com
|
|
@@ -20,9 +20,9 @@ Common Python functions for time handling
|
|
|
20
20
|
```python
|
|
21
21
|
from datetime import datetime, timezone
|
|
22
22
|
|
|
23
|
-
import time_functions
|
|
23
|
+
import time_functions.time_functions as time_functions
|
|
24
24
|
# OR
|
|
25
|
-
from time_functions import get_timestamp_unix_millis
|
|
25
|
+
from time_functions.time_functions import get_timestamp_unix_millis
|
|
26
26
|
|
|
27
27
|
timestamp = datetime.now(timezone.utc)
|
|
28
28
|
unix_millis = get_timestamp_unix_millis(timestamp) # create unix timestamp from obj above
|
|
@@ -5,9 +5,9 @@ Common Python functions for time handling
|
|
|
5
5
|
```python
|
|
6
6
|
from datetime import datetime, timezone
|
|
7
7
|
|
|
8
|
-
import time_functions
|
|
8
|
+
import time_functions.time_functions as time_functions
|
|
9
9
|
# OR
|
|
10
|
-
from time_functions import get_timestamp_unix_millis
|
|
10
|
+
from time_functions.time_functions import get_timestamp_unix_millis
|
|
11
11
|
|
|
12
12
|
timestamp = datetime.now(timezone.utc)
|
|
13
13
|
unix_millis = get_timestamp_unix_millis(timestamp) # create unix timestamp from obj above
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: python_time_functions
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.4.0
|
|
4
4
|
Summary: Common Python functions for time handling
|
|
5
5
|
Author-email: Corne Bester <corne.bester@gmail.com>
|
|
6
6
|
Project-URL: Homepage, https://example.com
|
|
@@ -20,9 +20,9 @@ Common Python functions for time handling
|
|
|
20
20
|
```python
|
|
21
21
|
from datetime import datetime, timezone
|
|
22
22
|
|
|
23
|
-
import time_functions
|
|
23
|
+
import time_functions.time_functions as time_functions
|
|
24
24
|
# OR
|
|
25
|
-
from time_functions import get_timestamp_unix_millis
|
|
25
|
+
from time_functions.time_functions import get_timestamp_unix_millis
|
|
26
26
|
|
|
27
27
|
timestamp = datetime.now(timezone.utc)
|
|
28
28
|
unix_millis = get_timestamp_unix_millis(timestamp) # create unix timestamp from obj above
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
LICENSE
|
|
2
2
|
README.md
|
|
3
3
|
pyproject.toml
|
|
4
|
+
src/python_time_functions/__init__.py
|
|
5
|
+
src/python_time_functions/time_functions.py
|
|
4
6
|
src/python_time_functions.egg-info/PKG-INFO
|
|
5
7
|
src/python_time_functions.egg-info/SOURCES.txt
|
|
6
8
|
src/python_time_functions.egg-info/dependency_links.txt
|
|
7
9
|
src/python_time_functions.egg-info/top_level.txt
|
|
8
|
-
src/time_functions/__init__.py
|
|
9
|
-
src/time_functions/time_functions.py
|
|
10
10
|
tests/test_time_function_sanitizer.py
|
|
11
11
|
tests/test_time_functions.py
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
python_time_functions
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
time_functions
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|