Skip to main content

A Wrapper for the WittyPi2 Realtime Clock for the RaspberryPi

Project description

wittyPy

A Python Wrapper for the WittyPi 2 Realtime Clock for the RaspberryPi.

Example

   import wittyPy

   witty = wittyPy.WittyPy('path/to/wittyPi/Software')

   print(witty.next_start)
   witty.set_startup(10,9,8,7)
   print(witty.next_start)
   witty.reset('startup')
   print(witty.next_start)

Output:

   >>> WittyTime(type="boot", day="unset", hour="unset", minute="unset", second="unset", as_date="unset")
   >>> WittyTime(type="boot", day=10, hour=9, minute=8, second=7, as_date="2018-08-10 09:08:07")
   >>> WittyTime(type="boot", day="unset", hour="unset", minute="unset", second="unset", as_date="unset")

Installation

To install wittyPy, simply use pip:

   pip install wittyPy

Documentation

You can find the documentation on docs.elpunkt.eu.

How to contribute:

  1. Test wittyPy and open an issue to report a bug or discuss a feature idea.
  2. Give general feedback on the code and the package structure.
  3. Fork the repository and make your changes.

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for wittyPy, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size wittyPy-0.1-py3-none-any.whl (4.8 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size wittyPy-0.1.tar.gz (4.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page