Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pydoover-0.4.2.tar.gz (114.6 kB view details)

Uploaded Source

Built Distribution

pydoover-0.4.2-py3-none-any.whl (131.0 kB view details)

Uploaded Python 3

File details

Details for the file pydoover-0.4.2.tar.gz.

File metadata

  • Download URL: pydoover-0.4.2.tar.gz
  • Upload date:
  • Size: 114.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.7.9

File hashes

Hashes for pydoover-0.4.2.tar.gz
Algorithm Hash digest
SHA256 f3a7d0311c0ed40f6cf99c1d2bef2f71cb0323d21e2c74db26e737de6676d1e8
MD5 1dc0e57be3daca6f218f6b136d49c4fb
BLAKE2b-256 e874cafc3c3ab6de5a3a6af0f9dc111c112dbcca9eba45d0af5bd96d6903501a

See more details on using hashes here.

File details

Details for the file pydoover-0.4.2-py3-none-any.whl.

File metadata

  • Download URL: pydoover-0.4.2-py3-none-any.whl
  • Upload date:
  • Size: 131.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.7.9

File hashes

Hashes for pydoover-0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f1dd0efe1528af361d3055eed32393da8871dedb5589f3edc9680f75314e18e6
MD5 253790b1e0c17d321349bcd769c54ee9
BLAKE2b-256 92313fdfe918baa69dd1ff80a84d261ca37549a0bc1d63b9a8b32ba6e49d471c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page