Skip to main content

Python binding for the ZWO ASI SDK library

Project description

Header

PyZWOASI · Build status MIT License Starline counter

PyZWOASI is a Python binding for the ZWO ASI SDK. It is developped to be easy-to-use and functional, and, if I can make it, up-to-date.

Supported ASI SDK version : 1.37

Currently compatible with Windows, Linux and MacOS.

Windows compatible Linux compatible MacOS compatible

Installation

The safest and simplest way to install pyzwoasi is to use its repository from PyPI using pip :

python -m pip install --upgrade pip
python -m pip install pyzwoasi

The installer will take in charge the machine configuration and choose the right compiled library file from ZWO. You will not have useless .dll files on your machine, only the needed ones.

Roadmap

83%
Current number of supported ASI SDK v1.37 features: 36/43

  • Add Linux support
  • Add MacOS support
  • Add Android support
  • Add more precise error handling
  • Add missing functions from the ZWO ASI SDK
    • Add function ASIGetVideoDataGPS
    • Add function ASIGetDataAfterExpGPS
    • Add function getGainOffset
    • Add function ASIGetLMHGainOffset
    • Add function ASISetTriggerOutputIOConf
    • Add function ASIGetTriggerOutputIOConf
    • Add function ASIGPSGetData

If you have any wishes, suggestions, comments or advice, please feel free to create an issue or contact me directly.

Code quality

This Python project will also be a test of different codings metrics and tools to ensure its quality and security. This part is more a personal challenge and journey into new metrics and Python tools.

  • Computing code coverage using coverage
  • Static code analysis using pylint
  • Style guide enforcement using black or flake8
  • Writing a Git best practices charter for the project (atomic commits and explicits like feat:, fix:, refactor: and so on. More about this about here and here)
  • Writing a security charter, using bandit and safety to ensure the code is secure
  • Making large documentation using sphinx, readthedocs and proposing metrics with docstr-coverage
  • Profiling the code with cProfile and line_profiler
  • Various other code metrics with radon and mccabe
  • Adding build status badges and SonarQube badges
  • and lots of other things proposed by other repos

License

Distributed under the MIT License. See LICENSE.txt for more information.

Contributors

Contact

François Margall - fr.margall@proton.me

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

pyzwoasi-0.1.0a33.tar.gz (5.6 MB view details)

Uploaded Source

Built Distribution

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

pyzwoasi-0.1.0a33-py3-none-any.whl (6.6 MB view details)

Uploaded Python 3

File details

Details for the file pyzwoasi-0.1.0a33.tar.gz.

File metadata

  • Download URL: pyzwoasi-0.1.0a33.tar.gz
  • Upload date:
  • Size: 5.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for pyzwoasi-0.1.0a33.tar.gz
Algorithm Hash digest
SHA256 f3879989ecaf49c27ba1d34f20ae80da9c900166de528d0320002c5f8bf73285
MD5 f415116dc7622a18080d20147a76c07a
BLAKE2b-256 acb223f1295c811656741aeadd9769cd7abeabe42fb0c76f94a34e634a65ba0d

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyzwoasi-0.1.0a33.tar.gz:

Publisher: deployment.yml on fmargall/pyzwoasi

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyzwoasi-0.1.0a33-py3-none-any.whl.

File metadata

  • Download URL: pyzwoasi-0.1.0a33-py3-none-any.whl
  • Upload date:
  • Size: 6.6 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for pyzwoasi-0.1.0a33-py3-none-any.whl
Algorithm Hash digest
SHA256 5e5c06f1caf419db7e8c95baed28ec9cf8ff022df642b7686841aab73669b42d
MD5 460e08dfda674cd5c0bf53d620e56ae0
BLAKE2b-256 a336e453b0ceb4908c404b1991eea39d09b2c8aa44cb7ff74a84797dffac1f20

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyzwoasi-0.1.0a33-py3-none-any.whl:

Publisher: deployment.yml on fmargall/pyzwoasi

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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