Skip to main content

WindreX — Wind Resource eXchange

Tests DOI Downloads

A Python library for wind resource assessment, wake modeling, turbine database management, MCDA-based site suitability analysis, and capacity factor computation.

Features

  • Weibull Analysis: MLE fitting, PDF, mean power density
  • Wind Rose: Directional frequency and speed distributions
  • Wind Shear: Power-law extrapolation to hub height
  • Wake Modeling: Jensen/Park single-wake deficit, array efficiency with RSS superposition
  • Capacity Factor: Hourly CF from Open-Meteo, NASA POWER, or ERA5 data
  • Turbine Database: atlite YAML + OEDB REST API
  • MCDA: Multi-criteria site suitability (entropy, PCA, manual weights)
  • Economics: LCOE, NPV, IRR, sensitivity analysis
  • Regional Analysis: Grid-based resource assessment with development zones

Installation

pip install windrex

With ERA5 support:

pip install windrex[era5]

Quick Start

from windrex import fit_weibull, weibull_pdf, compute_wind_rose
import numpy as np

# Fit Weibull to measured speeds
speeds = np.random.weibull(2.0, 10000) * 7.0
k, A = fit_weibull(speeds)
print(f"Weibull k={k:.2f}, A={A:.2f}")

# Compute wind rose
directions = np.random.uniform(0, 360, len(speeds))
rose = compute_wind_rose(speeds, directions)

License

MIT

Metadata

Release files for windrex 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for windrex 0.1.1
File Size Uploaded Provenance Actions
windrex-0.1.1.tar.gz 30.3 kB With provenance Details for windrex-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for windrex 0.1.1
File Interpreter ABI Platform Actions
windrex-0.1.1-py3-none-any.whl Python 3 none any Details for windrex-0.1.1-py3-none-any.whl

Total release size: 65.8 kB

Release files / windrex-0.1.1.tar.gz

Download URL windrex-0.1.1.tar.gz
Size 30.3 kB
Tags Source
SHA-256 checksum
How to use checksums
5b24b9c19c9220ba93111802df6dec0330efdb9be3135ae6cfe9d66a0b65bb02
BLAKE2b-256 checksum
How to use checksums
aabbaffc9ddedcea8af7c1e0223f554075afcb2e5bb2ba552f9ca28d2e4da1f7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 5, 2026.

Transparency log

Release files / windrex-0.1.1-py3-none-any.whl

Download URL windrex-0.1.1-py3-none-any.whl
Size 35.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
389676fa84dd4a085f513c59f475fade18d9cd2eaac94b36fa55c6a7ddb3df56
BLAKE2b-256 checksum
How to use checksums
6980cad3cb898fff24a0147907ee329e8633307ddaf8f8fd2e36730994857720
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 5, 2026.

Transparency log

Security for windrex 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for windrex-0.1.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 5, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page