Skip to main content

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

Download files

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

Source Distribution

cobutils-0.2.8.tar.gz (8.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cobutils-0.2.8-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

Details for the file cobutils-0.2.8.tar.gz.

File metadata

  • Download URL: cobutils-0.2.8.tar.gz
  • Upload date:
  • Size: 8.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.11.2

File hashes

Hashes for cobutils-0.2.8.tar.gz
Algorithm Hash digest
SHA256 755ba0f85cc3306d07c5022ae7e48acecef7f958d28d5434f740e7638a8ae014
MD5 d59678118c85a8cb842eae4d7b393e90
BLAKE2b-256 6b82d9c94d289543c141e3df4985edd17b88c0538e8a31c08f5b36e6e470ad0a

See more details on using hashes here.

File details

Details for the file cobutils-0.2.8-py3-none-any.whl.

File metadata

  • Download URL: cobutils-0.2.8-py3-none-any.whl
  • Upload date:
  • Size: 9.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.11.2

File hashes

Hashes for cobutils-0.2.8-py3-none-any.whl
Algorithm Hash digest
SHA256 33e9c0d6c34b596f615bd71ec877b0adc9da1a27f5f859ed135154de75d9cbeb
MD5 b29830a0877855774e47e622f4544fa8
BLAKE2b-256 0e20b0bd30d220e806ef3b3b699c21bd9fcfd3307d8e79ba785c2df68b935974

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.2.8 This release

2 files

0.2.7

1 file

0.2.6

1 file

0.2.5

1 file

0.2.4

1 file

0.2.3

1 file

0.2.2

1 file

0.2.1

1 file

0.2

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page