You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP

python-google-drive-api

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

python-google-drive-api

A python client library for Google Drive API

0.1.0
100

Supply Chain Security

100

Vulnerability

100

Quality

100

Maintenance

100

License

Maintainers
1

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

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts