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

Metadata

Release files for dew-gwdata 0.129

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.129
File Size Uploaded Provenance Actions
dew_gwdata-0.129.tar.gz 2.0 MB Without provenance Details for dew_gwdata-0.129.tar.gz

Built distribution (wheel)

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

Total release size: 3.4 MB

Release files / dew_gwdata-0.129.tar.gz

Download URL dew_gwdata-0.129.tar.gz
Size 2.0 MB
Tags Source
SHA-256 checksum
How to use checksums
bffcf329b2e4bd760080f444a544467eb399fa8a440bf281fa14bce923018a37
BLAKE2b-256 checksum
How to use checksums
aa344a62db3673320ad6cc44c7a82cfdd8c30a9aa9f81894504777aac6f29d09
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.129-py3-none-any.whl

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

Security for dew-gwdata 0.129

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.129 This release

2 release files No provenance

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