Daystar


NameDaystar JSON
Version 1.0.1 PyPI version JSON
download
home_page
SummarySolar calculation class for Python
upload_time2023-05-18 03:37:46
maintainer
docs_urlNone
authorSiddhu Pendyala
requires_python>=3.6
license
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Daystar
Daystar is a python library that provides a convenient class for Solar calculations based off of my other library _Solarflare_. Check out Solarflare at https://pypi.org/project/Solarflare/

In order to use this library, just create an instance of the daystar class:

```python
from Daystar import *
sun = Daystar(latitude, longitude)
```

The functions provided are (they all default to datetime.datetime.now()):
  - `risetime(date)`: returns the sunrise 
  - `settime(date)`: returns the sunset
  - `solarnoon(date)`: returns the solar noon time
  - `hrangle(date)`: returns the hour angle for the time and date
  - `coordinates(date)`: returns a dictionary with declination and right ascension ("dec" and "ra")
  - `mean(date)`: returns the mean anomaly
  - `true(date)`: returns the true anomaly
  - `ceq(date)`: returns the equation of center
  - `solar_julian(date)`: returns "rise" and "set" dictionary with sunrise and sunset julian dates
  - `alt(date)`: returns solar altitude
  - `azi(date)`: returns the solar azimuth
  - `nadir(date)`: returns the time of nadir

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "Daystar",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "",
    "keywords": "",
    "author": "Siddhu Pendyala",
    "author_email": "siddhu.pendyala@outlook.com",
    "download_url": "",
    "platform": null,
    "description": "# Daystar\nDaystar is a python library that provides a convenient class for Solar calculations based off of my other library _Solarflare_. Check out Solarflare at https://pypi.org/project/Solarflare/\n\nIn order to use this library, just create an instance of the daystar class:\n\n```python\nfrom Daystar import *\nsun = Daystar(latitude, longitude)\n```\n\nThe functions provided are (they all default to datetime.datetime.now()):\n  - `risetime(date)`: returns the sunrise \n  - `settime(date)`: returns the sunset\n  - `solarnoon(date)`: returns the solar noon time\n  - `hrangle(date)`: returns the hour angle for the time and date\n  - `coordinates(date)`: returns a dictionary with declination and right ascension (\"dec\" and \"ra\")\n  - `mean(date)`: returns the mean anomaly\n  - `true(date)`: returns the true anomaly\n  - `ceq(date)`: returns the equation of center\n  - `solar_julian(date)`: returns \"rise\" and \"set\" dictionary with sunrise and sunset julian dates\n  - `alt(date)`: returns solar altitude\n  - `azi(date)`: returns the solar azimuth\n  - `nadir(date)`: returns the time of nadir\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Solar calculation class for Python",
    "version": "1.0.1",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "13b668bd0bfa363e24ec5419f1c9eb2a0ec5e55fd8c289596f653349673a4225",
                "md5": "d49a783df5dbc5fb683fb315f8123c54",
                "sha256": "397897c0db11ddf65eb540ef8b3717015b135bbe48d6b34cc4303d8e158f031f"
            },
            "downloads": -1,
            "filename": "Daystar-1.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "d49a783df5dbc5fb683fb315f8123c54",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 3238,
            "upload_time": "2023-05-18T03:37:46",
            "upload_time_iso_8601": "2023-05-18T03:37:46.374094Z",
            "url": "https://files.pythonhosted.org/packages/13/b6/68bd0bfa363e24ec5419f1c9eb2a0ec5e55fd8c289596f653349673a4225/Daystar-1.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-05-18 03:37:46",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "daystar"
}
        
Elapsed time: 0.08802s