Skip to content

tronikos/python-google-drive-api

Repository files navigation

python-google-drive-api

A python client library for Google Drive API.

Background

This is a thin wrapper around the API used for a very lightweight abstraction. The primary use case is for Home Assistant.

Based on https://github.com/allenporter/python-google-photos-library-api

Development environment

python3 -m venv .venv
source .venv/bin/activate
# for Windows CMD:
# .venv\Scripts\activate.bat
# for Windows PowerShell:
# .venv\Scripts\Activate.ps1

# Install dependencies
python -m pip install --upgrade pip
python -m pip install .

# Run pre-commit
python -m pip install pre-commit
pre-commit install
pre-commit run --all-files

# Alternative: run formatter, lint, and type checking
python -m pip install isort black flake8 ruff mypy
isort . ; black . ; flake8 . ; ruff check . --fix ; mypy --install-types .

# Run tests
python -m pip install pytest
pytest

# Build package
python -m pip install build
python -m build

About

A python client library for Google Drive API

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages