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.0.tar.gz (34.6 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: winterapi-1.4.0.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.0.tar.gz
Algorithm Hash digest
SHA256 c3233e92661178dc29d36c5cba9c5912b5ce0fbf1e8d39c60c1385c56c6e84f7
MD5 d7411a2b65b80576524450da93ddce7f
BLAKE2b-256 65c074a8d986b022784c56154fbe180f17f30701c03aef14c1b0a05c1f341bb7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: winterapi-1.4.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e99915e9f5887e14361bec6b516eaa246c42d226e9e13f177fa788d84a5661de
MD5 d6a045a9b02bdc4513ab5c53b38439bc
BLAKE2b-256 7bda71a2a32ceb95e4d6b7ca9f1ca90b438efa71c0c72376fb1f37836460bcc8

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