Skip to main content

MOC parsing and manipulation in Python

Project description

PyPI version Build/Test status Notebook Binder Doc

MOCPy is a Python library allowing easy creation and manipulation of MOCs (Multi-Order Coverage maps).

MOC is an IVOA standard enabling description of arbitrary sky regions. Based on the HEALPix sky tessellation, it maps regions on the sky into hierarchically grouped predefined cells.

An experimental support for TMOC (temporal MOC) has been added since version 0.4.0. It allows creation, parsing and comparison of TMOCs.

Space & Time coverages (STMOC) are an extension of MOC to add time information. It is possible to get a TMOC by querying a STMOC with a MOC and/or get a MOC by querying a STMOC with a TMOC.

Please check the mocpy’s documentation for more details about installing MOCPy and using it.

For a command line tool, see the moc-cli.

For more information about the MOCPy Rust core, see the moc crate.

map to buried treasure <figcaption>

Rendered with MOCpy!


Download files

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

Source Distribution

mocpy-0.12.3.tar.gz (77.7 MB view hashes)

Uploaded source

Built Distributions

mocpy-0.12.3-cp311-none-win_amd64.whl (790.0 kB view hashes)

Uploaded cp311

mocpy-0.12.3-cp310-none-win_amd64.whl (790.0 kB view hashes)

Uploaded cp310

mocpy-0.12.3-cp39-none-win_amd64.whl (790.2 kB view hashes)

Uploaded cp39

mocpy-0.12.3-cp38-none-win_amd64.whl (789.7 kB view hashes)

Uploaded cp38

mocpy-0.12.3-cp37-none-win_amd64.whl (789.5 kB view hashes)

Uploaded cp37

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page