Skip to main content

Petzi backend for Taxi

This is the Petzi backend for Taxi. It exposes the petzi protocol to push entries to a Google spreadsheet.

Installation

taxi plugin install petzi

Usage

First you’ll need to generate a credentials file to be able to query the spreadsheets Google API. To do so, follow the official guide, and then follow the "Create Desktop application credentials" and download the JSON file with credentials.

Once you have your JSON file with credentials, open your configuration file using taxi config, and add a backend using the petzi protocol for your backend. Use the path to the credentials JSON file and set the sheet_id in the query string. For example:

[backends]
petzi = petzi:///home/sephi/credentials.json?sheet_id=22324_Xg40_x9iWrERPCeIhBFcfHuTWbzxtjrfwvZIQA

Contributing

To setup a development environment, create a virtual environment and run the following command in it:

python3 -m pip install -e .

To use a specific version of Taxi, eg. if you need to also make changes to Taxi, install it in the virtual environment in editable mode:

python3 -m pip install -e /path/to/taxi

To run the tests, install the test requirements, and then run the pytest command:

python3 -m pip install -r requirements_test.txt
pytest

Metadata

Release files for taxi_petzi 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for taxi_petzi 1.1.0
File Size Uploaded Provenance
taxi_petzi-1.1.0.tar.gz 7.3 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for taxi_petzi 1.1.0
File Interpreter ABI Platform
taxi_petzi-1.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 12.8 kB

Release files / taxi_petzi-1.1.0.tar.gz

Download URL taxi_petzi-1.1.0.tar.gz
Size 7.3 kB
Tags Source
SHA-256 checksum
How to use checksums
9bbea90e9ebf9e8274e4c80d25ffb21710fe4c0aa81674f08454c749c95c2f1a
BLAKE2b-256 checksum
How to use checksums
4addac2161f095bb8d2dfb85cc3652552761d461a2f98828d3261cbcd201db93
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.31.0

Release files / taxi_petzi-1.1.0-py3-none-any.whl

Download URL taxi_petzi-1.1.0-py3-none-any.whl
Size 5.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5c94bbcea754c697b8b30f2ce487eb815194f7393dc73e84b6b037d914caad3f
BLAKE2b-256 checksum
How to use checksums
fbb377559f8b89f051270f77f4eb1a0afb0d90027da82b213b425ef397e7eb9f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.31.0

Security for taxi_petzi 1.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page