pysynscan
=========
A pure python3 implementation of skywatcher synscan motor protocol. Tested on SkyWatcher AZ-GTI mount and open-synscan project (https://github.com/vsirvent/Open-Synscan)
SkyWatcher made some of their code public in (https://github.com/skywatcher-pacific/skywatcher_open) even a C# !WinForm python interpreter application exist. See (https://code.google.com/archive/p/skywatcher/wikis/Programmable.wiki) but, been a special interpreter, python integration is limited. This project try to fill this gap.
Installation
------------
From sources::
git clone https://github.com/nachoplus/pysynscan.git
python3 setup.py install
From pip::
pip install synscan
Use
---
By defaults connection parameters are::
SYNSCAN_UDP_IP=192.168.4.1
SYNSCAN_UDP_PORT=11880
SYNSCAN_LOGGING_LEVEL=INFO
This values can be changed via enviroment vars::
export SYNSCAN_UDP_IP=192.168.5.1
export SYNSCAN_UDP_PORT=11880
export SYNSCAN_LOGGING_LEVEL=WARNING
Code sample::
import synscan
'''Goto example'''
smc=synscan.motors()
#Synchronize mount actual position to (0,0)
smc.set_pos(0,0)
#Move forward and wait to finish
smc.goto(30,30,synchronous=True)
#Return to original position and exit without wait
smc.goto(0,0,synchronous=False)
More code examples are in examples directory.
Several CLI (command lines interface) are provided::
synscanGoto 32 10
synscanTrack 0 1
synscanStop
synscanWatch
synscanSync 10 12
synscanSwitch 1
Documentation
-------------
See the full documentation [https://nachoplus.github.io/pysynscan]
Raw data
{
"_id": null,
"home_page": "https://github.com/nachoplus/pysynscan",
"name": "synscan",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "robotic",
"author": "Nacho Mas",
"author_email": "mas.ignacio@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/94/05/0b2a99ca1d669b697bad6fe0aca5dea0b1a07472e6424f42115dd8e4ad1d/synscan-0.1.5.tar.gz",
"platform": null,
"description": "pysynscan\n=========\n\nA pure python3 implementation of skywatcher synscan motor protocol. Tested on SkyWatcher AZ-GTI mount and open-synscan project (https://github.com/vsirvent/Open-Synscan)\n\nSkyWatcher made some of their code public in (https://github.com/skywatcher-pacific/skywatcher_open) even a C# !WinForm python interpreter application exist. See (https://code.google.com/archive/p/skywatcher/wikis/Programmable.wiki) but, been a special interpreter, python integration is limited. This project try to fill this gap.\n \n\nInstallation\n------------\nFrom sources::\n\n git clone https://github.com/nachoplus/pysynscan.git\n python3 setup.py install\n\nFrom pip::\n\n pip install synscan\n\nUse\n---\n\nBy defaults connection parameters are::\n\n SYNSCAN_UDP_IP=192.168.4.1\n SYNSCAN_UDP_PORT=11880\n SYNSCAN_LOGGING_LEVEL=INFO\n\nThis values can be changed via enviroment vars::\n\n export SYNSCAN_UDP_IP=192.168.5.1\n export SYNSCAN_UDP_PORT=11880\n export SYNSCAN_LOGGING_LEVEL=WARNING\n\n\nCode sample::\n\n import synscan\n '''Goto example'''\n smc=synscan.motors()\n #Synchronize mount actual position to (0,0)\n smc.set_pos(0,0)\n #Move forward and wait to finish\n smc.goto(30,30,synchronous=True)\n #Return to original position and exit without wait\n smc.goto(0,0,synchronous=False)\n\n\nMore code examples are in examples directory.\n\nSeveral CLI (command lines interface) are provided::\n\n synscanGoto 32 10\n synscanTrack 0 1\n synscanStop\n synscanWatch\n synscanSync 10 12\n synscanSwitch 1\n\nDocumentation\n-------------\n\nSee the full documentation [https://nachoplus.github.io/pysynscan]\n\n\n\n",
"bugtrack_url": null,
"license": "GPL3",
"summary": "Pure python3 skywatcher synscan protocol",
"version": "0.1.5",
"project_urls": {
"Download": "https://github.com/nachoplus/pysynscan/tarball/0.1.5",
"Homepage": "https://github.com/nachoplus/pysynscan"
},
"split_keywords": [
"robotic"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "94050b2a99ca1d669b697bad6fe0aca5dea0b1a07472e6424f42115dd8e4ad1d",
"md5": "722c6d1f7f9328fc0319ca6ce0872b8e",
"sha256": "d12271100d438f9dcef36ff0e1d29a45b9e9cc99250b771ab01d31e1814faf5a"
},
"downloads": -1,
"filename": "synscan-0.1.5.tar.gz",
"has_sig": false,
"md5_digest": "722c6d1f7f9328fc0319ca6ce0872b8e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 11708,
"upload_time": "2023-12-10T17:42:41",
"upload_time_iso_8601": "2023-12-10T17:42:41.100678Z",
"url": "https://files.pythonhosted.org/packages/94/05/0b2a99ca1d669b697bad6fe0aca5dea0b1a07472e6424f42115dd8e4ad1d/synscan-0.1.5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-12-10 17:42:41",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "nachoplus",
"github_project": "pysynscan",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [
{
"name": "click",
"specs": []
}
],
"lcname": "synscan"
}