tarjinja: template + archive/rsync
Install
- python -m venv .
- ./bin/pip install tarjinja
Install head
- git clone https://github.com/wtnb75/tarjinja
- cd tarjinja
- python -m venv .
- ./bin/pip install -U .
Use
# ./bin/tarjinja
Usage: tarjinja [OPTIONS] COMMAND [ARGS]...
Options:
--help Show this message and exit.
Commands:
copy
rsync
tarc
tarx
# ./bin/tarjinja copy --help
Usage: tarjinja copy [OPTIONS]
Options:
--input PATH [required]
--output PATH [required]
--out-type [Tar|Zip|Dir|List] [required]
--in-type [Tar|Zip|Dir|Single] [required]
--filter-type [Jinja|Multi|ReverseJinja|ReverseTemplate|ReverseFormat|ReversePercent|ReverseFstring|Template|Format|Percent|Fstring|Mako]
--value FILENAME
--verbose / --no-verbose
--thru TEXT
--help Show this message and exit.
- examples
- tarjinja copy --in-type Dir --input examples/ex1 --out-type Dir --output /tmp/ex1 --filter-type Jinja --value examples/ex1.yaml
- ls -l /tmp/ex1
- tarjinja copy --in-type Dir --input examples/ex2 --out-type Tar --output /tmp/ex2.tar.gz --filter-type Jinja --value examples/ex2.yaml
- tar tvfz /tmp/ex2.tar.gz
- tarjinja tarc --value examples/pythoncli.yaml /tmp/example1.zip examples/pythoncli
- unzip -l /tmp/example1.zip
TODO
- symbolic link support
- add more example template
Links
Metadata
Release files for tarjinja 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tarjinja-0.0.6-py3-none-any.whl | Python 3 | none | any | Details for tarjinja-0.0.6-py3-none-any.whl |
Release files / tarjinja-0.0.6-py3-none-any.whl
| Download URL | tarjinja-0.0.6-py3-none-any.whl |
|---|---|
| Size | 14.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fb77228317d8e0a503eb5001d5fbc7ef4c678dd16430cb10c022d72a7f62c9e2
|
|
BLAKE2b-256 checksum How to use checksums |
44fb59d3008f87871a45584d3edd5648f821a6862416ef9b8ad3a9c3c1f19ef2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.8.1
|
Security for tarjinja 0.0.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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.