Changelogs » Adafruit-circuitpython-ntp

PyUp Safety actively tracks 267,799 Python packages for vulnerabilities and notifies you when to upgrade.

Adafruit-circuitpython-ntp

2.1.0

This release:
  * https://github.com/adafruit/Adafruit_CircuitPython_NTP/pull/11 Updates timezone offset (`tz_offset`) to be in seconds west of UTC. Thanks theelectricmayhem  and jepler!
  
  To use in CircuitPython, simply install the [Adafruit CircuitPython bundle](https://github.com/adafruit/Adafruit_CircuitPython_Bundle).
  
  Read the [docs](http://circuitpython.readthedocs.io/projects/ntp/en/latest/) for info on how to use it.

2.0.0

This release:
  * https://github.com/adafruit/Adafruit_CircuitPython_NTP/pull/10 Adds optional timezone offset for calls to `set_time`. Thanks theelectricmayhem!
  
  To use in CircuitPython, simply install the [Adafruit CircuitPython bundle](https://github.com/adafruit/Adafruit_CircuitPython_Bundle).
  
  Read the [docs](http://circuitpython.readthedocs.io/projects/ntp/en/latest/) for info on how to use it.

1.1.0

We have upgraded Pylint checks to use the latest version of Pylint and implemented usage of Black Python formatting. This does not change the functionality of the code - it is designed to bring it up to current standards and make it more readable.
  
  * Remove pinned Pylint version number from build.yml file
  * Synced `.pylintrc` file to match Adafruit standard
  * Ran upgraded Pylint and applied any changes or new disables necessary
  * Ran Black formatter and allowed application of changes across entire repo
  
  For more information on using Pylint and Black on your code, check out [this guide on working with Pylint and Black](https://learn.adafruit.com/improve-your-code-with-pylint)
  
  To use in CircuitPython, simply install the [Adafruit CircuitPython bundle](https://circuitpython.org/libraries).
  
  To use in CPython, `pip3 install adafruit-circuitpython-ntp`.
  
  Read the [docs](http://circuitpython.readthedocs.io/projects/ntp/en/latest/) for info on how to use it.

1.0.2

This release includes:
  * Migrating this repository from Travis to GitHub Actions. This has no effect on the behavior of the code itself.
  
  To use in CircuitPython, simply install the [Adafruit CircuitPython bundle](https://circuitpython.org/libraries).
  
  To use in CPython, `pip3 install adafruit-circuitpython-ntp`.
  
  Read the [docs](http://circuitpython.readthedocs.io/projects/ntp/en/latest/) for info on how to use it.

1.0.1

* Adds `valid_time` property for `set_time` calls from code to detect a possible error raised by ESP32SPI by `get_time call`, thanks jerryneedell for the fix within ESP32SPI!
  * Modified example to reflect use of this property
  
  To use in CircuitPython, simply install the [Adafruit CircuitPython bundle](https://github.com/adafruit/Adafruit_CircuitPython_Bundle).
  
  Read the [docs](http://circuitpython.readthedocs.io/projects/ntp/en/latest/) for info on how to use it.

1.0.0

Network Time Protocol (NTP) helper for CircuitPython. Calls to `set_time` backs the `time.time()` and `time.localtime()` functions using the "local time".
  
  
  To use in CircuitPython, simply install the [Adafruit CircuitPython bundle](https://github.com/adafruit/Adafruit_CircuitPython_Bundle).
  
  Read the [docs](http://circuitpython.readthedocs.io/projects/ntp/en/latest/) for info on how to use it.