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.
Getting Started
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
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
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
File details
Details for the file pydoover-0.4.1.tar.gz
.
File metadata
- Download URL: pydoover-0.4.1.tar.gz
- Upload date:
- Size: 114.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
4ddc9e2471e5c40be8c01cc638956d94f6a4b27f65675225a615e4524f356165
|
|
MD5 |
b4bc44d4d5675e84f3c871592878f6c2
|
|
BLAKE2b-256 |
6af22726257f3158583afdd3e492667f26674df716a53c7d99680537b5300811
|
File details
Details for the file pydoover-0.4.1-py3-none-any.whl
.
File metadata
- Download URL: pydoover-0.4.1-py3-none-any.whl
- Upload date:
- Size: 130.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
f8f4cdd8c482c8b974a99404475c694ff7dc2a0123c55c352dea76ff79fe8090
|
|
MD5 |
1a3b7db5dc52a0ef2a436d4e5711c5e6
|
|
BLAKE2b-256 |
f515731e452e716500a8030a07f0b44374f9dda1008b3385e6d977eaa2a78b9a
|