Replies: 2 comments 2 replies
-
I'm not sure what the plug-in idea is envisioning. Are you thinking of some future integration between iotools and another part of pvlib, for example |
Beta Was this translation helpful? Give feedback.
-
No I’m thinking of something like https://github.com/pelican-plugins/render-math which is a plug-in for Pelican. It is maintained and released separately from pelican. To use it you have to first have pelican, then you just run So analogously there’s more info about how the Pelican plugins work here: https://docs.getpelican.com/en/latest/plugins.html |
Beta Was this translation helpful? Give feedback.
-
To facilitate development and integration of external commercial weather into iotools and allow them to be developed & maintained externally, should pvlib consider the following:
data, meta = read_*()
andget_*()
(easier)generic API
A generic API for iotools already exists. Publishing this in the documentation and publicizing it for external developers would help disseminate this architecture for wider use. @AdamRJensen can explain this format.
plug-in entry-point for external tools
This doesn't exist, and TBH, I don't know how to do it, but I have seen it in other apps. The basic idea is that there is something in
project.toml
orsetup.py
that allows packages on PyPI to be installed and used in collaboration with pvlib so that if for example SolarAnywhere or Solcast wanted to add an iotools plugin that followed the api, they could put it on PyPI themselves, maintain it themselves, etc., and when installed on a system with pvlib, it would become available, but we wouldn't have to maintain or update it.A number of discussions and posts touch on this subject:
Beta Was this translation helpful? Give feedback.
All reactions