Manticore Data Module
A Python module for loading and managing data from an S3 bucket.
ATTENTION (April 30th 2026): BACKEND CHANGED. PLEASE UPDATE TO MANTICORE_DATA >=1.8.0
Overview
The manticore_data module is designed to load and manage data from an S3 bucket. It provides functionalities for handling different types of data products such as velocity fields, monofonic data, submit scripts, and whitenoise data.
Installation
To install the module, clone the repository and install the required dependencies:
pip install git+https://git.aquila-consortium.org/Aquila-Consortium/manticore_data/
Usage
Initialization
First, import the module and initialize the ManticoreDataLoader class. The
campaign generation is chosen once, in the constructor, and the loader is
bound to it for its whole lifetime — no method takes a generation argument.
Create a second loader to read a different generation.
from manticore_data import ManticoreDataLoader, ManticoreGeneration
loader = ManticoreDataLoader(ManticoreGeneration.Local)
Loading Data
To load Halo catalog data from the S3 bucket:
data = loader.get_soap_catalog_files(resolution=1024, snapshot_number=70)
To retrieve a file element of the main chain:
mcmc = loader.get_product_files("chain", as_file_objects=True)
Be aware that these files are about 400 MB big each.
One
Configuration
The module uses a Settings class to manage configuration settings. You can configure the mirror URL and cache directory by modifying the .env file or setting environment variables.
from manticore_data.settings import settings
print(settings.manticore_data_mirror)
print(settings.cache_dir)
Cache management
To clear the cache entirely:
from manticore_data import ManticoreFile
ManticoreFile.clear_cache()
To get information on the cache
ManticoreFile.get_cache_info()
License
This project is licensed under the GPL License - see the LICENSE file for details.
Metadata
Release files for manticore-data 2.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| manticore_data-2.0.1.tar.gz | 22.4 kB | Without provenance | Details |
Release files / manticore_data-2.0.1.tar.gz
| Download URL | manticore_data-2.0.1.tar.gz |
|---|---|
| Size | 22.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a9a2ffc7e9b6ba43fc9961cefaccca98dbda64bd99a20b63db07218f9cc8cf49
|
|
BLAKE2b-256 checksum How to use checksums |
2a43eb006e7f9a122da7ad0b15eec73cba551eba890ad6fca7b9292b77000d08
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.13
|
Security for manticore-data 2.0.1
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.