Skip to main content

A python package for easily reading OpenFEMA datasets.

Project description

pyOpenFEMA

A python package for easily reading OpenFEMA datasets.

This package is intended to facilitate better access and promote more rapid analysis of OpenFEMA data. It is a wrapper around the OpenFEMA API, which allows for direct reading of datasets into a pandas dataframe without a user having to manually set up the API URL to the data. Users can either read in the full dataset or read in a subset of a dataset.

Please report any bugs, suggest enhancements, or ask questions by creating an issue.

Installation

The package can be installed using pip

pip install pyOpenFEMA

Basic Usage

At a basic level, a dataset can be read with:

from pyOpenFEMA.OpenFEMA import OpenFEMA

# Initialize the OpenFEMA session
openfema = OpenFEMA()

# List available datasets
print(openfema.list_datasets())

# Read in a dataset
df_femaregions = openfema.read_dataset('FemaRegions')

For more details and how to subset a dataset, see the tutorial notebook.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyopenfema-1.0.2-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

File details

Details for the file pyopenfema-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: pyopenfema-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 11.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for pyopenfema-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 32a60650c30215ca0542718e40121491aff6633960956a4c44fdf3fd2a74bc4a
MD5 a73faa5a9a14aa68b18dad0f0395c3c0
BLAKE2b-256 ede1f1c03d826861d04092d55fd79d800faf4dd28bcdaa289c994cf83074384b

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyopenfema-1.0.2-py3-none-any.whl:

Publisher: python-publish.yml on kjdoore/pyOpenFEMA

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page