Skip to main content

Python extension to the Swiss Ephemeris

Project description

Python extension to AstroDienst Swiss Ephemeris library.

The Swiss Ephemeris is the de-facto standard library for astrological calculations. It is a high-precision ephemeris, based upon the DE431 ephemerides from NASA’s JPL, and covering the time range 13201 BC to AD 17191.

>>> import swisseph as swe
>>> # first set path to ephemeris files
>>> swe.set_ephe_path('/usr/share/sweph/ephe')
>>> # find time of next lunar eclipse
>>> jd = swe.julday(2007, 3, 3) # julian day
>>> res = swe.lun_eclipse_when(jd)
>>> ecltime = swe.revjul(res[1][0])
>>> print(ecltime)
(2007, 3, 3, 23.347926892340183)
>>> # get ecliptic position of asteroid 13681 "Monty Python"
>>> jd = swe.julday(2008, 3, 21)
>>> xx, rflags = swe.calc_ut(jd, swe.AST_OFFSET+13681)
>>> # print longitude
>>> print(xx[0])
0.09843983166646618
Documentation:

https://astrorigin.com/pyswisseph

Repository:

https://github.com/astrorigin/pyswisseph

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyswisseph-2.10.3.0.dev0.tar.gz (3.0 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

pyswisseph-2.10.3.0.dev0-cp39-cp39-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.9Windows x86-64

pyswisseph-2.10.3.0.dev0-cp39-cp39-win32.whl (926.8 kB view details)

Uploaded CPython 3.9Windows x86

pyswisseph-2.10.3.0.dev0-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.12+ x86-64

pyswisseph-2.10.3.0.dev0-cp39-cp39-manylinux_2_12_i686.manylinux2010_i686.whl (1.7 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.12+ i686

pyswisseph-2.10.3.0.dev0-cp39-cp39-macosx_10_9_x86_64.whl (411.8 kB view details)

Uploaded CPython 3.9macOS 10.9+ x86-64

pyswisseph-2.10.3.0.dev0-cp38-cp38-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.8Windows x86-64

pyswisseph-2.10.3.0.dev0-cp38-cp38-win32.whl (926.8 kB view details)

Uploaded CPython 3.8Windows x86

pyswisseph-2.10.3.0.dev0-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.12+ x86-64

pyswisseph-2.10.3.0.dev0-cp38-cp38-manylinux_2_12_i686.manylinux2010_i686.whl (1.7 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.12+ i686

pyswisseph-2.10.3.0.dev0-cp38-cp38-macosx_10_9_x86_64.whl (413.3 kB view details)

Uploaded CPython 3.8macOS 10.9+ x86-64

pyswisseph-2.10.3.0.dev0-cp37-cp37m-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.7mWindows x86-64

pyswisseph-2.10.3.0.dev0-cp37-cp37m-win32.whl (926.8 kB view details)

Uploaded CPython 3.7mWindows x86

pyswisseph-2.10.3.0.dev0-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.12+ x86-64

pyswisseph-2.10.3.0.dev0-cp37-cp37m-manylinux_2_12_i686.manylinux2010_i686.whl (1.7 MB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.12+ i686

pyswisseph-2.10.3.0.dev0-cp37-cp37m-macosx_10_9_x86_64.whl (412.9 kB view details)

Uploaded CPython 3.7mmacOS 10.9+ x86-64

pyswisseph-2.10.3.0.dev0-cp36-cp36m-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.6mWindows x86-64

pyswisseph-2.10.3.0.dev0-cp36-cp36m-win32.whl (926.8 kB view details)

Uploaded CPython 3.6mWindows x86

pyswisseph-2.10.3.0.dev0-cp36-cp36m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.6mmanylinux: glibc 2.12+ x86-64

pyswisseph-2.10.3.0.dev0-cp36-cp36m-manylinux_2_12_i686.manylinux2010_i686.whl (1.7 MB view details)

Uploaded CPython 3.6mmanylinux: glibc 2.12+ i686

pyswisseph-2.10.3.0.dev0-cp36-cp36m-macosx_10_9_x86_64.whl (412.9 kB view details)

Uploaded CPython 3.6mmacOS 10.9+ x86-64

File details

Details for the file pyswisseph-2.10.3.0.dev0.tar.gz.

File metadata

  • Download URL: pyswisseph-2.10.3.0.dev0.tar.gz
  • Upload date:
  • Size: 3.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for pyswisseph-2.10.3.0.dev0.tar.gz
Algorithm Hash digest
SHA256 66ccfb3d7f21ae18affd1ffed4524314094900059f0c745f46d51eb38616b58a
MD5 96951e62caba79b19581a87687c383af
BLAKE2b-256 b48095661bc3fc6beb6fa8e269f1edce8665a1c73d55d09b534188c7533a579a

See more details on using hashes here.

File details

Details for the file pyswisseph-2.10.3.0.dev0-cp39-cp39-win_amd64.whl.

File metadata

File hashes

Hashes for pyswisseph-2.10.3.0.dev0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 4770eca1df1bf0537b42ff1e4137f5b127d227d88a84ba0f64c37d5811442a40
MD5 39b1a60a14c9e5e2e3064795a610b766
BLAKE2b-256 5562b67c4718ae7eb7ef8f0c0f9397870bd273c470976fae6ec9e77e292235e9

See more details on using hashes here.

File details

Details for the file pyswisseph-2.10.3.0.dev0-cp39-cp39-win32.whl.

File metadata

File hashes

Hashes for pyswisseph-2.10.3.0.dev0-cp39-cp39-win32.whl
Algorithm Hash digest
SHA256 bef62962787f1934a80518458647cffdb318a142b7f1add91d6e2fa12463d998
MD5 f36044f498e331d387b53296a7f12baa
BLAKE2b-256 c474c50cf75f38d6e010d78bca0088c931f353295e077b43f07801208d0faaf3

See more details on using hashes here.

File details

Details for the file pyswisseph-2.10.3.0.dev0-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for pyswisseph-2.10.3.0.dev0-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 bf3f1f17cc68ffea89ef3abc2a30ae2edb730963d5c122d39fb8b65c76f2f82c
MD5 4124a9c92556fd02da8e14d70e111944
BLAKE2b-256 cdd533cbb0d792d4a09a5f017e1ead5f356120e8d01d2e47ae5fe169514d2162

See more details on using hashes here.

File details

Details for the file pyswisseph-2.10.3.0.dev0-cp39-cp39-manylinux_2_12_i686.manylinux2010_i686.whl.

File metadata

File hashes

Hashes for pyswisseph-2.10.3.0.dev0-cp39-cp39-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 6b89b97b390f0a098f2d08b45e6712c027b31525adfcce621734560b912c82d8
MD5 44cc2b000ee96bb97a1463fd51f3cc05
BLAKE2b-256 c5dc022d8c10c06c7a773aacf0e43796035eb8f445ce18f09c22ae2b3a13049f

See more details on using hashes here.

File details

Details for the file pyswisseph-2.10.3.0.dev0-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for pyswisseph-2.10.3.0.dev0-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 7d2eebfd4e85f10c880837c7c6159746950caca930305aaaea6ad419c9c0f8a4
MD5 7b342018de6ba27dad16a745b7492349
BLAKE2b-256 8f3612fbef3e5da92fea4593bf89860da73577d939c8f93551d052eeae634190

See more details on using hashes here.

File details

Details for the file pyswisseph-2.10.3.0.dev0-cp38-cp38-win_amd64.whl.

File metadata

File hashes

Hashes for pyswisseph-2.10.3.0.dev0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 7cc91d7a56bd6de2503d1347b765802be8825ce3aa63d4a37cea173c6ce1f7c5
MD5 6ac21db85e8ab56163c6b7215d91ffc7
BLAKE2b-256 65637cf25957a41c3c3f8d8cb7ffaf8ba002007d3944ddce136e8e5025f96679

See more details on using hashes here.

File details

Details for the file pyswisseph-2.10.3.0.dev0-cp38-cp38-win32.whl.

File metadata

File hashes

Hashes for pyswisseph-2.10.3.0.dev0-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 1fda7f1200e1d12cc9dcb6c9794b07e71223692565e5ae492d24d3d0468e000f
MD5 1a8be2b62af9a5c629347c218aafc5bd
BLAKE2b-256 8fe8b0623c0f2cbdc7cc0be81e872baa91feb284536a67f8ab2cbe3612371e2e

See more details on using hashes here.

File details

Details for the file pyswisseph-2.10.3.0.dev0-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for pyswisseph-2.10.3.0.dev0-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 840539439506b611de3da35cd18bf4554fe1a9042db8a0a7bc9c636b55ebcc6d
MD5 ad817733e23b1cb633bdfe92aa8713e5
BLAKE2b-256 bf34a1b10d7134991d8af595304f3bf7aca25cc14c58c7c9c034f8266fb0d489

See more details on using hashes here.

File details

Details for the file pyswisseph-2.10.3.0.dev0-cp38-cp38-manylinux_2_12_i686.manylinux2010_i686.whl.

File metadata

File hashes

Hashes for pyswisseph-2.10.3.0.dev0-cp38-cp38-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 840352d48ccc4b4a0d66d8721fc8597ccd91f16566fb3c27610c55bb11c5fbdb
MD5 699aa7164258adcf09fbc829023f541d
BLAKE2b-256 54a8cc476f5c02253463e1b8d47bf1972d3b517699f8520d4a599b79d3205cf0

See more details on using hashes here.

File details

Details for the file pyswisseph-2.10.3.0.dev0-cp38-cp38-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for pyswisseph-2.10.3.0.dev0-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 764b9dd6d689b56efbf2536d54ac005042e9d293166e8bdb9f0131d58c886263
MD5 052a580a095479472658499624b1bf43
BLAKE2b-256 f5360e23cd8949d5b81fad27d21e239212ae4d041a98ee9433e4bb16e481ea3a

See more details on using hashes here.

File details

Details for the file pyswisseph-2.10.3.0.dev0-cp37-cp37m-win_amd64.whl.

File metadata

File hashes

Hashes for pyswisseph-2.10.3.0.dev0-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 82de8ac3c4a039981ef418829ae947fa2c142daaeab94a6206d9baf3869caf58
MD5 2319b9426238c713e62e2e3937bf39f5
BLAKE2b-256 4bda08447fcf7d5c9ffba32f39d3b98abda79dcf27f30bf391ef89a437f984e0

See more details on using hashes here.

File details

Details for the file pyswisseph-2.10.3.0.dev0-cp37-cp37m-win32.whl.

File metadata

File hashes

Hashes for pyswisseph-2.10.3.0.dev0-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 06bd22164391e73388c6c3f2a4d1018f4cb7f576e038c2e7ce156c10a5743445
MD5 2a287cf659858067f678b12f08197f51
BLAKE2b-256 8b0671667a8627a213f9a84206c2fe49da2c0871c99631d099c0aa1e7aea18ba

See more details on using hashes here.

File details

Details for the file pyswisseph-2.10.3.0.dev0-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for pyswisseph-2.10.3.0.dev0-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 f731725444cfa9108fe924bf81fd4fe39acb336988fabba4878b1a27e3de00a0
MD5 8e8a87d9281198409f9baae4cb0545d9
BLAKE2b-256 b7b1b190347ad66432f901b4ac67f50bd4750401fe8de7d01f4edc4df8ffcb0b

See more details on using hashes here.

File details

Details for the file pyswisseph-2.10.3.0.dev0-cp37-cp37m-manylinux_2_12_i686.manylinux2010_i686.whl.

File metadata

File hashes

Hashes for pyswisseph-2.10.3.0.dev0-cp37-cp37m-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 e1d7578af6da94cfc1c73af382985806f31fcb15bb542508c93719f4d4a689b6
MD5 8fc03d1ec276c1e04c78c4f1f2de988d
BLAKE2b-256 a9df71ed496270cb97ccd3d69508dc6899817923a3d39e50f976b440975f40e4

See more details on using hashes here.

File details

Details for the file pyswisseph-2.10.3.0.dev0-cp37-cp37m-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for pyswisseph-2.10.3.0.dev0-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 18a0619a6e6725a23dbe3a5fc802f987a91fdb67a8955c63680e441604716e4f
MD5 179d3386221d4b9c2c3cc3690068ce16
BLAKE2b-256 a6a856170384dc9abd9557632414c846b85189f00c68f83c4fa5236b5a4b868b

See more details on using hashes here.

File details

Details for the file pyswisseph-2.10.3.0.dev0-cp36-cp36m-win_amd64.whl.

File metadata

File hashes

Hashes for pyswisseph-2.10.3.0.dev0-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 daa0098182be707427af989afef33de4c06d48fb793ef9349fb16d9d5a8af8d0
MD5 e194b781a1025c65eebfb64001d8cd93
BLAKE2b-256 dc26ea9b4a50b25e65bc370b756edb1290b3c670c7201c935ef579311fa92e5b

See more details on using hashes here.

File details

Details for the file pyswisseph-2.10.3.0.dev0-cp36-cp36m-win32.whl.

File metadata

File hashes

Hashes for pyswisseph-2.10.3.0.dev0-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 65fcb60683c4336df61fe9cfbebe35879eeac11b6bfb66c82867e43f9e4ab05d
MD5 dae2d632f94a317f3ac342d91abdfb49
BLAKE2b-256 d7629d371e9744482df7701545195b70d8c770ce772cad5646e3f48102cde0f6

See more details on using hashes here.

File details

Details for the file pyswisseph-2.10.3.0.dev0-cp36-cp36m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for pyswisseph-2.10.3.0.dev0-cp36-cp36m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 355c6f8188062416cb61ce9111a034203345315d74c2923b880a305e35ce78d6
MD5 ea27c335597e392fa0d10eb530015bd7
BLAKE2b-256 302b08714728d062c7c90abf210b0f6675c234c82325b345f3e9921beb7dba23

See more details on using hashes here.

File details

Details for the file pyswisseph-2.10.3.0.dev0-cp36-cp36m-manylinux_2_12_i686.manylinux2010_i686.whl.

File metadata

File hashes

Hashes for pyswisseph-2.10.3.0.dev0-cp36-cp36m-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 217bc533736ca435242cb3ae9b9fa34295757af7a7c645cb196324830027b24f
MD5 7c00466fc0adebafed3cb8d001e76f7e
BLAKE2b-256 882eac60b2e2584a1c5ca36bdfb920ded9676bf7895186e52d46cc650d1505b5

See more details on using hashes here.

File details

Details for the file pyswisseph-2.10.3.0.dev0-cp36-cp36m-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for pyswisseph-2.10.3.0.dev0-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 647bb503629fe1c625f62bab4dbea048a35dfee3e8c851504a4e8244f3bd3307
MD5 895cd0085951eb31143bcea898db10ed
BLAKE2b-256 fa9fdfc44e66ef5cfbee64000ae99b604ac6b7297e4a2c2bbb410426d9aca725

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page