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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file zhaostephen_vdts-0.2.2.tar.gz.
File metadata
- Download URL: zhaostephen_vdts-0.2.2.tar.gz
- Upload date:
- Size: 8.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f04c5b760c20fa44806fe3de329836a628a9d86ed7a564e7a2c843890f4a833a
|
|
| MD5 |
e597369cd9af302264efe5fe4c22d092
|
|
| BLAKE2b-256 |
e732b99f7cdad47ba3eac77870019bc9b817951d7a4d0ee92995ddf7cb79ce21
|
Provenance
The following attestation bundles were made for zhaostephen_vdts-0.2.2.tar.gz:
Publisher:
publish.yml on stephen-zhao/vdts
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
zhaostephen_vdts-0.2.2.tar.gz -
Subject digest:
f04c5b760c20fa44806fe3de329836a628a9d86ed7a564e7a2c843890f4a833a - Sigstore transparency entry: 715052387
- Sigstore integration time:
-
Permalink:
stephen-zhao/vdts@d69905c787dbd42eb424de18d2d70d7787a44b9e -
Branch / Tag:
refs/heads/main - Owner: https://github.com/stephen-zhao
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@d69905c787dbd42eb424de18d2d70d7787a44b9e -
Trigger Event:
workflow_run
-
Statement type:
File details
Details for the file zhaostephen_vdts-0.2.2-py3-none-any.whl.
File metadata
- Download URL: zhaostephen_vdts-0.2.2-py3-none-any.whl
- Upload date:
- Size: 9.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4bc172ea03bb46128beb0e7bc817ab52e0c08be1f42685a34363a40a5fa887d2
|
|
| MD5 |
2806f9161ac7a51e41e05172b22a95fa
|
|
| BLAKE2b-256 |
16e21a060de5d8cc441a38003216570567ce53e686b9917289e0f5f91844d955
|
Provenance
The following attestation bundles were made for zhaostephen_vdts-0.2.2-py3-none-any.whl:
Publisher:
publish.yml on stephen-zhao/vdts
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
zhaostephen_vdts-0.2.2-py3-none-any.whl -
Subject digest:
4bc172ea03bb46128beb0e7bc817ab52e0c08be1f42685a34363a40a5fa887d2 - Sigstore transparency entry: 715052390
- Sigstore integration time:
-
Permalink:
stephen-zhao/vdts@d69905c787dbd42eb424de18d2d70d7787a44b9e -
Branch / Tag:
refs/heads/main - Owner: https://github.com/stephen-zhao
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@d69905c787dbd42eb424de18d2d70d7787a44b9e -
Trigger Event:
workflow_run
-
Statement type: