Skip to main content

An Python3 ATOC file parser

Project description

cifter

Python3 ATOC CIF file parser

Usage

from cifter import parse_file

document = parse_file('ttisf760.mca')

for schedule_record in document.schedule_records:
    print("Basic record\n")
    print(schedule_record.basic_record)
    print("Origin record\n")
    print(schedule_record.origin_record)
    print("Intermediate records\n")
    for intermediate_record in schedule_record.intermediate_records:
        print(intermediate_record)
    print("Termination record\n")
    print(schedule_record.termination_record)

Note that the parse_file() method is a blocking CPU bound operation

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cifter-0.0.1.tar.gz (4.2 kB view hashes)

Uploaded Source

Built Distribution

cifter-0.0.1-py3-none-any.whl (9.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page