Solarpy

Latest version: v0.1.3

Safety actively analyzes 681812 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.1.3

Added
- binder example
- logo (svg and png)

Changed
- importing. Added modules to __init__, so "import solarpy" is sufficient

0.1.2

Added
- panel class, that allows to define solar panels as objects. Tests and NB example

Changed
- "B_nth_day" function is now called "B_nday"
- some functions names to all-lowercase
- test file: test_solar_radiation.py → test_radiation.py
- improved coverage in general, docstrings, unused imports...etc

Removed
- the possibility of passing arrays containing datetime objects in some functions
- excessive error handling structures

0.1.1

Added
- changelog file

Changed
- modified how date and time is handled: instead of defining the date and time as a "day_of_the_year" integer (1->365), hour integer (0->23) and minutes (0->59) integer, now proper datetime objects are used. Therefore, i.e.:
sunset_time(n, lat) becomes sunset_time(date, lat)
theta(n, lat, beta, surf_az, hour, minute) becomes theta(date, lat, beta, surf_az)
- "solar_time" function becomes "standard2solar_time" to reflect that the input is a datetime object with standard local time, and the output is the solar local time.
- improved error raising and handling

0.1.0

Added
- First release

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.