moban-velocity
With airspeed for Python 3, this library allows moban users to have velocity template in their next documentation endeavour.
Given the following data.json:
{"people":
[
{"name": "Bill", "age": 100},
{"name": "Bob", "age": 90},
{"name": "Mark", "age": 25}
]
}
And given the following velocity.template:
Old people:
#foreach ($person in $people)
#if($person.age > 70)
$person.name
#end
#end
Third person is $people[2].name
moban can do the template:
$ moban --template-type velocity -c data.json -t velocity.template
Velocity-templating vo.t to moban.output
Velocity-templated 1 file.
$ cat moban.output
Old people:
Bill
Bob
Third person is Mark
Installation
You can install moban-velocity via pip:
$ pip install moban-velocity
or clone it and install it:
$ git clone https://github.com/moremoban/moban-velocity.git
$ cd moban-velocity
$ python setup.py install
Contributors
In alphabetical order:
Change log
0.0.2 - 03.06.2020
Added
Support moban v0.6.0+
0.0.1 - 02.02.2018
First release
Render .velocity, .vtl files for moban
Metadata
Release files for moban-velocity 0.0.2
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 |
|---|---|---|---|---|
| moban-velocity-0.0.2.tar.gz | 7.6 kB | Without provenance | Details for moban-velocity-0.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| moban_velocity-0.0.2-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for moban_velocity-0.0.2-py2.py3-none-any.whl |
Total release size: 11.9 kB
Release files / moban-velocity-0.0.2.tar.gz
| Download URL | moban-velocity-0.0.2.tar.gz |
|---|---|
| Size | 7.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
19f7964d97da7e84acdb87d2019bb05c35ba9fca4de9d7ad7f9511819b758ce8
|
|
BLAKE2b-256 checksum How to use checksums |
f11d150498c89344683009b6ac7b04f3ccc3671dd5ef4f30c71bb92199a33f8b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3
|
Release files / moban_velocity-0.0.2-py2.py3-none-any.whl
| Download URL | moban_velocity-0.0.2-py2.py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
357da38a09d4acbcb41257f02243bf80e2cf21eddc4ee2ca13aab8b59a12bc1a
|
|
BLAKE2b-256 checksum How to use checksums |
8a79509b946a7fc32bcb526c5af996b3a923eb01fc7a19434ab734f430551eda
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3
|
Security for moban-velocity 0.0.2
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.