PyDoover: The Python Package for Doover
PyDoover is a Python package that provides a simple and easy-to-use interface for using the Doover platform on devices, in tasks and CLIs.
Quick Links
Installing
Python 3.11 or higher is required
# Using UV
uv add pydoover
# Using pip
pip install -U pydoover
# to install the development version:
pip install -U git+https://github.com/getdoover/pydoover
If you are using pydoover and need grpc support and are not using the doover_device_base docker image, install the grpc optional dependencies:
We currently use grpcio==1.65.1 across all our services, so you need to install this version of grpcio to avoid issues.
uv add pydoover[grpc]
# or
pip install -U pydoover[grpc]
Debian Package
The pydoover package (in particular CLI) is also available as a Debian package. You can install it using the following command:
# add the Doover apt repository:
sudo wget http://apt.u.doover.com/install.sh -O - | sh
# install the package
sudo apt install doover-pydoover
Development
To install all dependencies for development, install all optional dependencies (grpc, reports, test, etc.), run:
uv sync --all-extras --all-groups
We use pre-commit hooks to ensure code quality and consistency using Ruff. To set up pre-commit hooks, run the following command:
pre-commit install
To run unit tests, use pytest in the main directory of the repository:
uv run pytest
Documentation
The documentation for PyDoover is generated using Sphinx and can be found in the docs directory. To build the documentation, run:
uv sync --all-extras --all-groups # ensure all dependencies are installed
cd docs
make html
Contributing
For more information, please reach out to the maintainers at hello@doover.com
License
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.
Metadata
Release files for pydoover 1.12.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 | |
|---|---|---|---|
| pydoover-1.12.1.tar.gz | 562.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pydoover-1.12.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 862.3 kB
Release files / pydoover-1.12.1.tar.gz
| Download URL | pydoover-1.12.1.tar.gz |
|---|---|
| Size | 562.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a9b1d42248684ae88f62dbbb0f70e4bfbc4b7830b6ff9b748610f74cb21516f6
|
|
BLAKE2b-256 checksum How to use checksums |
7d64b38245ec1aed334df81325749d7486e61187b75dee42f62d3f353ddc666e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / pydoover-1.12.1-py3-none-any.whl
| Download URL | pydoover-1.12.1-py3-none-any.whl |
|---|---|
| Size | 299.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2dff3ee2443713adf05aa16dbd19aa6de43923a9049c95fd0079af8f0e345a14
|
|
BLAKE2b-256 checksum How to use checksums |
675cae4e9e8a845912bd29e06c44859410cd83976b2523d0373be368eec213c2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|