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:
- Test wittyPy and open an issue to report a bug or discuss a feature idea.
- Give general feedback on the code and the package structure.
- Fork the repository and make your changes.
Metadata
Release files for wittyPy 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| wittyPy-0.1.tar.gz | 4.5 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| wittyPy-0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.3 kB
Release files / wittyPy-0.1.tar.gz
| Download URL | wittyPy-0.1.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4fdb4de35db21459271fef4ca6b1e820a34a8f7f08b72bfdde45b6151e70ba00
|
|
BLAKE2b-256 checksum How to use checksums |
473d4c6646342585d3093770379d33f685c816b35a0f0881302e196a8d0d71e0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / wittyPy-0.1-py3-none-any.whl
| Download URL | wittyPy-0.1-py3-none-any.whl |
|---|---|
| Size | 4.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b19e392be08d05b7f0d349d191b8a29c1546cc465cb7f4b2b00274a34ca402d4
|
|
BLAKE2b-256 checksum How to use checksums |
78e79dbdd74a4aed2dfe17f92622c1706ca24a8ea86c6489efa28d53d1b33569
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for wittyPy 0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.