Skip to main content

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.2.tar.gz (36.7 kB view details)

Uploaded Source

Built Distribution

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

wintappy-0.1.2-py3-none-any.whl (60.1 kB view details)

Uploaded Python 3

File details

Details for the file wintappy-0.1.2.tar.gz.

File metadata

  • Download URL: wintappy-0.1.2.tar.gz
  • Upload date:
  • Size: 36.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for wintappy-0.1.2.tar.gz
Algorithm Hash digest
SHA256 2d207164d34b66b5b457ce49d1544b0af3502f5e3356e41713210d588070bf98
MD5 680e1a4aa0d188e7b7ea7333dc20d162
BLAKE2b-256 fe174b7cb0cb0afa60d46852ae47950bfa0dbe2d0ac3cd67a202e0193cabead5

See more details on using hashes here.

File details

Details for the file wintappy-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: wintappy-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 60.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for wintappy-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 23326e9a63a39451edbd3cf340b09a83c74f42ffa837d937f3cd98fd2b59bee8
MD5 207d38e192450cf520552a530df6cb40
BLAKE2b-256 b9d00e5b9724ba9a6c7fe612005ea59b3730de2179b0848c890fa9feba4ca3fe

See more details on using hashes here.

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