Skip to main content

Automatically track and record records for NVC shipments!

Project description

Project generated with PyScaffold

nvc-dhl-tracker

Automatically track and record records for NVC shipments!

Installation

pip install nvc-dhl-tracker

Or clone from github and run

pip install -e "."

Usage

  • Follow the gspread documentation to create a service account: https://docs.gspread.org/en/latest/

  • Copy the URL of the google spreadsheet

  • Create a new sheet in the document and copy the ID out of the URL, this will be the tracking sheet ID.

Then run

i129f_nvc_tracker

And answer the questions it asks. You should be able to let this run indefinitely, but eventually the database will fill up.

As a SystemD service

[Unit]
Description=i129f SystemD Service

[Service]
ExecStart=/root/i129fvenv/bin/python -m i129f.nvc_dhl_tracker.cli --no-input --dhl-keys [..., ...] --start-number [...] --google-spreadsheet-url [...] --google-sheet-id [...]
Restart=on-failure

[Install]
WantedBy=multi-user.target

Making Changes & Contributing

This project uses pre-commit, please make sure to install it before making any changes:

pip install pre-commit
cd nvc-dhl-tracker
pre-commit install

It is a good idea to update the hooks to the latest version:

pre-commit autoupdate

Don’t forget to tell your contributors to also install and use pre-commit.

Note

This project has been set up using PyScaffold 4.5. For details and usage information on PyScaffold see https://pyscaffold.org/.

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

nvc-dhl-tracker-0.1.11.tar.gz (30.3 kB view details)

Uploaded Source

Built Distribution

nvc_dhl_tracker-0.1.11-py3-none-any.whl (18.1 kB view details)

Uploaded Python 3

File details

Details for the file nvc-dhl-tracker-0.1.11.tar.gz.

File metadata

  • Download URL: nvc-dhl-tracker-0.1.11.tar.gz
  • Upload date:
  • Size: 30.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for nvc-dhl-tracker-0.1.11.tar.gz
Algorithm Hash digest
SHA256 ab90bd9296e2e86447f963ea305d6f8747d9e6bd4d047cd927d901c467a7599e
MD5 407bfcbf06b39ec5557a6448946bfe8e
BLAKE2b-256 f753258c2f542a4fac2fa65277c94364d698183cee3b06622d22c97dfad8683d

See more details on using hashes here.

File details

Details for the file nvc_dhl_tracker-0.1.11-py3-none-any.whl.

File metadata

File hashes

Hashes for nvc_dhl_tracker-0.1.11-py3-none-any.whl
Algorithm Hash digest
SHA256 98cadfade33982842e6640b0706c8e3f7cdb6d4e9c9df9321f04feaef6d188e2
MD5 4c5a89d9392c5aeb8a07c6f11e93702f
BLAKE2b-256 3326f4fd6cacc2cbc055a37e442163d58d411772fd820cba3bc446458a3c9f81

See more details on using hashes here.

Supported by

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