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.0
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.0.tar.gz | 563.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pydoover-1.12.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 862.4 kB
Release files / pydoover-1.12.0.tar.gz
| Download URL | pydoover-1.12.0.tar.gz |
|---|---|
| Size | 563.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ef3c4f89ad81ed46f457a0fc72052e1da609246977745f7530bd9ae653dc1771
|
|
BLAKE2b-256 checksum How to use checksums |
206a6250ccb49522966c7024f7cfdda6268941ca8eeeaa32c7ecb3e983e5fd1a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.0 {"installer":{"name":"uv","version":"0.12.0","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.0-py3-none-any.whl
| Download URL | pydoover-1.12.0-py3-none-any.whl |
|---|---|
| Size | 299.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d0b82371c7ad11b247aa278b3198ea7ea2bec4dc3b6886221ab33867acc6928f
|
|
BLAKE2b-256 checksum How to use checksums |
44c4d70ae64e37d5ff8d68d9a833ec8771ffc30946174e453286b537ee418add
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.0 {"installer":{"name":"uv","version":"0.12.0","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}
|