Creates a tree of directories, specified using nested lists in YAML
Reason this release was yanked:
deprecated
Project description
yaml2tree
Creates a tree of directories, specified using nested lists in YAML
Usage:
[mode=XXX] yaml2tree <yaml-file>
mode=XXX set this env var to provide a chmod-style octal value to use as file mode
for the created directories.
<yaml-file> path to YAML file containing the directory tree specification.
The YAML is a list of values, where every value is either a directory name
or a list of the same form. The YAML is processed top-down and whenever a
nested list is encountered, any directories in it are created inside the
directory last seen on the outer list.
For example, the following definition -
- foo
- - bar
- baz
- tam
- foo1
- - bar2
- - baz3
- soap
creates the following directory tree in the current working directory -
foo/
bar/
baz/
tam/
foo1/
bar2/
baz3/
soap/
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
yaml2tree-0.3.tar.gz
(2.6 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 yaml2tree-0.3.tar.gz.
File metadata
- Download URL: yaml2tree-0.3.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ed389d99ceda787094d2d425914963623350dc396852d6162d54981da58f9fbe
|
|
| MD5 |
c7969f26487325588237de4cdf65225a
|
|
| BLAKE2b-256 |
6e548314c35fd3d21fcf70335239bc12ea515380aa0f1e2fca13b2768cd20878
|
File details
Details for the file yaml2tree-0.3-py3-none-any.whl.
File metadata
- Download URL: yaml2tree-0.3-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4bb58146c0c1cb5e00dcc3d1085e42733a310402ed14537e772d0595a0b47f56
|
|
| MD5 |
d13efef17079cf6567e60befb50aaad0
|
|
| BLAKE2b-256 |
5e61ae62fcd4346173d0d4f5a2d2bfd179082c894aaa150b72a791884c7ee257
|