Skip to main content

Xdr parser for Kin's history files

Project description

xdrparser

Command line tool to parse the .xdr files written to the history archive of a stellar-core and print their data as json.

Compatibility

  • Python >= 3.4
  • Tested on Linux, Mac OS, and Windows.

Installation

From PyPI:

pip install xdrparser

From the repository:

pip install git+git://github.com/kinecosystem/xdrparser#egg=xdrparser  

Usage

$ xdrparser --help

Usage: xdrparser [OPTIONS] XDR_FILE

  Command line tool to parse Stellar's xdr history files.

Options:
  --with-hash        Calculate tx hashes, only for a 'transactions' xdr file,
                     must be used with --network-id
  --network-id TEXT  Network-id/network paraphrase, needed for --with-hash
  --indent INTEGER   Number of spaces to indent the json output with
  --help             Show this message and exit.

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

xdrparser-1.3.1.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

xdrparser-1.3.1-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file xdrparser-1.3.1.tar.gz.

File metadata

  • Download URL: xdrparser-1.3.1.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0

File hashes

Hashes for xdrparser-1.3.1.tar.gz
Algorithm Hash digest
SHA256 874a82d04c70f3560f00a181c5b9c7ed8fc61dfd3502cdcc1d2ec8d95338dc94
MD5 1db462cb2b7d32ece881e21c14306dfc
BLAKE2b-256 5615ee866f5e55ff4627139146c89255d5da350ba05beb273c40ef618c932a72

See more details on using hashes here.

File details

Details for the file xdrparser-1.3.1-py3-none-any.whl.

File metadata

  • Download URL: xdrparser-1.3.1-py3-none-any.whl
  • Upload date:
  • Size: 7.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0

File hashes

Hashes for xdrparser-1.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5f1ab6a78b1fa2c02f917e1268acfbed13eeb791aa1d86605e50697cb1d0f13f
MD5 566a85b19ca1424ddb6ff044eade12f3
BLAKE2b-256 abbcbb1d61d7734b239859301c4cf807ccb35e6e8a31612db25dd4efee24e2f6

See more details on using hashes here.

Supported by

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