Skip to main content

Welcome to AstroParse!

About

Having trouble reading data tables into Python using conventional methods like Pandas or Astropy? AstroParse is the right package for you! It is a simple, customizable tool that allows you to parse text data from sources with non-standard formats. This package originally targeted astronomical data that often come in irregular text forms that are not easy to read by both humans and Python.

Getting Started

Install AstroParse to your Python environment:

pip install astroparse

To parse an individual file:

from astroparse import parse_file

To access the flexible Reader class:

from astroparse import Reader

The Reader allows users to parse multiple files at once. The method Reader.read_lists is best for parsing multiple files of similar formats and structure; the method Reader.read_dicts is best for parsing multiple files of different formats or structures. All methods use the same or similar interface to parse_file. See more documentation here: https://astroparse.readthedocs.io/en/latest/.

Next Steps

Check out the examples in /examples!

Metadata

Release files for astroparse 0.1.3

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

Source distribution (sdist)

Source distribution for astroparse 0.1.3
File Size Uploaded
astroparse-0.1.3.tar.gz 17.3 kB Details

Built distribution (wheel)

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

Total release size: 35.8 kB

Release files / astroparse-0.1.3.tar.gz

Download URL astroparse-0.1.3.tar.gz
Size 17.3 kB
Tags Source
SHA-256 checksum
How to use checksums
08115f5e529a7053a09b69af8b79077ed6a10db4e677f225a802c37fac176bdd
BLAKE2b-256 checksum
How to use checksums
0c1704255bdd5bf0e35b4b23ce519350a94a033cf9cbe0ca513f76e56ca5bed4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.1

Release files / astroparse-0.1.3-py3-none-any.whl

Download URL astroparse-0.1.3-py3-none-any.whl
Size 18.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4eca68231ea2dedaaa5013710c206ecffb5fa4c2559bba5141e196f3824f67b7
BLAKE2b-256 checksum
How to use checksums
f7e50ff48fbe55bc7cb1e9feaef072bd555c6f53bfbd19fdaa6c9ae5419309b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.1

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

0.1.2

2 release files

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