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.

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


Download files

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

Source Distribution

doover-1.0.0a4.tar.gz (456.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

doover-1.0.0a4-py3-none-any.whl (237.1 kB view details)

Uploaded Python 3

File details

Details for the file doover-1.0.0a4.tar.gz.

File metadata

  • Download URL: doover-1.0.0a4.tar.gz
  • Upload date:
  • Size: 456.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","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}

File hashes

Hashes for doover-1.0.0a4.tar.gz
Algorithm Hash digest
SHA256 e66dd3af00fd59754092b5a0030595428d50fc31ebf220037ae9965858467fc3
MD5 ed8eea50f71b1aa2256ea6218f073bf7
BLAKE2b-256 7eb2776dbe3c19b0ddc4f60502d8fe5e3c2d118cd786e9defd660af8888da8da

See more details on using hashes here.

File details

Details for the file doover-1.0.0a4-py3-none-any.whl.

File metadata

  • Download URL: doover-1.0.0a4-py3-none-any.whl
  • Upload date:
  • Size: 237.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","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}

File hashes

Hashes for doover-1.0.0a4-py3-none-any.whl
Algorithm Hash digest
SHA256 7035b470b7f42078dc80fa326b9617760d890e3a1c073f418b45ae06383d7117
MD5 447a028c5f8827cc215307bd714310f6
BLAKE2b-256 272a7277a8a27be1ba3e13db491e1f804f57ce4a6b6f59425a8c197da72ee57e

See more details on using hashes here.

Supported by

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