Skip to main content

Manipulate cobol files from python

Project description

cobutils is a library to access data on files formated with COBOL from python programs.

The package includes ones executable to extract data from a COBOL file and another to create a file with COBOL formatted data:

$ ./cobextract.py
Usage: cobextract.py [OPTIONS] [FILE]
Extract cobol sequential data from FILE or standard input

cobextract.py: error: Record definition [-r|--reg] is required


$ ./cobcreate.py --help
Usage: cobcreate.py [OPTIONS] [CSVFILE]
Create a cobol sequential data from CSV FILE or standard input

Options:
  -h, --help           show this help message and exit
  -r FILE, --reg=FILE  read register from FILE
  -o FILE, --out=FILE  output FILE
  -q, --quiet          don't print status messages to stdout

The project code and bugtracker is hosted on Bitbucket.

Install

Using pip:

pip install cobutils

Os download and use setup

python setup.py install

Project details


Release history Release notifications

This version
History Node

0.2.5

History Node

0.2.4

History Node

0.2.3

History Node

0.2.2

History Node

0.2.1

History Node

0.2

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
cobutils-0.2.5.tar.gz (7.2 kB) Copy SHA256 hash SHA256 Source None May 25, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page