A curated list of open technology projects to sustain a stable climate, energy supply, biodiversity and natural resources.

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.

README.markdown

Pysolar

Test Python package

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

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


GitHub Events

Total
Last Year

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 Email 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:


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

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/pingswept/pysolar

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

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

requirements.txt pypi
  • numpy *
.github/workflows/testpackage.yml actions
  • actions/checkout v2 composite
  • actions/setup-python v1 composite
setup.py pypi
  • numpy *

Score: 11.864187787064077