Pysolar
A collection of Python libraries for simulating the irradiation of any point on earth by the sun. It includes code for extremely precise ephemeris calculations.
https://github.com/pingswept/pysolar
Category: Renewable Energy
Sub Category: Photovoltaics and Solar Energy
Keywords from Contributors
spec-0 geospatial-data cython budget packaging views templates apps closember numerical-methods
Last synced: about 19 hours ago
JSON representation
Repository metadata
Pysolar is a collection of Python libraries for simulating the irradiation of any point on earth by the sun. It includes code for extremely precise ephemeris calculations.
- Host: GitHub
- URL: https://github.com/pingswept/pysolar
- Owner: pingswept
- License: gpl-3.0
- Created: 2008-03-01T23:35:48.000Z (about 17 years ago)
- Default Branch: master
- Last Pushed: 2025-02-15T04:44:40.000Z (2 months ago)
- Last Synced: 2025-04-25T05:01:51.059Z (3 days ago)
- Language: Jupyter Notebook
- Homepage: http://pysolar.org
- Size: 5.13 MB
- Stars: 383
- Watchers: 29
- Forks: 128
- Open Issues: 15
- Releases: 10
-
Metadata Files:
- Readme: README.markdown
- License: COPYING
README.markdown
Pysolar
Pysolar is a collection of Python libraries for simulating the irradiation of any point on earth by the sun. It includes code for extremely precise ephemeris calculations, and more.
Note: right now, the latest commits of Pysolar don't work with Python 2.x
- Release 0.6 works with 2.x: https://github.com/pingswept/pysolar/releases/tag/0.6 but 0.7 and later have a bunch of changes. They have been validated for Python 3.4, but releases 3.2 or earlier are missing features that the changes require. *
Also, the API has changed slightly:
- Pysolar now expects you to supply a timezone-aware datetime, rather than a naive datetime in UTC. If your results seem crazy, this is probably why.
- Function names are now
lowercase_separated_by_underscores
, in compliance with PEP8.
Installation
Assuming you have Python 3.4 or higher installed, you can install Pysolar with pip
:
sudo pip install pysolar
Documentation now appears at docs.pysolar.org.
Contributions
All contributions go through pull requests on Github.
Editing the documentation is particularly easy-- just click the "Edit on Github" link at the top of any page.
Code contributions are welcome under the terms of the GPLv3 license. If you're unfamiliar with Github, you could start with this guide to working on open source projects.
Support
Your first move should be to read the documentation and think. But you've probably already tried that.
Your second move is to ask a question on the pysolar-discuss mailing list. The original author of Pysolar, Brandon Stafford, monitors the mailing list. Please understand that I wrote (most of) Pysolar around a decade ago when I worked in the solar industry. Now, I'm an electrical engineer who just maintains Pysolar as a fun hobby. The other people on the list are other users like you-- some are experts; some are amateurs. None of them are getting paid for this.
To subscribe to the mailing list, send a blank email to [email protected]. After a few minutes, you'll get a confirmation message; reply to the confirmation to complete the subscription.
In order to post to the list, you have to subscribe. You also have to pass a threshold of civil discourse regulated by me.
The archive of the list is publicly available here: http://lists.pysolar.org/.
If you ever want to unsubscribe, send an email to [email protected] and reply to the confirmation message. If you run into trouble, just send me an email at [email protected], and I'll remove your address manually.
Please report bugs to the issue tracker on Github; I am automatically notified when a new issue is opened.
License
Pysolar is licensed under the GPLv3.
Owner metadata
- Name: Brandon Stafford
- Login: pingswept
- Email:
- Kind: user
- Description:
- Website: nolop.org
- Location: Somerville, Massachusetts, USA
- Twitter:
- Company: Tufts University
- Icon url: https://avatars.githubusercontent.com/u/1875?u=be3961d146d82443359645e74a186bbba98ee497&v=4
- Repositories: 50
- Last ynced at: 2024-06-11T16:06:32.393Z
- Profile URL: https://github.com/pingswept
GitHub Events
Total
- Create event: 3
- Release event: 4
- Issues event: 2
- Watch event: 10
- Delete event: 1
- Issue comment event: 4
- Push event: 8
- Pull request event: 7
- Fork event: 6
Last Year
- Create event: 3
- Release event: 4
- Issues event: 2
- Watch event: 10
- Delete event: 1
- Issue comment event: 4
- Push event: 8
- Pull request event: 7
- Fork event: 6
Committers metadata
Last synced: 6 days ago
Total Commits: 308
Total Committers: 51
Avg Commits per committer: 6.039
Development Distribution Score (DDS): 0.578
Commits in past year: 10
Committers in past year: 4
Avg Commits per committer in past year: 2.5
Development Distribution Score (DDS) in past year: 0.4
Name | Commits | |
---|---|---|
Brandon Stafford | b****n@p****g | 130 |
Lawrence D'Oliveiro | l****o@g****z | 60 |
Brandon Stafford | b****n@f****) | 12 |
François Rejeté | w****e | 9 |
JacquotLeHaricot | l****t@g****m | 8 |
Robin Wilson | r****n@r****m | 8 |
François Steinmetz | fs@h****m | 6 |
mborsetti | m****e@b****m | 5 |
ArneBachmann | A****n | 5 |
Brandon Stafford | b****n@l****) | 4 |
Łukasz Stelmach | s****n@p****m | 3 |
Will Hardy | w****l@w****u | 3 |
Eliot Blennerhassett | e****t@b****z | 3 |
Amit Aronovitch | a****t@s****m | 3 |
Greg Hulands | g****s@a****m | 3 |
Andrew Freitas | a****s@p****m | 2 |
Juan Luis Leal Contreras | k****4@g****m | 2 |
Simo Hakim | 4****x | 2 |
Andrey Kiselev | a****v@g****m | 2 |
Eric Firing | e****g@h****u | 2 |
Eric Semeniuc | 3****c | 2 |
Perry Kundert | p****y@h****m | 2 |
Tansy Arron | t****n@g****m | 2 |
Will McNaughton | w****n@b****m | 2 |
solarjoe | w****6@g****m | 2 |
raghu1121 | r****m@g****m | 1 |
mrnaz | n****z@g****m | 1 |
mjn | m****n@a****g | 1 |
luz.paz | l****z | 1 |
duncandoo | d****n@m****k | 1 |
and 21 more... |
Committer domains:
- andrewbenedictwallace.com: 1
- spensatech.com: 1
- ytec.nl: 1
- vanhaarst.net: 1
- johanneshoppe.com: 1
- blackforestbotanics.com: 1
- vansteenwegen.org: 1
- mcpherson.org.uk: 1
- anadrome.org: 1
- gassiep.com: 1
- burnsmcd.com: 1
- hardconsulting.com: 1
- hawaii.edu: 1
- pentair.com: 1
- apple.com: 1
- satellogic.com: 1
- blennerhassett.gen.nz: 1
- willhardy.com.au: 1
- poczta.fm: 1
- loess.(none): 1
- borsetti.com: 1
- hygeos.com: 1
- rtwilson.com: 1
- farb.(none): 1
- geek-central.gen.nz: 1
- pingswept.org: 1
Issue and Pull Request metadata
Last synced: 2 days ago
Total issues: 87
Total pull requests: 78
Average time to close issues: 7 months
Average time to close pull requests: 27 days
Total issue authors: 74
Total pull request authors: 51
Average comments per issue: 2.74
Average comments per pull request: 1.1
Merged pull request: 63
Bot issues: 0
Bot pull requests: 0
Past year issues: 2
Past year pull requests: 5
Past year average time to close issues: N/A
Past year average time to close pull requests: 13 days
Past year issue authors: 2
Past year pull request authors: 3
Past year average comments per issue: 0.0
Past year average comments per pull request: 0.6
Past year merged pull request: 4
Past year bot issues: 0
Past year bot pull requests: 0
Top Issue Authors
- mborsetti (3)
- pingswept (3)
- ghost (3)
- raghu1121 (3)
- paulocheque (3)
- fsteinmetz (2)
- rbuffat (2)
- mrnaz (2)
- citypilgrim (1)
- stephanwaz (1)
- ghulands (1)
- steelman (1)
- pjayathissa (1)
- SamuelLarkin (1)
- mikewen (1)
Top Pull Request Authors
- mborsetti (7)
- ArneBachmann (4)
- w00kie (3)
- pingswept (3)
- sourcefilter (3)
- Herbrax (3)
- fsteinmetz (3)
- louis-red (3)
- DouglasAllen (2)
- willhardy (2)
- eliotb (2)
- Kuenlun (2)
- ghulands (2)
- robintw (2)
- RoberTnf (1)
Top Issue Labels
- help wanted (20)
Top Pull Request Labels
Package metadata
- Total packages: 1
- Total downloads: unknown
- Total dependent packages: 1
- Total dependent repositories: 6
- Total versions: 5
conda-forge.org: pysolar
Pysolar is a collection of Python libraries for simulating the irradiation of any point on earth by the sun. It includes code for extremely precise ephemeris calculations, and more.
- Homepage: http://pysolar.org/
- Licenses: GPL-3.0
- Latest release: 0.6 (published over 2 years ago)
- Last Synced: 2025-04-02T02:57:34.213Z (26 days ago)
- Versions: 5
- Dependent Packages: 1
- Dependent Repositories: 6
-
Rankings:
- Dependent repos count: 13.836%
- Forks count: 16.93%
- Average: 20.304%
- Stargazers count: 21.497%
- Dependent packages count: 28.954%
Dependencies
- numpy *
- actions/checkout v2 composite
- actions/setup-python v1 composite
- numpy *
Score: 11.864187787064077