semvec/pypi-packages huggingface dataset:
kilroy-module-py-shared 0.7.0
shared code for kilroy module SDKs in Python 🤝
Requires Python: >=3.10,<4.0

<h1 align="center">kilroy-module-py-shared</h1>

<div align="center">

shared code for kilroy module SDKs in Python 🤝

[![Lint](https://github.com/kilroybot/kilroy-module-py-shared/actions/workflows/lint.yaml/badge.svg)](https://github.com/kilroybot/kilroy-module-py-shared/actions/workflows/lint.yaml)
[![Tests](https://github.com/kilroybot/kilroy-module-py-shared/actions/workflows/test-multiplatform.yaml/badge.svg)](https://github.com/kilroybot/kilroy-module-py-shared/actions/workflows/test-multiplatform.yaml)
[![Docs](https://github.com/kilroybot/kilroy-module-py-shared/actions/workflows/docs.yaml/badge.svg)](https://github.com/kilroybot/kilroy-module-py-shared/actions/workflows/docs.yaml)

</div>

---

## Overview

This package contains code shared by SDKs related to modules.
Mostly it's just a bunch of utilities and dataclasses.

## Installing

Using `pip`:

```sh
pip install kilroy-module-py-shared
```

## Messages

Messages are dataclasses that are used in the APIs.
They are automatically generated from the protobuf definitions.

## Posts

Posts are `pydantic` models that are used to represent various types of posts.
There are definitions for:

- `TextOnlyPost`
- `ImageOnlyPost`
- `TextAndImagePost`
- `TextOrImagePost`
- `TextWithOptionalImagePost`
- `ImageWithOptionalTextPost`

## Models

One useful thing this package provides is a `SerializableModel` class.
It's a base class for `pydantic` models
that can be serialized to and from JSON
with a proper case convention.
stactools-fws-nwi 0.2.0
stactools package for the National Wetlands Inventory (NWI) product provided by the U.S. Fish and Wildlife Service (FWS)
Keywords: stactools,FWS,NWI,wetland,deepwater,habitats,STAC

# stactools-fws-nwi

[![PyPI](https://img.shields.io/pypi/v/stactools-fws-nwi)](https://pypi.org/project/stactools-fws-nwi/)

- Name: fws-nwi
- Package: `stactools.fws_nwi`
- [stactools-fws-nwi on PyPI](https://pypi.org/project/stactools-fws-nwi/)
- Owners: @m-mohr, @gadomski
- Dataset homepage:
  - <https://www.fws.gov/program/national-wetlands-inventory>
- STAC extensions used:
  - [FWS NWI](https://github.com/stac-extensions/usfws-nwi/)
  - [proj](https://github.com/stac-extensions/projection/)
  - [table](https://github.com/stac-extensions/table/)
  - [item-assets](https://github.com/stac-extensions/item-assets/)
- Extra fields:
  - See the [FWS NWI Extension Specification](https://github.com/stac-extensions/usfws-nwi/) for details.

stactools package for the National Wetlands Inventory (NWI) product
provided by the U.S. Fish and Wildlife Service (FWS).

The Wetlands Data Layer is the product of over 45 years of work by the National
Wetlands Inventory (NWI) and its collaborators and currently contains more than
35 million wetland and deepwater features. This dataset, covering the conterminous
United States, Hawaii, Puerto Rico, the Virgin Islands, Guam, the major Northern
Mariana Islands and Alaska, continues to grow at a rate of 50 to 100 million acres
annually as data are updated. The data layer is updated twice a year and these
changes are reflected on the mapper and in the data downloads.

## STAC Examples

- [Collection](examples/collection.json)
- [Item](examples/item.json)
- [Browse the example in human-readable form](https://radiantearth.github.io/stac-browser/#/external/raw.githubusercontent.com/stactools-packages/fws-nwi/main/examples/collection.json)

## Installation

```shell
pip install stactools-fws-nwi
```

## Command-line Usage

Use `stac fws-nwi --help` to see all subcommands and options.

### Collection

Create a collection:

```shell
stac fws-nwi create-collection collection.json
```

Get information about all options for collection creation:

```shell
stac fws-nwi create-collection --help
```

### Item

Create an item:

```shell
stac fws-nwi create-item /path/to/source/file.zip item.json
```

Get information about all options for item creation:

```shell
stac fws-nwi create-item --help
```

## Contributing

We use [pre-commit](https://pre-commit.com/) to check any changes.
To set up your development environment:

```shell
pip install -e .
pip install -r requirements-dev.txt
pre-commit install
```

To check all files:

```shell
pre-commit run --all-files
```

To run the tests:

```shell
pytest -vv
```