Skip to main content

a data warehouse for scenario analysis

Project description

The ixmp4 package for scenario data management

Copyright (c) 2023-2024 IIASA - Energy, Climate, and Environment Program (ECE)

license: MIT python Code style: ruff Checked with mypy

Overview

The ixmp4 package is a data warehouse for high-powered scenario analysis in the domain of integrated assessment of climate change and energy systems modeling.

License

The ixmp4 package is released under the MIT license.

Install from pypi

You can install ixmp4 using pip:

pip install ixmp4

Install from GitHub

For installing the latest version directly from GitHub do the following.

Requirements

This project requires Python 3.10 (or higher) and poetry (>= 1.2).

Setup

# Install Poetry, minimum version >=1.2 required
curl -sSL https://install.python-poetry.org | python -

# You may have to reinitialize your shell at this point.
source ~/.bashrc

# Activate in-project virtualenvs
poetry config virtualenvs.in-project true

# Add dynamic versioning plugin
poetry self add "poetry-dynamic-versioning[plugin]"

# Install dependencies
# (using "--with dev,docs,server" if dev and docs dependencies should be installed as well)
poetry install --with dev,docs,server

# Activate virtual environment, e.g. using Bash/Zsh/Csh
# See https://python-poetry.org/docs/managing-environments/#activating-the-environment
eval $(poetry env activate)

# Copy the template environment configuration
cp template.env .env

# Add a test platform
ixmp4 platforms add test

# Start the asgi server
ixmp4 server start

CLI

ixmp4 --help

Docs

Read doc/README.md to build and serve the documentation locally.

Docker Image

Check docker/README.md to build and publish docker images.

Developing

See DEVELOPING.md for guidance. When contributing to this project via a Pull Request, add your name to the "authors" section in the pyproject.toml file.

Compatibility

This project mainly targets postgres version 16 but we test version 15 continously also. Tests with pyarrow installed alongside are also run due to its effect on pandas etc.

python postgres with pyarrow
3.10 16 true
3.10 16 false
3.11 16 true
3.11 16 false
3.12 16 true
3.12 16 false
3.13 16 true
3.13 16 false
3.13 15 false

Funding ackownledgement

ECEMF logo openENTRANCE logo Kopernikus project ARIADNE logo

The development of the ixmp4 package was funded from the EU Horizon 2020 projects openENTRANCE and ECEMF as well as the BMBF Kopernikus project ARIADNE (FKZ 03SFK5A by the German Federal Ministry of Education and Research).

EU logo This project has received funding from the European Union’s Horizon 2020 research and innovation programme under grant agreement No. 835896 and 101022622.

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

ixmp4-0.16.0.tar.gz (140.6 kB view details)

Uploaded Source

Built Distribution

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

ixmp4-0.16.0-py3-none-any.whl (257.4 kB view details)

Uploaded Python 3

File details

Details for the file ixmp4-0.16.0.tar.gz.

File metadata

  • Download URL: ixmp4-0.16.0.tar.gz
  • Upload date:
  • Size: 140.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for ixmp4-0.16.0.tar.gz
Algorithm Hash digest
SHA256 6bc1904f19d27a39b1962868441f57004d59568115f592b4b39a623aa71f2f6c
MD5 ee2ca9b7c7b3fb5a4fb7aa5d76b6becb
BLAKE2b-256 b33df1d36e6038cb0bbfeb9ac836123e7423fb257f8a7b190e99926f2d596605

See more details on using hashes here.

Provenance

The following attestation bundles were made for ixmp4-0.16.0.tar.gz:

Publisher: publish.yaml on iiasa/ixmp4

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

File details

Details for the file ixmp4-0.16.0-py3-none-any.whl.

File metadata

  • Download URL: ixmp4-0.16.0-py3-none-any.whl
  • Upload date:
  • Size: 257.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for ixmp4-0.16.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8fa743d3d0814ac060103fa7917800f4a051e5d288c38ebe6d4a1c61c0693769
MD5 2ef3209d91c35853b4060e7bfe45439e
BLAKE2b-256 eafbe14f056222295e1347083b7c81a41121459e870d43c1e4a151c23c1cbeb9

See more details on using hashes here.

Provenance

The following attestation bundles were made for ixmp4-0.16.0-py3-none-any.whl:

Publisher: publish.yaml on iiasa/ixmp4

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