Python package for interacting with Doover
Project description
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/spaneng/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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pydoover-0.4.17.tar.gz.
File metadata
- Download URL: pydoover-0.4.17.tar.gz
- Upload date:
- Size: 201.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.8.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c6ae48b4e1d24aac8bcfe41e22b7a319c4056678e13689189c5fb579ccfb7f1f
|
|
| MD5 |
5d9fed9174485e2aff2a3b298170e375
|
|
| BLAKE2b-256 |
3e5594fe8e17070911983c99df920d8d67d28bf0a378965004710c2293d2a4a4
|
File details
Details for the file pydoover-0.4.17-py3-none-any.whl.
File metadata
- Download URL: pydoover-0.4.17-py3-none-any.whl
- Upload date:
- Size: 145.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.8.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b5bb378d346a2be614394bfb6d2555c9ffda888d0ea7f06e1fdbc9f7346343ad
|
|
| MD5 |
46c603b602f81e795c23f424ed619352
|
|
| BLAKE2b-256 |
8f1d4ba6b775af6af32b1833b752258ea1e562b967687c4f342463ac009889c3
|