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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file cifter-0.0.1.tar.gz.

File metadata

  • Download URL: cifter-0.0.1.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5

File hashes

Hashes for cifter-0.0.1.tar.gz
Algorithm Hash digest
SHA256 5026a0b44b81551ccffa38c3a5b16db134b41e507a7747d0894f8d07a6b98685
MD5 cf49b917de5ef718313ce09842871ef2
BLAKE2b-256 2c61445ec7cc5730b5fb4e625dbe71a08fff34338be638d9eb78fe0d388a4e2c

See more details on using hashes here.

File details

Details for the file cifter-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: cifter-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 9.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5

File hashes

Hashes for cifter-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1aeee35a3568d5a4b8c5ab3ecd9624ca11a5a69ea19b70da3bf870454ddf071c
MD5 2f7035bf0ee02669b659b93551daa4d9
BLAKE2b-256 8125e967bc8bbc6b8b60c6a70010b6088ef5c9640baca7d4ed0ae1dda3e7b6e5

See more details on using hashes here.

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