No project description provided
Project description
win-precise-time
Table of Contents
Description
On Windows the builtin time.time()
provides a timestamp with ~15ms resolution.
This package provides a function to retrieve an accurate timestamp by using
GetSystemTimePreciseAsFileTime.
The function is implemented as a C extension so the performance is equal to the builtin time.perf_counter()
(both functions rely on QueryPerformanceCounter).
Installation
pip install win-precise-time
Usage
>>> import win_precise_time
>>> win_precise_time.time()
1654539449.4548845
Test
pip install tox
tox
Build
pip install build
python -m build .
License
win-precise-time
is distributed under the terms of the MIT license.
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
win-precise-time-1.0.3.tar.gz
(3.9 kB
view hashes)
Built Distributions
Close
Hashes for win_precise_time-1.0.3-pp39-pypy39_pp73-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43858ce30d204a85f3329e4f8a8457f52385a5a5094a6bbc214d154e4937f534 |
|
MD5 | 4bfc4c85e18549a99671eace377d38b8 |
|
BLAKE2b-256 | ec7c944868e0e35dfa21d41671f27668a43dd1d9b29332c2bada1ef0d13422dc |
Close
Hashes for win_precise_time-1.0.3-pp38-pypy38_pp73-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6672dade2fda97dd6f55b5215b625fc88ce4147654fa6b4ab23ee06b4b669bb1 |
|
MD5 | 74e994ac632af136b8b35c635ae1d107 |
|
BLAKE2b-256 | a25ae37af1cfa6959c931863859275d062ddbc3e4407ad581e115bc85df71d1d |
Close
Hashes for win_precise_time-1.0.3-pp37-pypy37_pp73-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee1c96c4c62e442f8f64866c7c35f4868d0bfceca2e7e0447275f8995fd3ece7 |
|
MD5 | 204292356a92824732cbcd616be2e1db |
|
BLAKE2b-256 | e4b51e6e07710ff947ec21d1ac16fd56dce1d6b4d0e4f7fd62ee5f0e32d3452b |
Close
Hashes for win_precise_time-1.0.3-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c8c26d447f1f0c25c39691c4380dc832b1e50220575b90241773137d2b57b359 |
|
MD5 | 951eeae1d31dcf83e157f5413a651037 |
|
BLAKE2b-256 | 5b09a74c57345ccf612b9c07ab2c9b9b4500f1844b55cf8b1ee38b1f751e35cd |
Close
Hashes for win_precise_time-1.0.3-cp310-cp310-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17d4a00a8842bc27c72f6938f602ffabdb0b61bdc561cf8abc9087912ee2da70 |
|
MD5 | da45cc317efd69ed91777a6144437c13 |
|
BLAKE2b-256 | fac89e74096cfe9f51f7937ccde5e93129b1d963d0daf5e02444c6b21fb130e5 |
Close
Hashes for win_precise_time-1.0.3-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5998de66cffd41cd3b7f476f9ced980e5a7c3cf64de1cfd492aca2fe6112d6b3 |
|
MD5 | be25660b0b16dc4627039ffa8d90ce5e |
|
BLAKE2b-256 | f27ae2befbb70aa5167dab111105ca4f129739d7ebf830e6d188c9c0568b8586 |
Close
Hashes for win_precise_time-1.0.3-cp39-cp39-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8f2801973324b54f05f70f92e929cbdce77e7e5cc54b718377f2a9ad3f86430 |
|
MD5 | bf550aff70256a9fe4d6e336a228a8fa |
|
BLAKE2b-256 | c3227ab678bfa3aabe3a3f9f819df775b22e0a8094428b9656cd24f382fb1827 |
Close
Hashes for win_precise_time-1.0.3-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 797d8b955ac606f152d8a0c505c87d7720ac68a6efbe7b10b0f97019442a9933 |
|
MD5 | 742571be9e01b041fad04c5331d450fe |
|
BLAKE2b-256 | c62e000cb7164aa05714d13924b31bdd7c4482f66eff3782f912c84ace01d101 |
Close
Hashes for win_precise_time-1.0.3-cp38-cp38-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1665a43c6ab2ce2ddd9b135714bef81bdfc0986f5b67e02c58b701091c8cb81 |
|
MD5 | 7c457ce7b0e31a7bfe19b93f9bfddc39 |
|
BLAKE2b-256 | 84b633b23bab104653060193cb8bf91921d3f38ee42f50f5a9d32a6a6121fd34 |
Close
Hashes for win_precise_time-1.0.3-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3038639b52bea118202ba4f6d5a93f20e02cd65129f65a87139dd0f0014f886c |
|
MD5 | 2f56c5a1193dd7329344194876c8d605 |
|
BLAKE2b-256 | 282e3e7d95ea12f5245e159d8b2503b8b721abb4798cc987d0ade1dd195709f9 |
Close
Hashes for win_precise_time-1.0.3-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 664b22d35d8fe1f75734a308c98c933fffa91d3ad6c28fd79144d93d433be32d |
|
MD5 | a50e6c378828fd45bdcc842e24387b14 |
|
BLAKE2b-256 | ef5cbd9772d8b13abf7f369b9f7b818167d857f7cf96e35e31ae486b5b5a9b08 |