Skip to main content

Deploy magUniverse Page CI Build Wheel, Manifest, Website, and Services Pypi Release PyPI version

Magnetic Field in the Universe

A Python‑based data manager for working with tabulated data from publications of observational surveys of cosmic magnetic fields. Instead of hosting large data files, this repo gives you the scripts, parsers, and notebooks you need to download, standardize, and compare datasets from the literature (dust polarimetry, Zeeman splitting, Faraday rotation, and more).


Goals

  • Provide reproducible Python pipelines that turn publication data products into clean, science‑ready tables on your own machine.
  • Make it simple to build your data collection and keep it in sync with new survey releases.
  • Enable cross‑comparison between magnetic‑field-related quantities from different publications or surveys.
  • Serve as a lightweight, community‑maintained magnetic-field-in-the-universe research knowledge base.

Download all the Data You Want In Your Browser

magUniverse now offers browser-based data downloads powered by Pyodide. This eliminates the need for local Python installation or environment setup.

Technical Details

  • WebAssembly Python through Pyodide
  • Automatic magUniverse installation via Pypi or the latest CI build wheel
  • Direct file downloads inside your browser

Quick Start Notebook

github installation of magUniverse is available:

Logo Platform Command
GitHub logo GitHub python -m pip install https://github.com/xli2522/magUniverse/archive/refs/heads/main.zip
Pypi logo Pypi python pip install maguniverse

Or setup the development repo via setup.py

$ cd ./magUniverse
$ python setup.py install

After installation, go through the examples in notebooks\00_quickstart.ipynb for a quick start.


Repository layout (subject to change)

magUniverse-master
├── .github/workflows          # Github workflow files
│   ├── main.yml               # Auto update manifest, CI build, and magUniverse Paper Collection Website
│   ├── python-publish.yml     # Auto publish to Pypi on release
│   └── deploy_gh_pages.yml    # Auto deploy magUniverse Paper Collection Website
│
│── maguniverse/
│   ├── data/                  # Get raw data and convert to tidy CSV, TXT, … 
│   │   ├── polarization/      # CSO, JCMT, ALMA, Planck, …
│   │   ├── zeeman/            # Crutcher catalog, OH/NH3, …
│   │   ├── faraday/           # RM grids, LOFAR, ASKAP, …
│   │   └── gas/               # NRAO, Haystack, Effelsberg, …
│   │
│   ├── utils/                 # Python helpers
│   │   ├── fetch_ascii.py     # Scripts to fetch raw ASCII data from online repositories
│   │   └── ...                # other advanced tools
│   │
│   ├── service/               # Simplified minimalistic data table methods
│   │   └── get.py             # Minimalistic data table getters (wrappers of data/**/getters)
│   │
│   └── datafiles/             # User copy of data
│
├── notebooks/                 # Jupyter demo notebooks
│   └── 00_quickstart.ipynb    # 15‑min tour of the toolbox
│
├── docs/                      # Longer‑form docs & rendered HTML
│   ├── manifest.json/         # JSON of magUniverse metadata and getter methods
│   ├── **.whl                 # CI build latest wheel
│   ├── latest_wheel.txt       # text file containing the full name of the latest wheel
│   └── index.html             # Main magUniverse website
│
├── examples/                  # Mini‑projects / tutorials
│   └── generate_manifest.py   # Manifest of all magUniverse getter methods
│
├── tests/                     # Unit tests for parsers
├── requirements.txt           # Lists the Python dependencies for the project
├── CONTRIBUTING.md            # How to add code or docs
├── LICENSE                    # MIT
├── setup.py                   # Allow pip-install via ZIP
└── README.md                  # ← you are here

Metadata

Release files for maguniverse 0.1.4

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

Source distribution (sdist)

Source distribution for maguniverse 0.1.4
File Size Uploaded Provenance
maguniverse-0.1.4.tar.gz 22.6 kB With provenance Details

Built distribution (wheel)

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

Total release size: 51.4 kB

Release files / maguniverse-0.1.4.tar.gz

Download URL maguniverse-0.1.4.tar.gz
Size 22.6 kB
Tags Source
SHA-256 checksum
How to use checksums
08f2fb55e9a10df6611fabef106c86f0cfd8fe8e3624f6ed9a611dceec421fff
BLAKE2b-256 checksum
How to use checksums
9b6d5cdb6a30c7c669c5b039de09c46746eb290163ed884c137860a4dc172a5a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 4, 2025.

Transparency log

Release files / maguniverse-0.1.4-py3-none-any.whl

Download URL maguniverse-0.1.4-py3-none-any.whl
Size 28.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8ae4a188ee56eb5655a22bb9ee8e81c06b21bca7bc5b81ed0b2036fdd3d161b7
BLAKE2b-256 checksum
How to use checksums
6e108028cbf18d160cbe64afb175696b01bdf8ab2d481b51ee7a2a84bdffff99
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 4, 2025.

Transparency log

Security for maguniverse 0.1.4

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for maguniverse-0.1.4.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 4, 2025.

Transparency log

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