pyswisseph 1.76.00-0
Python extension to the Swiss Ephemeris
Downloads ↓ | Package Documentation
Latest Version: 1.77.00-0
Python extension to AstroDienst's Swiss Ephemeris library.
Swiss Ephemeris homepage: http://www.astro.com/swisseph/
Now Python 3 compatible.
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)
Installation: # python setup.py install
Debian/Ubuntu packages: http://www.openastro.org/
Windows binaries: http://www.godgets.org/
| File | Type | Py Version | Uploaded on | Size | # downloads |
|---|---|---|---|---|---|
| pyswisseph-1.76.00-0.tar.bz2 (md5) | Source | 2009-04-08 | 1MB | 757 | |
- Author: S.Marquis
- Documentation: pyswisseph package documentation
- Home Page: http://pyswisseph.chaosorigin.com/
- Download URL: http://pypi.python.org/pypi/pyswisseph
- Keywords: Astrology Ephemeris Swisseph
-
Categories
- Development Status :: 5 - Production/Stable
- Intended Audience :: Developers
- Intended Audience :: Religion
- License :: OSI Approved :: GNU General Public License (GPL)
- Programming Language :: C
- Programming Language :: Python
- Programming Language :: Python :: 3
- Topic :: Religion
- Topic :: Scientific/Engineering :: Astronomy
- Topic :: Software Development :: Libraries :: Python Modules
- Package Index Owner: stnsls
- DOAP record: pyswisseph-1.76.00-0.xml
