PALpy is a python interface to the PAL positional astronomy library (<https://github.com/Starlink/pal>). All source code is included with the distribution via git submodules.
To build the python interface from the git repository:
git submodule init git submodule update python setup.py build python setup.py install python test_pal.py
Requires that Cython and numpy are installed.
The interface uses the same names as the C interface with the pal prefix missing:
import palpy as pal djm = pal.caldj( 1999, 12, 31 ) (r2000, d2000) = pal.fk45z( 1.2, -0.3, 1960 )
All arguments modified by the C API are returned. No arguments are modified. The one routine that is different is palObs which returns a simple dict that can be searched using standard python. The keys to the dict are the short names and the values are another dict with keys name, long, lat and height.
Docstrings are included with each routine describing the python usage and the associated C documentation:
help(palpy) help(palpy.caldj)
See test_pal.py for detailed examples of all functions.
Documentation:
The module provides documentation on how to use the python interface to PAL. It does not contain information on how to use PAL itself.
The basic PAL documentation can be found at
For more information the SLA documentation provides much more detail:
A description paper for PAL was published in the ADASS XXII conference proceedings:
Please consider citing this if you use PAL or palpy in your research.
Further Work
Not all the SLALIB routines are available from PAL. More can be added as need arises.
Release files for palpy 1.8.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| palpy-1.8.4.tar.gz | 543.4 kB | Details |
Built distributions (wheels)
Total release size: 21.7 MB
Release files / palpy-1.8.4.tar.gz
| Download URL | palpy-1.8.4.tar.gz |
|---|---|
| Size | 543.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d42d537bc4af2b0d88af1bb2fa19d6911d78df72de0f94ce6a371a8c6535c540
|
|
BLAKE2b-256 checksum How to use checksums |
25a21cb04047cb45519d7e68346ae1facd66b2e35b8643e7f229d5c126722b8c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.5
|
Release files / palpy-1.8.4-cp313-cp313-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | palpy-1.8.4-cp313-cp313-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 2.4 MB |
| Tags | CPython 3.13 Linux glibc 2.17+ x86-64 Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
e4f5231cfc6519690caa9c4c6c4bbcd86150aa794898e885bfa3799e18115e52
|
|
BLAKE2b-256 checksum How to use checksums |
86ffe474beddcaa2999253539f7845f807a01b32b24af1e6f193c7d3dd31b479
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.5
|
Release files / palpy-1.8.4-cp313-cp313-macosx_11_0_arm64.whl
| Download URL | palpy-1.8.4-cp313-cp313-macosx_11_0_arm64.whl |
|---|---|
| Size | 556.7 kB |
| Tags | CPython 3.13 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
1cc22d544ce9d4b872772f7205d921623483b5c9631e0f59c134361142df6353
|
|
BLAKE2b-256 checksum How to use checksums |
115f668b37ffef0dde9da74beaf984f47e2607b2e0d2eb6356f0f7cbe606092a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.5
|
Release files / palpy-1.8.4-cp313-cp313-macosx_10_13_x86_64.whl
| Download URL | palpy-1.8.4-cp313-cp313-macosx_10_13_x86_64.whl |
|---|---|
| Size | 593.7 kB |
| Tags | CPython 3.13 macOS 10.13+ x86-64 |
|
SHA-256 checksum How to use checksums |
cbbe086960fc40293d3f683b2f9966474617182b2f330dc971e7a581e6678d42
|
|
BLAKE2b-256 checksum How to use checksums |
f6aa9cb163bd91b80ab48c5a8bd8408c7a284479ae05700ff68e998bc943f682
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.5
|
Release files / palpy-1.8.4-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | palpy-1.8.4-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 2.4 MB |
| Tags | CPython 3.12 Linux glibc 2.17+ x86-64 Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
e4d8e6f027a9c5b7ddad29cd6fbde8025102a908fed2495173cd80f966ac16ea
|
|
BLAKE2b-256 checksum How to use checksums |
8fc1b49acd1c32d2b9cc58440aeb64bc7af1cbfd9c15d2890edd1a49efd7fbac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.5
|
Release files / palpy-1.8.4-cp312-cp312-macosx_11_0_arm64.whl
| Download URL | palpy-1.8.4-cp312-cp312-macosx_11_0_arm64.whl |
|---|---|
| Size | 558.8 kB |
| Tags | CPython 3.12 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
7b1336d0bb8ef06b477cf369e9bd9db63a519316abb0aa75fe871f4e91a204c7
|
|
BLAKE2b-256 checksum How to use checksums |
973ee16c314222bdff5d753b0b57ac1925086ad36ad7035abee34b917944f29e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.5
|
Release files / palpy-1.8.4-cp312-cp312-macosx_10_9_x86_64.whl
| Download URL | palpy-1.8.4-cp312-cp312-macosx_10_9_x86_64.whl |
|---|---|
| Size | 598.5 kB |
| Tags | CPython 3.12 macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
60e27c49d9db1e6c604c2ff79556e2cf4d9ffedc0eecebb038b87f52b3b049eb
|
|
BLAKE2b-256 checksum How to use checksums |
535d209cf4c94072ababf33fdf66ddfea67ac65fa9d1b17414cd4b719fcd2e5e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.5
|
Release files / palpy-1.8.4-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | palpy-1.8.4-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 2.5 MB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
64308ea7a0b0aef2f9d469c96f5ee4e6b3ff9b0913a516e936d23274848fd484
|
|
BLAKE2b-256 checksum How to use checksums |
2d350ec0b567a9ccb5ea945d575b4e1565bdb48a7e1e87639198afd6f2672d36
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.5
|
Release files / palpy-1.8.4-cp311-cp311-macosx_11_0_arm64.whl
| Download URL | palpy-1.8.4-cp311-cp311-macosx_11_0_arm64.whl |
|---|---|
| Size | 571.8 kB |
| Tags | CPython 3.11 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
98dad6e9baf2b8af4526e9c4f1717d5a299d47443ee10005fe7ad949b47bba08
|
|
BLAKE2b-256 checksum How to use checksums |
5fd43a9f5716d0dc2fb587e5934bcbfe199740365b0369acf30520502d3272b4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.5
|
Release files / palpy-1.8.4-cp311-cp311-macosx_10_9_x86_64.whl
| Download URL | palpy-1.8.4-cp311-cp311-macosx_10_9_x86_64.whl |
|---|---|
| Size | 622.7 kB |
| Tags | CPython 3.11 macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
9afdcf5be4acaba7bb7e0ce243d4bc8e6a19b9b5fc113d93b428e4952c3c7f81
|
|
BLAKE2b-256 checksum How to use checksums |
94c3ca106f525047701dc9e1b1d87e0917007c65fdd1fc4143d1890d9440b8fe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.5
|
Release files / palpy-1.8.4-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | palpy-1.8.4-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 2.3 MB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
64ffad4b1973d0eceb4e6a6c2df1bd5b86199ff2306004a1bd4c7e26cc97cf6b
|
|
BLAKE2b-256 checksum How to use checksums |
90ef6b53e987e3132484d900fd366a0fc44fb5d347690829675bc7c84a53947b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.5
|
Release files / palpy-1.8.4-cp310-cp310-macosx_11_0_arm64.whl
| Download URL | palpy-1.8.4-cp310-cp310-macosx_11_0_arm64.whl |
|---|---|
| Size | 568.4 kB |
| Tags | CPython 3.10 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
0bb17c15501a3dd4280b70ae4b698a4417e95e337dcd77fc7d8969c3585e487e
|
|
BLAKE2b-256 checksum How to use checksums |
da95271cb06074b0a1c2c2f08dd4a77db753308c2f1c8498e8fec84e01630beb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.5
|
Release files / palpy-1.8.4-cp310-cp310-macosx_10_9_x86_64.whl
| Download URL | palpy-1.8.4-cp310-cp310-macosx_10_9_x86_64.whl |
|---|---|
| Size | 617.0 kB |
| Tags | CPython 3.10 macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
cc8424fc562a9c643d6be1a38a35319bf6bc88709c1f05d2f8af07df3c804aa7
|
|
BLAKE2b-256 checksum How to use checksums |
0323e2a7fe64727c97dd22d9e5077a28142ace9c897e6826926d3ce4182b3693
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.5
|
Release files / palpy-1.8.4-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | palpy-1.8.4-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 2.3 MB |
| Tags | CPython 3.9 Linux glibc 2.17+ x86-64 Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
a85cbd90bcc687e9d45f74c938685b1f1ed335d04547283c6ba037199332c8a4
|
|
BLAKE2b-256 checksum How to use checksums |
3bb0b6d6a753ac27cc5d4f001a98050e5cdda2d8a5c5107aa037320da4313a94
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.5
|
Release files / palpy-1.8.4-cp39-cp39-macosx_11_0_arm64.whl
| Download URL | palpy-1.8.4-cp39-cp39-macosx_11_0_arm64.whl |
|---|---|
| Size | 568.4 kB |
| Tags | CPython 3.9 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
18700807990cf8b3ac73921dfbe1c907236e9a7a3502f2b9643d53d44f0fc4bd
|
|
BLAKE2b-256 checksum How to use checksums |
eb105b26191fe83976a496f9edeada248d556908c14feb7cf35e0e995099aa49
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.5
|
Release files / palpy-1.8.4-cp39-cp39-macosx_10_9_x86_64.whl
| Download URL | palpy-1.8.4-cp39-cp39-macosx_10_9_x86_64.whl |
|---|---|
| Size | 617.0 kB |
| Tags | CPython 3.9 macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
5077b95ef974f1e7d06c037d934527d3f89ff63c1d7d37f79f7a485d15b5bfd0
|
|
BLAKE2b-256 checksum How to use checksums |
132433a740a945472786211316d65b08cee320263e6ddcd83b676517684373ee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.5
|
Release files / palpy-1.8.4-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | palpy-1.8.4-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 2.3 MB |
| Tags | CPython 3.8 Linux glibc 2.17+ x86-64 Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
38da3876059a1548c9f82365c44114a7718f9d2de5054a9d48081eed4196506f
|
|
BLAKE2b-256 checksum How to use checksums |
298edab145a7346a9279bb7e2ccdb8d7735b30276c5f028d2038e6361f7038e1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.5
|
Release files / palpy-1.8.4-cp38-cp38-macosx_11_0_arm64.whl
| Download URL | palpy-1.8.4-cp38-cp38-macosx_11_0_arm64.whl |
|---|---|
| Size | 556.6 kB |
| Tags | CPython 3.8 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
491efa1153a3619f235f19707c0df38c3a4254be5862bc8be7dff65c629ade2b
|
|
BLAKE2b-256 checksum How to use checksums |
3eb4724ce7b0cef9b654690011a6e90545bf053db0ce1e0440419f4bfd8628dc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.5
|
Release files / palpy-1.8.4-cp38-cp38-macosx_10_9_x86_64.whl
| Download URL | palpy-1.8.4-cp38-cp38-macosx_10_9_x86_64.whl |
|---|---|
| Size | 605.2 kB |
| Tags | CPython 3.8 macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
ac62f998ae2a523a35cb61e8cf8353ecbb6ba1499b466e1970de9649e0b8f20a
|
|
BLAKE2b-256 checksum How to use checksums |
59c5278d280650d3a92b60d43b5880c8bae6f36866a1923dfd8d88ac5951ad52
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.5
|