Python utilities for working with Wintap data
Project description
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
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
wintappy-0.1.0.tar.gz
(25.2 kB
view details)
File details
Details for the file wintappy-0.1.0.tar.gz.
File metadata
- Download URL: wintappy-0.1.0.tar.gz
- Upload date:
- Size: 25.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
289a6344b0ae1a8f9adce955a337254550f15d8c58bf87b1f9ade1755d32d871
|
|
| MD5 |
d10907d33c1c5cd0dc0d88a7d2ee0e63
|
|
| BLAKE2b-256 |
6942c6ed65a436e35a93cff06948c38bac824082a7a219c4861d988589cdb126
|