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)

Running tests

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

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.1.10.tar.gz (77.1 kB view details)

Uploaded Source

Built Distribution

res_wind_up-0.1.10-py3-none-any.whl (83.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: res_wind_up-0.1.10.tar.gz
  • Upload date:
  • Size: 77.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for res_wind_up-0.1.10.tar.gz
Algorithm Hash digest
SHA256 e711908582419b3a8848d51861b80f1b9d235359c21848ace78c5782a9ea22ca
MD5 b1cff3b5457aeb8492eb0c4e9cbe463d
BLAKE2b-256 e59d431dbbea8caeb62cff968a5edf282ce43072e4ca7a1d737eef6c65669523

See more details on using hashes here.

Provenance

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

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

Attestations:

File details

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

File metadata

  • Download URL: res_wind_up-0.1.10-py3-none-any.whl
  • Upload date:
  • Size: 83.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for res_wind_up-0.1.10-py3-none-any.whl
Algorithm Hash digest
SHA256 0276fd6c7953df9e215da220cb11f870db4b8dacb38e83098b8266488da625d7
MD5 a30cf6d1b215303f7eb30db6e80a2384
BLAKE2b-256 9c1bc482cf45b8f4d8f734744ffa274d494b3cc27d269fedeb5eb9fac47432b0

See more details on using hashes here.

Provenance

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

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

Attestations:

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page