Wintap-PyUtil
Python utilities for working with Wintap data
Minimum System Requirements
Python 3.10
Getting Started
Setup the python venv and install from source for development testing.
$ make venv
$ pipenv run -- pip3 install -e .
Import the module in a python notebook or file, or use the commandline tools
$ pipenv run rawtorolling --help
usage: rawtorolling.py [-h] [-d DATASET] [-s START] [-e END] [-l LOG_LEVEL]
Convert raw Wintap data into standard form, partitioned by day
options:
-h, --help show this help message and exit
-d DATASET, --dataset DATASET
Path to the dataset dir to process
-s START, --start START
Start date (YYYYMMDD)
-e END, --end END End date (YYYYMMDD)
-l LOG_LEVEL, --log-level LOG_LEVEL
Logging Level: INFO, WARN, ERROR, DEBUG
from wintappy.datautils.rawutil import init_db
connection = init_db()
print(connection.query('select 1'))
See wintappy/examples/ for additional examples.
Release
LLNL-CODE-837816
Metadata
Release files for wintappy 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| wintappy-0.1.4.tar.gz | 49.4 kB | Details |
Release files / wintappy-0.1.4.tar.gz
| Download URL | wintappy-0.1.4.tar.gz |
|---|---|
| Size | 49.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c0fa72987af35d898561a6ed4bdbdbf5c6c5094a04d1884d9f43a49af05200f1
|
|
BLAKE2b-256 checksum How to use checksums |
0df87a83c84ea11ce16657cf98f4c4bc9e563751e1549ece9ca55e4d86df1044
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.10.13
|