Skip to main content

No project description provided

Project description

winterapi

API interactions for WINTER

Coverage Status CI PyPI version

Installation

We advise you to install the package in a virtual environment or conda environment. You will need python 3.10 or later to use this package.

Install from pypi

pip install winterapi

Install from source

git clone git@github.com:winter-telescope/winterapi.git
cd winterapi
pip install --editable ".[dev]"
pre-commit install

Updating the package

You will need to occasionally update the package to get the latest features and bug fixes. Sometimes the server will require a newer version of the package to interact with it, and you will receive a warning when using winterapi. You can update by running the following command:

Updating for pypi

pip install --upgrade winterapi

or

Updating from source

cd winterapi
git pull
pip install --editable ".[dev]"
pre-commit install

Using winterapi

You can find example usage under notebooks/ directory in this repository. The notebooks are numbered, and walk you through setting up credentials, triggering a ToO, checking on the status of a ToO, and downloading images after observations are complete.

Problems?

The first port of call if you have any problems is to download the latest version of the package. You might even get a warning when using the package that your version is out of date. If you are still having problems after updating, you could also try re-entering your credentials.

If you are still having problems, please open a Github Issue and we will try to help you as soon as possible.

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

winterapi-1.4.1.tar.gz (34.6 kB view details)

Uploaded Source

Built Distribution

winterapi-1.4.1-py3-none-any.whl (12.0 kB view details)

Uploaded Python 3

File details

Details for the file winterapi-1.4.1.tar.gz.

File metadata

  • Download URL: winterapi-1.4.1.tar.gz
  • Upload date:
  • Size: 34.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.9.19

File hashes

Hashes for winterapi-1.4.1.tar.gz
Algorithm Hash digest
SHA256 daba429b61b43289380bf3b0ad3413462a0ecf11b22b586f30a9747edad1fe23
MD5 e47f4144861d52a18d0a46d4e5522ab0
BLAKE2b-256 085227b88851bdd4ea6de271387ee71731cfd6e67e1fc4199f085cee9b31e025

See more details on using hashes here.

File details

Details for the file winterapi-1.4.1-py3-none-any.whl.

File metadata

  • Download URL: winterapi-1.4.1-py3-none-any.whl
  • Upload date:
  • Size: 12.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.9.19

File hashes

Hashes for winterapi-1.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 746d862105fb573fe9096c5ab823cdcf220ad065f734856556fdd4e08dff9d27
MD5 33888245607d12eff88ce8735dc2ce76
BLAKE2b-256 a03a91a25a6fc48096e299f3d15043c2efe6179b7e8ed108f072d9e221f314a4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page