Skip to content

zejn/pcaxis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PC Axis (.px) parser for Python

Requirements

pyparsing>=1.5.2

Simple example

A simple example:

import pcaxis
data = pcaxis.parsePX(open('test.px').read(), encoding='utf-8')
print data['TITLE']

The parsePX function returns a dictionary of containing keys such as TITLE or DESCRIPTION and coresponding values. Under DATA you'll find the table data.

The API is practically nonexistant (I imagine values could be accessed by indexing) and not all features are supported or implemented, only a subset, which was needed for my use case.

About

PCAxis .px file format parser

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages