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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: winterapi-1.2.0.tar.gz
  • Upload date:
  • Size: 33.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.18

File hashes

Hashes for winterapi-1.2.0.tar.gz
Algorithm Hash digest
SHA256 51cafeaf824f5760fbe11fbbceb2c1f61da1b1067a2afda943e382ba29bb03c9
MD5 f1814798996973783ba8b574d9345725
BLAKE2b-256 d59c13323aee0c8196d9b19615c17e5aacc79917450481bdbcf4a18529b8db55

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for winterapi-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0374ee69e89f5032f1e0fc8fab3d73df7aee68d6f6ad9293575f093096afb396
MD5 09110dea5b49f95051f39468bfe082ba
BLAKE2b-256 3da9ce85128eae9b2fdb29b1088057687e3108687627ecda58552cab9b06f277

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