-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPKG-INFO
44 lines (37 loc) · 1.69 KB
/
PKG-INFO
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
Metadata-Version: 1.1
Name: pyswisseph
Version: 2.00.00-2
Summary: Python extension to the Swiss Ephemeris
Home-page: http://astrorigin.ch/pyswisseph
Author: Stanislas Marquis
Author-email: [email protected]
License: UNKNOWN
Download-URL: http://pypi.python.org/pypi/pyswisseph
Description: Python extension to AstroDienst Swiss Ephemeris library.
Swiss Ephemeris homepage: http://www.astro.com/swisseph/
Compatible with Python 2.x and 3.x.
Usage example:
>>> import swisseph as swe
>>> swe.set_ephe_path('/usr/share/ephe') # set path to ephemeris files
>>> now = swe.julday(2007,3,3) # get Julian day number
>>> res = swe.lun_eclipse_when(now) # find next lunar eclipse (from now on)
>>> ecltime = swe.revjul(res[1][0]) # get date UTC
>>> ecltime
(2007, 3, 3, 23.347975596785545)
>>> jd = swe.julday(2008,3,21)
>>> swe.calc_ut(jd, swe.AST_OFFSET+13681)[0] # asteroid Monty Python
0.098474291148756998
>>> help(swe)
Standard installation (unixes): ``# python setup.py install``
Keywords: Astrology Ephemeris Swisseph
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Religion
Classifier: License :: OSI Approved :: GNU General Public License (GPL)
Classifier: Programming Language :: C
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Religion
Classifier: Topic :: Scientific/Engineering :: Astronomy
Classifier: Topic :: Software Development :: Libraries :: Python Modules