logxstract
Library for extracting xml from logs. Finds xml matching criteria and saves results to file.
Install
$ pip install logxstract
Usage as library
from logxstract import extract_xml_from_file
extract_xml_from_file(
path='/item',
body='/item',
input_file='sample.log',
output_file='result.txt'
)
#extracted xml is now in result.txt file
Usage in shell
$ logxtract -p /item -b /item -f sample.log -o result.txt
History
0.0.1 (2017-11-04)
First release on PyPI.
Metadata
Release files for logxstract 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| logxstract-0.0.1.tar.gz | 3.1 kB | Without provenance | Details for logxstract-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| logxstract-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for logxstract-0.0.1-py3-none-any.whl |
Total release size: 8.3 kB
Release files / logxstract-0.0.1.tar.gz
| Download URL | logxstract-0.0.1.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b2e611e0c393f8224365d02648d1355fb9fdcb00a770f7ae0142acf46e548b4d
|
|
BLAKE2b-256 checksum How to use checksums |
378f63aca5e6a026c6a890f442bcbe57707e6888d9a9b5d67f4bb23178423633
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / logxstract-0.0.1-py3-none-any.whl
| Download URL | logxstract-0.0.1-py3-none-any.whl |
|---|---|
| Size | 5.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
650787906eaff99f20d6d0405190d7945d857a92831b731bc03fdc3b25d691e4
|
|
BLAKE2b-256 checksum How to use checksums |
11b718c710b0248d1a3f395814fd038bf2049d23fef85007e3bb96f689344df8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for logxstract 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.