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.

Source Distribution

wittyPy-0.1.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

wittyPy-0.1-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file wittyPy-0.1.tar.gz.

File metadata

  • Download URL: wittyPy-0.1.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.11.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.5.2

File hashes

Hashes for wittyPy-0.1.tar.gz
Algorithm Hash digest
SHA256 4fdb4de35db21459271fef4ca6b1e820a34a8f7f08b72bfdde45b6151e70ba00
MD5 86709bfefd9f54b29c86d2645872cff3
BLAKE2b-256 473d4c6646342585d3093770379d33f685c816b35a0f0881302e196a8d0d71e0

See more details on using hashes here.

File details

Details for the file wittyPy-0.1-py3-none-any.whl.

File metadata

  • Download URL: wittyPy-0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.11.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.5.2

File hashes

Hashes for wittyPy-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b19e392be08d05b7f0d349d191b8a29c1546cc465cb7f4b2b00274a34ca402d4
MD5 a6eec18c1eb45f126bb1f9d5378867c3
BLAKE2b-256 78e79dbdd74a4aed2dfe17f92622c1706ca24a8ea86c6489efa28d53d1b33569

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page