Code Monkey home page Code Monkey logo

pysolar's Introduction

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

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.

pysolar's People

Contributors

anadrome avatar arnaldorusso avatar davidvhill avatar dpshelio avatar mrnaz avatar pingswept avatar pjkundert avatar robintw avatar seanth avatar skrat avatar solarjoe avatar sourcefilter avatar willhardy avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.