Skip to main content

A Python library to convert COBOL ebcdic file to CSV format

Project description

pycobol2csv

pycobol2csv is a Python library to convert COBOL ebcdic file to CSV format. The package is built to cater for advanced features in COBOL copybooks such as OCCURES x TIMES.

The CSV file is RDBMS friendly and all headers are ready to be used as database column names. CSV conversion is controlled by config file in csv_config.json

Install the python module:

pip install pycobol2csv

To use the module:

from pycobol2csv import convert_cobol_file

convert_cobol_file(copybook_file, data_file, output_file, config_file, codepage)

Repo: https://github.com/jasonli-lijie/pycobol2csv

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

pycobol2csv-0.1.2-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

Details for the file pycobol2csv-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: pycobol2csv-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 7.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.7

File hashes

Hashes for pycobol2csv-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 bb17dfc13c8e04cf9a4eed5cac2759c4e0c09e2115da51782d3a8b502e7d4a69
MD5 509d5c10ee2deeb694223f9c7312f69c
BLAKE2b-256 8f54400980fc1f2d6907e225212edab4733856686cc90097b59db0fa9c43ae4e

See more details on using hashes here.

Supported by

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