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.1.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.1-py3-none-any.whl (11.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: genat_iso_parser-1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 823da80fb2cea62f9b0b697acbe643f1097488b63171f3c2c0e99586fd7c809f
MD5 778de3cc0e3292cbaa91ce65a1923c77
BLAKE2b-256 335da4d6f015fad65fc5c0eecd1f61675cf6751ae009ee5079107e5d9c3c2e47

See more details on using hashes here.

File details

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

File metadata

  • Download URL: genat_iso_parser-1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b8f05ad7ef4d1cc736b64d65212b3b00b689d5b1538e2c28d718329285b32ee4
MD5 1c9b36b7676d9eac2e6495d2d946c030
BLAKE2b-256 9ad84cdfe248a9349fe2dc56e203be3ca6037a161c6f11dcb2308a15a170a61a

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