lxml_to_dict
conversor lxml a dict
Descripción
- Esta es una actualizacion al paquete oficial de
Criva[https://github.com/CRiva/lxml_to_dict] para uso con python 3.9
Instalación
pip install lxml-to-dict-total
Uso básico
from lxml_to_dict import lxml_to_dict
lxml_to_dict(<the lxml.objectfy.Element>)
root = objectify.Element("root") # <root></root>
b = objectify.SubElement(root, "b") # <root><b></b></root>
b = objectify.SubElement(root, "b") # <root><b></b><b></b></root>
a = objectify.SubElement(root, "a") # <root><b></b><b></b><a></a></root>
lxml_to_dict(root) # {'root': {'b': None, 'b1': None, 'a': None}}
Metadata
Release files for lxml-to-dict-total 1.0.0
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 |
|---|---|---|---|---|
| lxml_to_dict_total-1.0.0.tar.gz | 7.6 kB | Without provenance | Details for lxml_to_dict_total-1.0.0.tar.gz |
Release files / lxml_to_dict_total-1.0.0.tar.gz
| Download URL | lxml_to_dict_total-1.0.0.tar.gz |
|---|---|
| Size | 7.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
976910bfc5d788034e574a5839c166ea52f6f6c9872ff71aaff55039c3ac8625
|
|
BLAKE2b-256 checksum How to use checksums |
88b608168f61e7e74a20189bcb9f543fcc4ac6a85e469d680afe93e4af6dbab4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.6
|
Security for lxml-to-dict-total 1.0.0
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.