Skip to content

add transformer to __init__.py#2388

Merged
kandersolar merged 3 commits into
pvlib:mainfrom
kurt-rhee:add-transformer-to-init
Feb 12, 2025
Merged

add transformer to __init__.py#2388
kandersolar merged 3 commits into
pvlib:mainfrom
kurt-rhee:add-transformer-to-init

Conversation

@kurt-rhee

@kurt-rhee kurt-rhee commented Feb 11, 2025

Copy link
Copy Markdown
Contributor
  • Closes None
  • I am familiar with the contributing guidelines
  • Tests added
  • Updates entries in docs/sphinx/source/reference for API changes.
  • Adds description and name entries in the appropriate "what's new" file in docs/sphinx/source/whatsnew for all changes. Includes link to the GitHub Issue with :issue:`num` or this Pull Request with :pull:`num`. Includes contributor name and/or GitHub username (link with :ghuser:`user`).
  • New code is fully documented. Includes numpydoc compliant docstrings, examples, and comments where necessary.
  • Pull request is nearly complete and ready for detailed review.
  • Maintainer: Appropriate GitHub Labels (including remote-data) and Milestone are assigned to the Pull Request and linked Issue.

Hello maintainers this is a single line commit that adds the transformer to the init.py file in the pvlib folder. This will allow people to use pvlib.transformer.simple_efficiency instead of having to use from pvlib.tranformer import simple_efficiency.

@kandersolar kandersolar added this to the v0.11.3 milestone Feb 11, 2025
@kandersolar

Copy link
Copy Markdown
Member

Good find @kurt-rhee. Can you add a whatsnew entry? I think this could be called a bugfix.

@kandersolar kandersolar merged commit 6caa903 into pvlib:main Feb 12, 2025
echedey-ls pushed a commit to echedey-ls/pvlib-python that referenced this pull request Feb 19, 2025
* add transformer to __init__.py

* update whatsnew

---------

Co-authored-by: Kevin Anderson <kevin.anderso@gmail.com>
@kandersolar kandersolar modified the milestones: v0.11.3, v0.12.0 Mar 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants