Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

A Python Library for parsing ANSI ASC X12 files.

License

NotificationsYou must be signed in to change notification settings

albmarin/badX12

Repository files navigation

PyPiCoverageBuild StatusLicense

A Python Library for parsing ANSI ASC X12 files.

Installing

Install and update using pip:

pip install -U badX12

A Simple Example

badX12 can be imported and used within your own project like so.

frombadx12importParserparser=Parser()document=parser.parse_document("path-to-file/file.edi")

badX12 can also be used to parse an edi file into JSON or XML via the command line.

badx12 parse"path-to-edi-file"badx12 parse"path-to-edi-file" -e XML -o"path-to-output-dir"

By default the parse command will output a JSON file to the current user's Documents\badX12 directory.The -e flag can be used to specify the export format, and the -o flag can be used to specify the output directory.

Features

  • Parse x12 file format into a python object
  • Parse x12 file format into JSON and XML

Links

About

A Python Library for parsing ANSI ASC X12 files.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp