Skip to main content

     __         _       __    __           _           __
    / /_  _____(_)___  / /_  / /__      __(_)___  ___ / /
   / __ \/ ___/ / __ \/ __ \/ __/ | /| / / / __ \/ __  /
  / /_/ / /  / / /_/ / / / / /_ | |/ |/ / / / / / /_/ /
 /_.___/_/  /_/\__, /_/ /_/\__/ |__/|__/_/_/ /_/\__,_/
              /____/

            A Python library primarily for wind resource assessments.



Brightwind is an open-source Python library for wind (and solar) resource analysis. It loads meteorological timeseries data, runs common analyses — shear, long-term adjustments, correlations, distributions — and exports results to formats used by wind analysis software such as WAsP.

📚 Full documentation, tutorials and API reference: https://brightwind-dev.github.io/brightwind-docs/



Installation

Install brightwind into its own environment to avoid dependency clashes. Pick whichever option suits you.

Option 1 — venv (quick way to try brightwind out)

Check Python is installed (3.9+ recommended):

python --version

If not, install it from python.org/downloads — on Windows, tick "Add Python to PATH" in the installer.

Then create an environment and install brightwind:

python -m venv brightwind_env
# Windows
brightwind_env\Scripts\activate
# macOS / Linux
source brightwind_env/bin/activate

pip install brightwind

Option 2 — conda

Common if you already use Anaconda or work primarily in Jupyter. Anaconda bundles Python, pip and Jupyter in one installer. From the Anaconda Prompt:

conda create --name brightwind_env python=3.11
conda activate brightwind_env
pip install brightwind

A step-by-step Windows install walkthrough is also available in the tutorials.

Optional — parquet support

Reading .parquet files from BrightHub needs a parquet engine. Install the default (pyarrow):

pip install brightwind[parquet]

Or use fastparquet instead: pip install brightwind[parquet-fastparquet].



Quick start

Most analysts use brightwind from a Jupyter Notebook:

pip install jupyter
jupyter notebook
import brightwind as bw

data = bw.load_csv(bw.demo_datasets.demo_data)
bw.basic_stats(data)

For full examples — loading, plotting, shear, correlations, exporting — see the tutorials and API reference.


demo_image_1 demo_image_2



Why open-source?

The brightwind library is open-source, making every step of an assessment transparent, auditable and reproducible. The full record of adjustments to a dataset lives in a single file that internal reviewers, third parties and banks can inspect directly — sharpening due diligence and removing the "black box" problem of proprietary tools.

The intent is a shared, validated toolkit that the wind and solar industry builds on together, rather than each consultancy reinventing the same calculations behind closed doors.



Test datasets

Demo datasets are bundled with the library to demonstrate functions and exercise the test suite:

Dataset Source Notes
demo_data.csv BrightWind A modified 2-year met mast dataset in CSV and Campbell Scientific format.
MERRA-2_XX_2000-01-01_2017-06-30.csv NASA GES DISC 4 × MERRA-2 18-year datasets to complement the demo data for long-term analyses.
demo_cleaning_file.csv BrightWind Periods to clean out from the demo data.
windographer_flagging_log.txt BrightWind Same cleaning info as demo_cleaning_file.csv formatted as a Windographer flagging file.
demo_data_iea43_wra_data_model.json BrightWind A JSON file formatted to the IEA Wind Task 43 WRA Data Model standard, describing the mast configuration for the demo data.


Contributing

Brightwind welcomes contributions from across the wind and solar industry — analysts, engineers, researchers and developers.



License

MIT — see LICENSE.txt.

Metadata

Release files for brightwind 2.7.0

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

Source distribution (sdist)

Source distribution for brightwind 2.7.0
File Size Uploaded Provenance Actions
brightwind-2.7.0.tar.gz 32.5 MB Without provenance Details for brightwind-2.7.0.tar.gz

Built distribution (wheel)

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

Total release size: 65.3 MB

Release files / brightwind-2.7.0.tar.gz

Download URL brightwind-2.7.0.tar.gz
Size 32.5 MB
Tags Source
SHA-256 checksum
How to use checksums
7cd694a497401b1683ca19c1e3a6ba06fac948eceb2eba8e0c858df816ee00c8
BLAKE2b-256 checksum
How to use checksums
c8b8ce3ec3bf40856d4c876ba7d5168c2b5d70192d922f9623d21a1b7c95590f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.8

Release files / brightwind-2.7.0-py3-none-any.whl

Download URL brightwind-2.7.0-py3-none-any.whl
Size 32.8 MB
Tags Python 3
SHA-256 checksum
How to use checksums
7f346914d3ee45f5ee511f05afb1b160815065fd99753a620e1ca9a4414b9cd6
BLAKE2b-256 checksum
How to use checksums
e739652f5999640bb62fecf6f149114d332b24e906f7a9730f3c1cb991838ee3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.8

Security for brightwind 2.7.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

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