blob: aab8eca0f8aaf8228027d50055a6145517d54293 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
|
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
## [1.3.2] - 2022-10-07
### Added
- `__all__` to specify the public API (by [@alkatar21](https://github.com/alkatar21) in [#46])
## [1.3.1] - 2022-10-06
### Added
- A `py.typed` file to mark `codetiming` as typed as specified in [PEP 561](https://peps.python.org/pep-0561/#packaging-type-information) (by [@alkatar21](https://github.com/alkatar21) in [#38])
### Changed
- Use GitHub Actions instead of CircleCI for CI ([#33])
- Explicitly support Python 3.10 and 3.11 ([#32], [#34], [#35])
## [1.3.0] - 2021-02-09
### Added
- `text` can be a callable returning a formatted string, suggested by [@dchess](https://github.com/dchess) in [#29] ([#30]).
- Testing with [Interrogate](https://interrogate.readthedocs.io/) to enforce docstrings ([#27]).
## [1.2.0] - 2020-03-03
### Added
- Attributes that can be referenced in the `text` template string, suggested by [@mlisovyi](https://github.com/mlisovyi) in [#24] ([#25]).
### Changed
- `Timer.timers` changed from regular to `dict` to a custom dictionary supporting basic statistics for named timers ([#23]).
## [1.1.0] - 2020-01-15
### Added
- `.last` attribute with the value of the last measured time (by [@janfreyberg](https://github.com/janfreyberg) in [#13]).
- `CHANGELOG.md` detailing changes made to `codetiming` since its initial publication ([#17]).
- `CONTRIBUTING.md` with guidelines on how to work with `codetiming` as a developer ([#18]).
- `AUTHORS.md` with a list of maintainers and contributors ([#18])
## [1.0.0] - 2019-12-31
Initial version of `codetiming`. Version 1.0.0 corresponds to the code in the tutorial [Python Timer Functions: Three Ways to Monitor Your Code](https://realpython.com/python-timer/).
[Unreleased]: https://github.com/realpython/codetiming/compare/v1.3.2...HEAD
[1.3.2]: https://github.com/realpython/codetiming/compare/v1.3.1...v1.3.2
[1.3.1]: https://github.com/realpython/codetiming/compare/v1.3.0...v1.3.1
[1.3.0]: https://github.com/realpython/codetiming/compare/v1.2.0...v1.3.0
[1.2.0]: https://github.com/realpython/codetiming/compare/v1.1.0...v1.2.0
[1.1.0]: https://github.com/realpython/codetiming/compare/v1.0.0...v1.1.0
[1.0.0]: https://github.com/realpython/codetiming/releases/tag/v1.0.0
[#13]: https://github.com/realpython/codetiming/pull/13
[#17]: https://github.com/realpython/codetiming/pull/17
[#18]: https://github.com/realpython/codetiming/pull/18
[#23]: https://github.com/realpython/codetiming/pull/23
[#24]: https://github.com/realpython/codetiming/issues/24
[#25]: https://github.com/realpython/codetiming/pull/25
[#27]: https://github.com/realpython/codetiming/pull/27
[#29]: https://github.com/realpython/codetiming/issues/29
[#30]: https://github.com/realpython/codetiming/pull/30
[#32]: https://github.com/realpython/codetiming/pull/32
[#33]: https://github.com/realpython/codetiming/pull/33
[#34]: https://github.com/realpython/codetiming/pull/34
[#35]: https://github.com/realpython/codetiming/pull/35
[#38]: https://github.com/realpython/codetiming/pull/38
[#46]: https://github.com/realpython/codetiming/pull/46
|