Skip to main content

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.

Release files for winterapi 1.7.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for winterapi 1.7.1
File Size Uploaded
winterapi-1.7.1.tar.gz 42.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for winterapi 1.7.1
File Interpreter ABI Platform
winterapi-1.7.1-py3-none-any.whl Python 3 none any Details

Total release size: 54.7 kB

Release files / winterapi-1.7.1.tar.gz

Download URL winterapi-1.7.1.tar.gz
Size 42.8 kB
Tags Source
SHA-256 checksum
How to use checksums
68b6f84e501046f682e11e44b83c03ab315c77646ff61ad11fee7ad037183db4
BLAKE2b-256 checksum
How to use checksums
3b35fb7fc6b296d6ebe18f00fe33e610121475b844544f180ace6ba14c0378d8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Release files / winterapi-1.7.1-py3-none-any.whl

Download URL winterapi-1.7.1-py3-none-any.whl
Size 11.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b6c7488f6df837f34439779531d99a9ef235439d9dd2ee55d0b3b5faa204073d
BLAKE2b-256 checksum
How to use checksums
28e274804a482e91cfec6ccdfb191632ff77317bcdae1e261442699ed32d2260
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Release history Release notifications | RSS feed

This release

1.7.1 This release

2 release files

1.7.0

2 release files

1.6.0

2 release files

1.5.0

2 release files

1.4.1

2 release files

1.4.0

2 release files

1.3.0

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page