Python interface for ASCOM Alpaca.
Reason this release was yanked:
Ancient
Project description
Alpyca
Python interface for ASCOM Alpaca
Install
Using Pip
If downloading from the Python Package Index, run
python3 -m pip install Alpyca
From source
If you have the source code in a tar file, extract it and run
python3 setup.py install
Documentation
All methods have docstrings accessible with Python's built-in help()
function.
Alpyca's classes, methods, and parameters use the same names as ASCOM Alpaca's RESTful API. The documentation for Alpaca can be found at https://ascom-standards.org/api/.
Example
The address to move a telescope accessible at http://127.0.0.1:11111/api/v1/telescope/0/moveaxis
with the request body {"Axis": 0, "Rate": 1.5}
translates into this Python code:
# Import the Telescope class.
from alpaca import Telescope
# Initialize a Telescope object with 0 as the device number.
t = Telescope('127.0.0.1:11111', 0)
# Move the primary axis 1.5 degrees per second.
t.moveaxis(Axis=0, Rate=1.5)
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 Distribution
File details
Details for the file Alpyca-1.0.0b0.tar.gz
.
File metadata
- Download URL: Alpyca-1.0.0b0.tar.gz
- Upload date:
- Size: 12.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 399d2f629c9547923a254057203a5974a8ed7f81e54f7fd13c9bc8f0bdd14961 |
|
MD5 | 0ee3a4b6e46aca428d989a83e92a9cb8 |
|
BLAKE2b-256 | 7ff96ec613eb0d58f638c50270ffb6ac05358316d951a8174accc062f604f19f |
Provenance
File details
Details for the file Alpyca-1.0.0b0-py3-none-any.whl
.
File metadata
- Download URL: Alpyca-1.0.0b0-py3-none-any.whl
- Upload date:
- Size: 16.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9abe870ae9a4a74ded47ca133ae99808ffbff650f84cbebed8fd9cbab3a68eb |
|
MD5 | 2ca421c5f7e5646bb0765360b77d8d6d |
|
BLAKE2b-256 | c76c96c4775a413df6e7a77744f6fa91e634dd9d3a7ab89dff0082bbdde285a8 |