Skip to main content

dew_gwdata

Python module for accessing groundwater data internally at DEW

Install

The source code is on Bitbucket, while Python packages (source and binary) are published on the Python Package Index and on a dedicated channel on Anaconda Cloud.

From PyPI (most recent release)

Run this in Command Prompt to install from PyPI:

pip install dew_gwdata

To upgrade to the latest version:

pip install -U dew_gwdata

From Anaconda

You can also install using conda/mamba if you prefer:

mamba install -c dew-waterscience dew_gwdata

To upgrade:

mamba upgrade -c dew-waterscience dew_gwdata

The version may not be as up-to-date as the PyPI version.

From Bitbucket

This is how you can install the latest version of the source code directly from Bitbucket (the version control repository):

python -m pip install git+https://kinveraritysagov@bitbucket.org/dewsurfacewater/dew_gwdata.git

You will need to replace kinveraritysagov with your Bitbucket username, and you will also need access to the source repository on the Bitbucket dewsurfacewater workspace.

Usage

Check out complete documentation at:

http://bunyip:8191/python-docs/dew_gwdata/latest_source/index.html

Webapp usage

"New" Waterkennect is implemented by the dew_gwdata.webapp module. To execute the webapp navigate to the folder containing the source code, i.e. the dew_gwdata/webapp folder within this repository, and run:

uvicorn dew_gwdata.webapp.main:app --port 8191 --host 0.0.0.0 --reload --log-config .\log-config.yaml

There is an example logging config file in this folder.

(py310) C:\devapps\syski\code\dew_gwdata\dew_gwdata\webapp>uvicorn dew_gwdata.webapp.main:app --port 8191 --host 0.0.0.0 --reload --log-config .\log-config.yaml
INFO:     [29-11-2023 13:39:10] uvicorn.error.serve - Started server process [63528]
INFO:     [29-11-2023 13:39:10] uvicorn.error.startup - Waiting for application startup.
INFO:     [29-11-2023 13:39:10] uvicorn.error.startup - Application startup complete.
DEBUG:    [29-11-2023 13:39:41] dew_gwdata.webapp.models.queries.find_wells - id_types requested: ['unit_no', 'obs_no', 'dh_no']
INFO:     [29-11-2023 13:39:42] 10.55.65.0:58877 - "GET /app/wells_summary?idq=86711&idq_unit_no=1&idq_obs_no=1&idq_dh_no=1&env=prod HTTP/1.1" 200 OK

License

All rights reserved DEW 2023

Release files for dew-gwdata 0.124

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dew-gwdata 0.124
File Size Uploaded
dew_gwdata-0.124.tar.gz 2.0 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for dew-gwdata 0.124
File Interpreter ABI Platform
dew_gwdata-0.124-py3-none-any.whl Python 3 none any Details

Total release size: 3.4 MB

Release files / dew_gwdata-0.124.tar.gz

Download URL dew_gwdata-0.124.tar.gz
Size 2.0 MB
Tags Source
SHA-256 checksum
How to use checksums
d93206c1aa1ec73798c20ec138b4f2e9fcfff09d4fcda21ec9266eeab3eff3a2
BLAKE2b-256 checksum
How to use checksums
ce64baa9b56e6b4daeb681f54ac3d6e64796a84bee86cc7bad6fcf4231425ee8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.8.20

Release files / dew_gwdata-0.124-py3-none-any.whl

Download URL dew_gwdata-0.124-py3-none-any.whl
Size 1.5 MB
Tags Python 3
SHA-256 checksum
How to use checksums
3ccc1e24a0b47e0f04e2894629d3c7c84d33a5174082aa9ca2eb949306e17b4c
BLAKE2b-256 checksum
How to use checksums
ebd15444220bec53091cea669af86f4c647c0bfe0991e9a9a08859c2b414d26e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.8.20

Release history Release notifications | RSS feed

0.128

2 release files

0.127

2 release files

0.126

2 release files

0.125

2 release files

This release

0.124 This release

2 release files

0.123

2 release files

0.122

2 release files

0.121

2 release files

0.120

2 release files

0.119

2 release files

0.118

2 release files

0.117

2 release files

0.116

2 release files

0.115

2 release files

0.114

2 release files

0.110

2 release files

0.109

2 release files

0.108

2 release files

0.107

2 release files

0.106

2 release files

0.105

2 release files

0.104

2 release files

0.103

2 release files

0.102

2 release files

0.101

2 release files

0.100

2 release files

0.99

2 release files

0.98

2 release files

0.97

2 release files

0.96

2 release files

0.95

2 release files

0.94

2 release files

0.93

2 release files

0.92

2 release files

0.91

2 release files

0.90

2 release files

0.89

2 release files

0.88

2 release files

0.87

2 release files

0.86

2 release files

0.85

2 release files

0.84

2 release files

0.83

2 release files

0.82

2 release files

0.81

2 release files

0.80

2 release files

0.79

2 release files

0.78

2 release files

0.77

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page