Skip to main content

IN-CORE analysis tool python package

Project description

pyIncore is a component of IN-CORE. It is a python package consisting of two primary components: 1) a set of service classes to interact with the IN-CORE web services described below, and 2) IN-CORE analyses. The pyIncore allows users to apply various hazards to infrastructure in selected areas, propagating the effect of physical infrastructure damage and loss of functionality to social and economic impacts.

Installation with conda

Installing pyincore with Conda is officially supported by IN-CORE development team.

To add conda-forge channel to your environment, run

conda config –-add channels conda-forge

To install pyincore package, run

conda install -c in-core pyincore

To update pyIncore, run

conda update -c in-core pyincore

You can find detail information at the Installation section at IN-CORE manual.

Installation with pip

Installing pyincore with pip is NOT supported by IN-CORE development team. Please use pip for installing pyincore at your discretion.

Installing pyincore with pip is only tested on linux environment.

Prerequisite

  • GDAL C library must be installed to install pyincore. (for Ubuntu, gdal-bin and libgdal-dev)

  • ipopt executable must be installed to run some analyses such as seaside CGE, joplin CGE, etc.

  • For developers, pre-install must be installed. If not, run brew install pre-commit or pip install pre-commit.

To install pyincore package, run

pip install pyincore

Testing and Running

Please read the Testing and Running section at IN-CORE manual.

Documentation

pyIncore documentation can be found at https://tools.in-core.org/doc/incore/pyincore.html

pyIncore technical reference (API) can be found at https://tools.in-core.org/doc/pyincore/.

Acknowledgement

This work herein was supported by the National Institute of Standards and Technology (NIST) (Award No. 70NANB15H044). This support is gratefully acknowledged. The views expressed in this work are those of the authors and do not necessarily reflect the views of NIST.

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

pyincore-1.22.0.tar.gz (722.2 kB view details)

Uploaded Source

Built Distribution

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

pyincore-1.22.0-py3-none-any.whl (851.7 kB view details)

Uploaded Python 3

File details

Details for the file pyincore-1.22.0.tar.gz.

File metadata

  • Download URL: pyincore-1.22.0.tar.gz
  • Upload date:
  • Size: 722.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for pyincore-1.22.0.tar.gz
Algorithm Hash digest
SHA256 07fae192ae4b015d3511367811024a23e8cec7990e27c631d0ebb9329ad8f53a
MD5 2e75d51b19b5312f37f3baea1750d425
BLAKE2b-256 50abff21cc1cce28d50387e841e7d58818d5361bf3a695be8b328a4dc21725ba

See more details on using hashes here.

File details

Details for the file pyincore-1.22.0-py3-none-any.whl.

File metadata

  • Download URL: pyincore-1.22.0-py3-none-any.whl
  • Upload date:
  • Size: 851.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for pyincore-1.22.0-py3-none-any.whl
Algorithm Hash digest
SHA256 89c1df6aa762f3097bab6395b55d73b21b67b49b39c5f107b74f7faac0ec1e65
MD5 1adaa4446218f17e172ea64af1f98f53
BLAKE2b-256 f0f4e4c622981f50f022d7e674e5fdecf35fbeefee84554b39c04f0747700061

See more details on using hashes here.

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