diff --git a/README.md b/README.md index 087fdf5..1abb15a 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ -drawing +drawing -[![Build Status](https://travis-ci.com/aqreed/solarpy.svg?branch=master)](https://travis-ci.com/aqreed/solarpy) -[![codecov.io](https://codecov.io/gh/aqreed/solarpy/branch/master/graph/badge.svg)](https://codecov.io/gh/aqreed/solarpy/branch/master) -[![license](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](https://github.com/aqreed/solarpy/raw/master/COPYING) +[![Build Status](https://travis-ci.com/aqreed/solarpy.svg?branch=develop)](https://travis-ci.com/aqreed/solarpy) +[![codecov.io](https://codecov.io/gh/aqreed/solarpy/branch/develop/graph/badge.svg)](https://codecov.io/gh/aqreed/solarpy/branch/develop) +[![license](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](https://github.com/aqreed/solarpy/raw/develop/COPYING) [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/aqreed/solarpy/master?filepath=examples) | | | @@ -23,7 +23,7 @@ The main purpose is to generate a **solar beam irradiance** (W/m2) prediction on #### Example 1 Solar [irradiance](https://en.wikipedia.org/wiki/Solar_irradiance) on the southern hemisphere on October 17, at sea-level 13.01UTC (plane pointing upwards)? -``` +```Python import numpy as np from solarpy import irradiance_on_plane from datetime import datetime @@ -46,7 +46,7 @@ Power output (in W) of a solar panel with the following characteristics: * in NYC * on December 25, at 16.15 -``` +```Python from numpy import array from solarpy import solar_panel from datetime import datetime @@ -61,7 +61,7 @@ panel.power() #### Example 3 Solar [declination](https://en.wikipedia.org/wiki/Position_of_the_Sun#Declination_of_the_Sun_as_seen_from_Earth) on August 5? -``` +```Python from solarpy import declination from datetime import datetime diff --git a/examples/README.md b/examples/README.md new file mode 100644 index 0000000..1baa518 --- /dev/null +++ b/examples/README.md @@ -0,0 +1,5 @@ +# Examples + +Open and execute these Jupyter notebooks online using [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/aqreed/solarpy/develop?filepath=examples) + +You can interactively explore the examples, as it runs on a purposely built environment somewhere [somehow](https://mybinder.readthedocs.io/en/latest/faq.html). diff --git a/setup.py b/setup.py index 0f75c8d..f4b8518 100644 --- a/setup.py +++ b/setup.py @@ -14,5 +14,20 @@ url='https://github.com/aqreed/solarpy', packages=['solarpy'], install_requires=['numpy', 'matplotlib'], - tests_requires=['pytest'] + tests_requires=['pytest'], + classifiers=[ + "Development Status :: 2 - Pre-Alpha", + "Intended Audience :: Education", + "Intended Audience :: Science/Research", + "License :: OSI Approved :: MIT License", + "Operating System :: OS Independent", + "Programming Language :: Python", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.6", + "Programming Language :: Python :: Implementation :: CPython", + "Topic :: Home Automation", + "Topic :: Scientific/Engineering", + "Topic :: Scientific/Engineering :: Physics", + "Topic :: Scientific/Engineering :: Visualization" + ] )