Metadata-Version: 2.1
Name: xdrparser
Version: 1.1.1
Summary: Xdr parser for stellar history files
Home-page: https://github.com/kinecosystem/xdrparser
Author: Ron Serruya
Author-email: ron.serruya@kik.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.4
Description-Content-Type: text/markdown
Requires-Dist: Click (==6.7)
Requires-Dist: stellar-base (==0.1.8.1)

# 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.

```


