YamlNode Implementation
This drb-driver-yaml module implements yaml format access with DRB data
model. It is able to navigate among the yaml contents.
Yaml Factory and Yaml Node
The module implements the basic factory model defined in DRB in its node resolver. Based on the python entry point mechanism, this module can be dynamically imported into applications.
The entry point group reference is drb.driver.
The implementation name is yaml.
The factory class is encoded into drb.drivers.yaml:YamlNodeFactory.
The yaml factory creates a YamlNode from an existing yaml content. It uses a base node to access the content data using the streamed base node implementation.
The base node can be a FileNode (See drb-driver-file), HttpNode, ZipNode or
any other node able to provide streamed (BufferedIOBase, RawIOBase, IO)
yaml content.
limitations
The current version does not manage child modification and insertion. yamlNode is currently read only.
Using this module
To include this module into your project, the drb-driver-yaml module shall be
referenced into requirement.txt file, or the following pip line can be run:
pip install drb-driver-yaml
Node Creation:
The implementation can create a yamlNode by giving the path to a yaml file:
from drb.drivers.yaml import YamlNode
node = YamlNode(PATH_yaml)
If the baseNode is an HttpNode, FileNode... the implementation can retrieve the data of your yaml with this:
from drb.drivers.yaml import YamlNodeFactory
FACTORY = YamlNodeFactory()
FILE_NODE = DrbFileNode(PATH_TO_YOUR_YAML)
NODE = FACTORY.create(FILE_NODE)
Documentation
The documentation of this implementation can be found here https://drb-python.gitlab.io/impl/yaml
Metadata
Release files for drb-driver-yaml 1.3.6
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 | |
|---|---|---|---|---|
| drb_driver_yaml-1.3.6.tar.gz | 29.4 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| drb_driver_yaml-1.3.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 38.3 kB
Release files / drb_driver_yaml-1.3.6.tar.gz
| Download URL | drb_driver_yaml-1.3.6.tar.gz |
|---|---|
| Size | 29.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c543198365be464cfe84e3e745dcd25f71564e864cfbc0bc68c622517f41eca5
|
|
BLAKE2b-256 checksum How to use checksums |
d253247a5c1f3b1ccb1120a094932d494fce7b9b9f0ad8b3b5a9ba60882904e7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|
Release files / drb_driver_yaml-1.3.6-py3-none-any.whl
| Download URL | drb_driver_yaml-1.3.6-py3-none-any.whl |
|---|---|
| Size | 8.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a0dd88cc31354957e6a0c9998b2261e4a051a16787313656e1a2120fa9fd2a77
|
|
BLAKE2b-256 checksum How to use checksums |
b11be61ff60a159b5a845cd36a7cdc9793e302b76979144e89f64191ec160e7b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|
Security for drb-driver-yaml 1.3.6
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.