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)
| File | Size | Uploaded | |
|---|---|---|---|
| astroparse-0.1.3.tar.gz | 17.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|