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:
- Repository:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Close
Hashes for pyswisseph-2.10.3.0.dev0-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4770eca1df1bf0537b42ff1e4137f5b127d227d88a84ba0f64c37d5811442a40 |
|
MD5 | 39b1a60a14c9e5e2e3064795a610b766 |
|
BLAKE2b-256 | 5562b67c4718ae7eb7ef8f0c0f9397870bd273c470976fae6ec9e77e292235e9 |
Close
Hashes for pyswisseph-2.10.3.0.dev0-cp39-cp39-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bef62962787f1934a80518458647cffdb318a142b7f1add91d6e2fa12463d998 |
|
MD5 | f36044f498e331d387b53296a7f12baa |
|
BLAKE2b-256 | c474c50cf75f38d6e010d78bca0088c931f353295e077b43f07801208d0faaf3 |
Close
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 |
Close
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 |
Close
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 |
Close
Hashes for pyswisseph-2.10.3.0.dev0-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7cc91d7a56bd6de2503d1347b765802be8825ce3aa63d4a37cea173c6ce1f7c5 |
|
MD5 | 6ac21db85e8ab56163c6b7215d91ffc7 |
|
BLAKE2b-256 | 65637cf25957a41c3c3f8d8cb7ffaf8ba002007d3944ddce136e8e5025f96679 |
Close
Hashes for pyswisseph-2.10.3.0.dev0-cp38-cp38-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1fda7f1200e1d12cc9dcb6c9794b07e71223692565e5ae492d24d3d0468e000f |
|
MD5 | 1a8be2b62af9a5c629347c218aafc5bd |
|
BLAKE2b-256 | 8fe8b0623c0f2cbdc7cc0be81e872baa91feb284536a67f8ab2cbe3612371e2e |
Close
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 |
Close
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 |
Close
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 |
Close
Hashes for pyswisseph-2.10.3.0.dev0-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 82de8ac3c4a039981ef418829ae947fa2c142daaeab94a6206d9baf3869caf58 |
|
MD5 | 2319b9426238c713e62e2e3937bf39f5 |
|
BLAKE2b-256 | 4bda08447fcf7d5c9ffba32f39d3b98abda79dcf27f30bf391ef89a437f984e0 |
Close
Hashes for pyswisseph-2.10.3.0.dev0-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 06bd22164391e73388c6c3f2a4d1018f4cb7f576e038c2e7ce156c10a5743445 |
|
MD5 | 2a287cf659858067f678b12f08197f51 |
|
BLAKE2b-256 | 8b0671667a8627a213f9a84206c2fe49da2c0871c99631d099c0aa1e7aea18ba |
Close
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 |
Close
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 |
Close
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 |
Close
Hashes for pyswisseph-2.10.3.0.dev0-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | daa0098182be707427af989afef33de4c06d48fb793ef9349fb16d9d5a8af8d0 |
|
MD5 | e194b781a1025c65eebfb64001d8cd93 |
|
BLAKE2b-256 | dc26ea9b4a50b25e65bc370b756edb1290b3c670c7201c935ef579311fa92e5b |
Close
Hashes for pyswisseph-2.10.3.0.dev0-cp36-cp36m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65fcb60683c4336df61fe9cfbebe35879eeac11b6bfb66c82867e43f9e4ab05d |
|
MD5 | dae2d632f94a317f3ac342d91abdfb49 |
|
BLAKE2b-256 | d7629d371e9744482df7701545195b70d8c770ce772cad5646e3f48102cde0f6 |
Close
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 |
Close
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 |
Close
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 |