freezegun

Time mocking library

Allows tests to mock time by freezing datetime functions

Let your Python tests travel through time

GitHub

4k stars
34 watching
269 forks
Language: Python
last commit: 4 months ago
Linked from 2 awesome lists


Backlinks from these awesome lists:

Related projects:

Repository Description Stars
travisjeffery/timecop Provides a unified method to mock time-dependent code 3,369
hustcc/timeago.js A lightweight library for formatting dates with time ago statements and automatic rendering on web pages. 5,325
expobrain/flake8-datetime-utcnow-plugin A plugin to warn against using outdated datetime methods in Python code 2
marcgibbons/flake8-datetime-import Enforces consistent and safe importing of Python's datetime module 11
python-formate/flake8_strftime A tool to enforce consistent date formatting across different platforms in Python. 2
pjknkda/flake8-datetimez A plugin to enforce safe datetime usage in Python code 34
sktime/sktime A unified framework for time series analysis and machine learning 7,943
awslabs/gluonts A Python package for building probabilistic models of time series data using deep learning techniques. 4,629
agermanidis/livepython A desktop application that visually traces the execution of Python code in real-time. 2,553
koffeinflummi/chronyk A Python library for parsing human-written times and dates into machine-readable formats. 345
paulstoffregen/time Provides an Arduino-specific timekeeping functionality allowing for easy integration of various external time sources. 1,258
jpeg729/pytorch_bits An experimental framework for developing and testing deep learning models on time-series prediction tasks 79
vtopc/epoch Converts Unix timestamps to native Go time types and vice versa for JSON serialization. 14
chronotope/chrono A Rust library providing efficient and timezone-aware date and time handling 3,339
arrow-py/arrow A Python library for creating, manipulating, and formatting dates, times, and timestamps in a human-friendly way. 8,730