pyvert
Pyvert is a tool to convert a filesystem directory structure to and from YAML. Comes in useful for development when a directory of test files and folders is desired.
Modules
For converting a directory to a dict, use convert_dir:
>>> from pyvert import convert_dir
>>> foo = convert_dir.to_dict("/path/to/directory")
>>> type(foo)
<type 'dict'>
Scripts
From command line, generate a YAML file of a given directory:
$ dir2yaml /path/to/foobar
Dictionary written to foobar.yaml
Also works in reverse:
$ yaml2dir foobar.yaml
Directory created at /path/to/foobar
Installation
To install Pyvert, simply:
$ pip install pyvert
Metadata
Release files for pyvert 0.4
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 | |
|---|---|---|---|---|
| pyvert-0.4.tar.gz | 2.9 kB | Without provenance | Details |
Release files / pyvert-0.4.tar.gz
| Download URL | pyvert-0.4.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
aba0bfdfd8266b12b8ef75faf097abde2dc8691026b0a34d01a21f387fb50500
|
|
BLAKE2b-256 checksum How to use checksums |
eec20c9a0cb2e7c2c6a4e1d69993116ffe96ba83b5c786347679eb6569b6b2e3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for pyvert 0.4
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.