From eb41e8b0827db62cfc4e6b2e53ef57c7f70a11c7 Mon Sep 17 00:00:00 2001 From: Geir Arne Hjelle Date: Tue, 30 Jul 2019 12:11:26 +0200 Subject: [PATCH] Add credit to Midgard --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e208dfe..1addcbc 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,7 @@ $ python -m pip install codetiming The source code is [available at GitHub](https://github.com/realpython/codetiming). + ## Basic Usage You can use `codetiming.Timer` in several different ways: @@ -36,6 +37,7 @@ You can use `codetiming.Timer` in several different ways: # Do something ``` + ## Arguments `Timer` accepts the following arguments when it's created, all are optional: @@ -74,4 +76,9 @@ WARNING:root:Time spent: 1.73 {'example': 5.312697440000193} ``` -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`. \ No newline at end of file +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`. + + +## Acknowledgements + +`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/). \ No newline at end of file