Skip to main content

A library and CLI for checking and reporting that time series data occurs at regular intervals.

Project description

vdts 🕐🕑⭕🕓

vdts is a library and cli for verifying that items in a time series occur at regular time intervals.

It started out as a tool specifically used to check and report on if a set of files with dates in their names occur at regular time intervals with no missing and/or extra files.

For example, this is very useful for verifying that there are no missing statements in a directory for monthly financial statements.

It can still be used to do that. But underneath, we've isolated the core functionality—the module may also be used as a python code library now.

Fun fact: "vdts" originally was an abbreviation for "Verify Directory Time Series"

How to Install

This package is still in development and will be deployed to Pypi soon. Watch out for the pypi release shield to appear at the top of this file.

Quick Start Guide

CLI

Once the package is installed, you should have access to a command line script vdts from your python environment's bin directory, which should be in your user PATH.

To check if there are any gaps in monthly statements with file names that look like statement-%Y%m%d.pdf in the current directory, you can run:

vdts . 'statement-%Y%m%d\.pdf'

To check all the way up until today (to see if you need to go to your bank's online portal to download statements), you can run:

vdts -n . 'statement-%Y%m%d\.pdf'

Now let's say you have an investment account that provides quarterly statements. You can check by running:

vdts -i q -n . 'investment_account_\d{8}-%Y%m%d\.pdf'

For further instructions on how to use the CLI, just run

vdts -h

Library

Details about the library will come soon!

API Documentation

TODO: I still need to finalize the API for the library offering of vdts

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

zhaostephen_vdts-0.2.4.tar.gz (8.6 kB view details)

Uploaded Source

Built Distribution

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

zhaostephen_vdts-0.2.4-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

Details for the file zhaostephen_vdts-0.2.4.tar.gz.

File metadata

  • Download URL: zhaostephen_vdts-0.2.4.tar.gz
  • Upload date:
  • Size: 8.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for zhaostephen_vdts-0.2.4.tar.gz
Algorithm Hash digest
SHA256 65d6f3187268fe3af459798fde74e18b8ff1eb3713ad39da9d6469ecc51fb1af
MD5 ae920934fc4a6459c1dbfa28f35264a0
BLAKE2b-256 994a300e69df2004b87084501df22d7b09f0462f528fbfbc13e454269c7ef19a

See more details on using hashes here.

Provenance

The following attestation bundles were made for zhaostephen_vdts-0.2.4.tar.gz:

Publisher: publish.yml on stephen-zhao/vdts

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file zhaostephen_vdts-0.2.4-py3-none-any.whl.

File metadata

File hashes

Hashes for zhaostephen_vdts-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 e045e52692daedff41ee2edae9d90f616f7bfc4e93b4a402dfcf90a7bbdff745
MD5 34a4611ee24f2b0a04867f6d78b06e2b
BLAKE2b-256 1da8f6956ffd4dc5a672c857862c5b7621f1db93cd3e3575c8a69941391b5bee

See more details on using hashes here.

Provenance

The following attestation bundles were made for zhaostephen_vdts-0.2.4-py3-none-any.whl:

Publisher: publish.yml on stephen-zhao/vdts

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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