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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for winterapi-1.3.0.tar.gz
Algorithm Hash digest
SHA256 331d02b3ad784e152fa505f973940cc054642d18f4d6df7208dea7cd06e60c66
MD5 5b8a3186a0368e3a94ef2b516a408f62
BLAKE2b-256 b3900a4af3ccde54614dcb2df56383f22bfb67177ae41e65f22a62c564c16e7d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: winterapi-1.3.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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8f0ef8beb295b46dd210039fb8c7b4215c9b54cd02f84d58f19e5ffdf093d4db
MD5 f8a3f9f0eeea62876021e77cefeef35d
BLAKE2b-256 c98ee5445f2508ea593d234331f7862b85a285238f177279b85f3d6a832df0d0

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