Flexible parsing utility for irregular text data tables.
Project description
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!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file astroparse-0.1.3.tar.gz.
File metadata
- Download URL: astroparse-0.1.3.tar.gz
- Upload date:
- Size: 17.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
08115f5e529a7053a09b69af8b79077ed6a10db4e677f225a802c37fac176bdd
|
|
| MD5 |
4fb8e59ad0cc7b4323971ce008bb9240
|
|
| BLAKE2b-256 |
0c1704255bdd5bf0e35b4b23ce519350a94a033cf9cbe0ca513f76e56ca5bed4
|
File details
Details for the file astroparse-0.1.3-py3-none-any.whl.
File metadata
- Download URL: astroparse-0.1.3-py3-none-any.whl
- Upload date:
- Size: 18.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4eca68231ea2dedaaa5013710c206ecffb5fa4c2559bba5141e196f3824f67b7
|
|
| MD5 |
d307a73df7d8d07bcf00017cc6a2a786
|
|
| BLAKE2b-256 |
f7e50ff48fbe55bc7cb1e9feaef072bd555c6f53bfbd19fdaa6c9ae5419309b9
|