Skip to main content

A tool to assess yield uplift of wind turbines

Project description

wind-up

A tool to assess yield uplift of wind turbines

image image image Lint & Format: Ruff Typing: mypy lint-and-test

Getting Started

See examples folder for example analysis using the wind-up package. smarteole_example.ipynb is a good place to start.

The wind-up package can be installed in a virtual environment with the following commands:

# create and activate a virtual environment, if needed
python -m venv .venv
source .venv/Scripts/activate  # or .venv/bin/activate on linux or ".venv/Scripts/activate" in Windows command prompt
# install the wind-up package in the virtual environment
pip install res-wind-up # alternatively clone the repo, navigate to the wind-up folder and run "pip install ."

Note that the package is named wind_up (with an underscore) in Python code. For example to print the version of the installed package use the following code snippet:

import wind_up
print(wind_up.__version__)

Contributing

To start making changes fork the repository or make a new branch from main. Note main is protected; if a commit fails to push and you want to undo it try git reset origin/main --hard

After cloning the repository (and creating and activating the virtual environment), use the following commands to install the wind-up package in editable mode with the dev dependencies:

git clone https://github.com/resgroup/wind-up # or your fork of wind-up
cd wind-up
# create and activate a virtual environment
python -m venv .venv
source .venv/Scripts/activate  # or .venv/bin/activate on linux or ".venv/Scripts/activate" in Windows command prompt
# install the package in editable mode with the dev dependencies
pip install -e .[dev] # or .[all] if you want examples dependencies as well or .[examples] if you want only examples dependencies

Use poe all to run all required pre-push commands (make sure the virtual environment is activated) or to skip slow tests use poe all-fast.

Running tests

Install dev dependencies and use poe test to run unit tests (make sure the virtual environment is activated)

For convenience when developing locally, run poe test-fast to avoid running the tests marked as slow.

License

See LICENSE.txt

Contact

Alex.Clerc@res-group.com

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

res_wind_up-0.2.2.tar.gz (90.1 kB view details)

Uploaded Source

Built Distribution

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

res_wind_up-0.2.2-py3-none-any.whl (92.3 kB view details)

Uploaded Python 3

File details

Details for the file res_wind_up-0.2.2.tar.gz.

File metadata

  • Download URL: res_wind_up-0.2.2.tar.gz
  • Upload date:
  • Size: 90.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for res_wind_up-0.2.2.tar.gz
Algorithm Hash digest
SHA256 95169fc19b6912b0251c1868b66d5211efcf54cd11bda50ff0cfdef1c57aed92
MD5 307071b612ee546653b1390dac3ea91b
BLAKE2b-256 d6899030d5f99a5b5e76c0f486ac8fd50c8bf1a6d5d3e0aed961d92cb2eeb86a

See more details on using hashes here.

Provenance

The following attestation bundles were made for res_wind_up-0.2.2.tar.gz:

Publisher: pypi-publish.yaml on resgroup/wind-up

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

File details

Details for the file res_wind_up-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: res_wind_up-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 92.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for res_wind_up-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 84f63d872573577f6cf209c3d87987ec759789bc8bf267dcfd1ab1a0fb086baf
MD5 0810bf2be93937b270f6bcf9512283d5
BLAKE2b-256 abab9756983807d739c1d3649f6c2630bb094a80494444eac7a389a88792850a

See more details on using hashes here.

Provenance

The following attestation bundles were made for res_wind_up-0.2.2-py3-none-any.whl:

Publisher: pypi-publish.yaml on resgroup/wind-up

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