Metadata-Version: 2.1
Name: legacystamps
Version: 1.2.0
Summary: Small module to retrieve cutouts from the Legacy Survey.
Home-page: https://github.com/tikk3r/legacystamps
Author: Frits Sweijen
Author-email: frits.sweijen@gmail.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Operating System :: OS Independent
Requires-Python: >=2.7.5
Description-Content-Type: text/markdown
Requires-Dist: requests
Requires-Dist: tqdm

# legacystamps
![CI](https://github.com/tikk3r/legacystamps/actions/workflows/integration-tests.yml/badge.svg)
![license](https://img.shields.io/pypi/l/legacystamps?style=flat)
![pyversion](https://img.shields.io/pypi/pyversions/legacystamps?style=flat)
![pkgversion](https://img.shields.io/pypi/v/legacystamps?style=flat)

A tiny Python module to allow easy retrieval of a cutout from the Legacy survey.

## Installation
This package can be installed simply by running `pip install legacystamps`. It can also  be installed manually with `python setup.py install`.

## Usage
To use it in a script, import and use the module as follows. To get a FITS cutout:

```python
import legacystamps
legacystamps.download(ra=ra, dec=dec, mode='fits', bands='grz', size=cutsize)
```

or to get a JPEG cutout:
```python
import legacystamps
legacystamps.download(ra=ra, dec=dec, mode='jpeg', bands='grz', size=cutsize)
```

It can also run standalone. See `legacystamps.py -h` for available options after installation.

## Requirements
The following packages are required:

* requests
* tqdm



