Skip to content

ctxmc/hidrodb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

233 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HidroDB

An python application tool to request and sync data from ANA Hidro WebServices.

Setup

  • Requires sqlite3.
  • Setup your python enviroment and install dependencies:
    pip install .

Usage

python hidrodb --help
usage: hidrodb [-h] [--user-id USER_ID] [--password PASSWORD] [--hidro HIDRO] [--client CLIENT] [--max-workers MAX_WORKERS] [--batch-size BATCH_SIZE] [--log-level {TRACE,VERBOSE,DEBUG,INFO,WARNING,ERROR}]

options:
  -h, --help            show this help message and exit
  --user-id USER_ID     User ID for authentication on ANA HidroWebServices
  --password PASSWORD   Password for authentication on ANA HidroWebServices
  --hidro HIDRO         Path to Hidro Database file
  --client CLIENT       Path to Client Database file
  --max-workers MAX_WORKERS
  --batch-size BATCH_SIZE
                        Batch size threshold to write job data on Hidro Database
  --log-level {TRACE,VERBOSE,DEBUG,INFO,WARNING,ERROR}
                        Set logging level

Documentation

About

An python application tool to request and sync data from ANA Hidro WebServices.

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Languages