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 Distribution

pyopenfema-1.0.0.tar.gz (14.9 kB view details)

Uploaded Source

Built Distribution

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

pyOpenFEMA-1.0.0-py3-none-any.whl (11.1 kB view details)

Uploaded Python 3

File details

Details for the file pyopenfema-1.0.0.tar.gz.

File metadata

  • Download URL: pyopenfema-1.0.0.tar.gz
  • Upload date:
  • Size: 14.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for pyopenfema-1.0.0.tar.gz
Algorithm Hash digest
SHA256 0e80b1fab97ed9a1d46bfbe066fdeb40e60ed7e189d40c86a335ee8106e9bf3d
MD5 d76f6bc967ba732b2e201ef8399ee60f
BLAKE2b-256 4cc5cb1c7ca49e2e38be91d9024ddb4d0bf019fb3a197baac1c677d7fce72fc0

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyopenfema-1.0.0.tar.gz:

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.

File details

Details for the file pyOpenFEMA-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: pyOpenFEMA-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 11.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for pyOpenFEMA-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 490ba2af8852d82ef823b32e16b654a7258c6101ab0cef3539bf59bb5289e6de
MD5 f61990cfef40fa92f80b6556b927e501
BLAKE2b-256 12264e64e115c69a9e3cef9b8840e2ada8964a2953dc68a1a37cd577072731d3

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyOpenFEMA-1.0.0-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