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.
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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
874a82d04c70f3560f00a181c5b9c7ed8fc61dfd3502cdcc1d2ec8d95338dc94
|
|
| MD5 |
1db462cb2b7d32ece881e21c14306dfc
|
|
| BLAKE2b-256 |
5615ee866f5e55ff4627139146c89255d5da350ba05beb273c40ef618c932a72
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5f1ab6a78b1fa2c02f917e1268acfbed13eeb791aa1d86605e50697cb1d0f13f
|
|
| MD5 |
566a85b19ca1424ddb6ff044eade12f3
|
|
| BLAKE2b-256 |
abbcbb1d61d7734b239859301c4cf807ccb35e6e8a31612db25dd4efee24e2f6
|