Implements a system for simulating a virtual time.
Project description
Implements a system for simulating a virtual time (based on an offset from the current actual time) so that all Python objects believe it though the actual system time remains the same.
This also includes an extension to the python-datetime-tz library (datetime_tz) that ensures that the classes are all patched in the correct order. It also changes the behaviour of datetime_tz.datetime_tz objects to allow them to be compared with naive datetime.datetime objects by assuming that they are in the local timezone, if unspecified.
This library is licensed under the Apache License, Version 2.0.
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
File details
Details for the file virtualtime-1.1.tar.gz
.
File metadata
- Download URL: virtualtime-1.1.tar.gz
- Upload date:
- Size: 11.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d392849e0422f0e42e955c1190115ccb5455e64bc7a3a6516a3dfb583aa8eda8 |
|
MD5 | d950d50723e600fb3d07d195a56b3f1b |
|
BLAKE2b-256 | 577d32c58a1f84b69ed81710095a571c679135dce2acf58e870a6e9f62136bbd |