semvec/pypi-packages huggingface dataset:
nhdpy 0.1.1
A python port of the nhdR package for querying, downloading, and networking the National Hydrography Dataset (NHD) dataset
License: MIT license
Requires Python: >=3.5
Keywords: nhdpy

# nhdpy

[![PyPiVersion](https://img.shields.io/pypi/v/nhdpy.svg)](https://pypi.python.org/pypi/nhdpy/) [![PYPI Downloads](https://img.shields.io/pypi/dm/nhdpy.svg)](https://pypistats.org/packages/nhdpy) [![Build status](https://github.com/jsta/nhdpy/workflows/Python%20package/badge.svg)](https://github.com/jsta/nhdpy/actions)

A python port of the [nhdR](https://jsta.github.io/nhdR) package for querying, downloading, and networking the [National
Hydrography Dataset (NHD)](https://nhd.usgs.gov/) dataset.

## Installation

```shell
conda env create -n nhdpy -f environment.yml
```

```shell
# local install
# pip install -e  .

# development install
pip install git+git://github.com/jsta/nhdpy.git

# development upgrade
# pip install --upgrade git+git://github.com/jsta/nhdpy.git

```

## Usage

```python
import nhdpy

nhdpy.nhd_get(state = "DC")

nhdpy.nhd_list(state = "DC")

dc_waterbodies = nhdpy.nhd_load("DC", "NHDWaterbody")

# import matplotlib.pyplot as plt
# dc_waterbodies.iloc[1:2].plot()
# plt.show()
```