Skip to main content

legacystamps

CI license pyversion pkgversion ascl

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:

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

or to get a JPEG cutout:

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

Acknowledgements

If you use legacystamps in your work, please consider acknowledging this package through

This work made use of the legacystamps package (https://github.com/tikk3r/legacystamps).

and the acknowledgements associated to https://legacysurvey.org/.

Metadata

Release files for legacystamps 1.2.2

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

Source distribution (sdist)

Source distribution for legacystamps 1.2.2
File Size Uploaded Provenance Actions
legacystamps-1.2.2.tar.gz 5.1 kB Without provenance Details for legacystamps-1.2.2.tar.gz

Built distribution (wheel)

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

Total release size: 25.9 kB

Release files / legacystamps-1.2.2.tar.gz

Download URL legacystamps-1.2.2.tar.gz
Size 5.1 kB
Tags Source
SHA-256 checksum
How to use checksums
3be42a4749d3a9ba87f1fda6ef96eb2dfb7d8aa1cd59423cbe516f1177b7b075
BLAKE2b-256 checksum
How to use checksums
5e762669cc23f3275f447503f04474cd6e6bf62a673cbde73bc7fa8abd77b098
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/50.3.1.post20201107 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.8.5

Release files / legacystamps-1.2.2-py3-none-any.whl

Download URL legacystamps-1.2.2-py3-none-any.whl
Size 20.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9564ce992581a744f72c3471916016131d91d186dc18cb9e53d577e3a46462a8
BLAKE2b-256 checksum
How to use checksums
dee078f7b7a3fb3965f3b8fc56e1b1d00f8decc5175d84511d21b225a1f0d7cb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/50.3.1.post20201107 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.8.5

Security for legacystamps 1.2.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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