Skip to content

Commit d222cb8

Browse files
authored
Merge pull request #2 from gahjelle/doc-credit
Add credit to Midgard
2 parents cb412bb + eb41e8b commit d222cb8

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ $ python -m pip install codetiming
88

99
The source code is [available at GitHub](https://github.com/realpython/codetiming).
1010

11+
1112
## Basic Usage
1213

1314
You can use `codetiming.Timer` in several different ways:
@@ -36,6 +37,7 @@ You can use `codetiming.Timer` in several different ways:
3637
# Do something
3738
```
3839

40+
3941
## Arguments
4042

4143
`Timer` accepts the following arguments when it's created, all are optional:
@@ -74,4 +76,9 @@ WARNING:root:Time spent: 1.73
7476
{'example': 5.312697440000193}
7577
```
7678

77-
The example shows how you can redirect the timer output to the logging module. Note that the elapsed time spent in the two different uses of `t` has been accumulated in `Timer.timers`.
79+
The example shows how you can redirect the timer output to the logging module. Note that the elapsed time spent in the two different uses of `t` has been accumulated in `Timer.timers`.
80+
81+
82+
## Acknowledgements
83+
84+
`codetiming` is based on a similar module originally developed for the [Midgard Geodesy library](https://kartverket.github.io/midgard/) at the [Norwegian Mapping Authority](https://www.kartverket.no/en/).

0 commit comments

Comments
 (0)