Skip to main content

Small module to retrieve cutouts from the Legacy Survey.

Project description


CI license pyversion pkgversion

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


This package can be installed simply by running pip install legacystamps. It can also be installed manually with python install.


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

import legacystamps, dec=dec, mode='fits', bands='grz', size=cutsize)

or to get a JPEG cutout:

import legacystamps, dec=dec, mode='jpeg', bands='grz', size=cutsize)

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


The following packages are required:

  • requests
  • tqdm

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for legacystamps, version 1.2.1
Filename, size File type Python version Upload date Hashes
Filename, size legacystamps-1.2.1.tar.gz (4.5 kB) File type Source Python version None Upload date Hashes View
Filename, size legacystamps-1.2.1-py3-none-any.whl (19.8 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page