From d06f91411ff271f3a352ca29c515cf3bef1a9206 Mon Sep 17 00:00:00 2001 From: aqreed Date: Sun, 22 Sep 2019 22:29:58 +0200 Subject: [PATCH 1/4] redirected travis and codecov badges URLs --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 087fdf5..38dbc3f 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ 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) | | | From fd9501a0cf5b189820ca5237b22fa45a7f519a91 Mon Sep 17 00:00:00 2001 From: aqreed Date: Mon, 23 Sep 2019 15:09:29 +0200 Subject: [PATCH 2/4] added readme file to examples folder --- examples/README.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 examples/README.md 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). From 79ad7813659d6f08a9811ac468e9de6a13b2837c Mon Sep 17 00:00:00 2001 From: aqreed Date: Mon, 23 Sep 2019 15:56:46 +0200 Subject: [PATCH 3/4] added classifiers to setup file --- setup.py | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) 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" + ] ) From 897eefec6915df91dce40384959066ce155504ed Mon Sep 17 00:00:00 2001 From: aqreed Date: Wed, 2 Oct 2019 17:05:43 +0200 Subject: [PATCH 4/4] added Python syntax coloring to readme file. Changed logo to png --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 38dbc3f..1abb15a 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -drawing +drawing [![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) @@ -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