Skip to main content

An iso message bulk parser

Project description

Genat Iso Parser

An iso message bulk editor and parsor.

Usage Example: ''' +---------------------------+ | ISO STREAMING | +---------------------------+ * instantiate an instance of IsoStream iso = IsoStream()

* change any field value of your choice
iso.change_field(2, '9999999999999999')

* remove any number of fields of your choice
iso.remove_fields(3, 4)

* append a field alomg with value
iso.append_field(99, 'idugfhdisuo')

* allow length of fields(if there is any) tobe printed to the output
iso.turn_on_length()

* turn off fields length to be printed
iso.turn_off_length()

* capture iso messages that come through stdin (default is 'json' the other one is 'iso') and output to stdout
iso.stream()

* stop streaming
iso.stop_stream()

+--------------------------+
|         ISO FILE         |
+--------------------------+
* instantiate an instance of IsoFile, default version is 93
iso = IsoFile("path_to_file")

* change any field value of your choice
iso.change_field(2, '9999999999999999')

* remove any number of fields of your choice
iso.remove_fields(3, 4)

* append a field alomg with value
iso.append_field(99, '11idugfhdisuo')

* allow length of fields(if there is any) tobe printed to the output
iso.turn_on_length()

* turn off fields length to be printed
iso.turn_off_length()

* produce csv file from the iso
csv_file = iso.to_csv()

* produce iso file from the iso (might be useful for inspection of the iso)
iso_file = iso.to_iso()

* produce json file from the iso
json_file = iso.to_json()
'''

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

genat_iso_parser-1.0.tar.gz (10.2 kB view details)

Uploaded Source

Built Distribution

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

genat_iso_parser-1.0-py3-none-any.whl (11.6 kB view details)

Uploaded Python 3

File details

Details for the file genat_iso_parser-1.0.tar.gz.

File metadata

  • Download URL: genat_iso_parser-1.0.tar.gz
  • Upload date:
  • Size: 10.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.1

File hashes

Hashes for genat_iso_parser-1.0.tar.gz
Algorithm Hash digest
SHA256 7ab7f041c040232e143502cc14cf9c9ca3f5bbd4a121de5c3de5bd8a7ecb4e24
MD5 3b615705e10416d579f8b4dc0d041f9d
BLAKE2b-256 a40236458bc9406512e41ab9c146bcbf655715c77fd740242acce0d94f7ba437

See more details on using hashes here.

File details

Details for the file genat_iso_parser-1.0-py3-none-any.whl.

File metadata

  • Download URL: genat_iso_parser-1.0-py3-none-any.whl
  • Upload date:
  • Size: 11.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.1

File hashes

Hashes for genat_iso_parser-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a803ac384960560b305de56258828c9682e85ab24568f151543e1ba620567403
MD5 93373af722040b79c26d6e3ca5df0368
BLAKE2b-256 b219930e6bd46582b024bd058e5b8415b50fb4631187bbc8d9939af40664028e

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