Xdr parser for stellar 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.
```
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.2.0.tar.gz
(5.1 kB
view hashes)
Built Distributions
Close
Hashes for xdrparser-1.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 21db696c9157fd0029e4c755432b9c8a30071153ea7224d5897af2e16366db3d |
|
MD5 | dd1416c001b3aca2b41a33bb81347449 |
|
BLAKE2b-256 | 338392918d3e3c8553f94f30cd0edc488c92fd0454bf1458a6c11b2709e0fa6d |
Close
Hashes for xdrparser-1.2.0-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ef42261d1810457df10f460e7631e94e99e773d19ff6cc6c4f72639b46b93f4 |
|
MD5 | 01666ef87c33b20bde16a88521cc523c |
|
BLAKE2b-256 | 0146cf379c9ffb6adbd4824b39e799fad96d143e3546f1ca6c66dd5eafa7505f |