Savitri code generator
Project description
savitrigen
Savitri Project’s official code generation tool.
Usage
Once installed, savitrigen will become available as a Python executable module. You can call it by running python -m savitrigen [options].
To get started, list available presets with python -m savitrigen -l, then choose one with python -m savitrigen -p [preset]. This will create a savitrigen.yml file in your current working directory. To parse it run savitrigen without any options, like python -m savitrigen. That’s pretty much the CLI usage.
Behavior
Savitrigen will look for source/.gitignore to check if the bootstrap repository has already been cloned. If it hasn’t already, savitrigen will then clone it inside source folder. In the next step it will check if npm modules has already been installed then install it if it hasn’t. Thus savitrigen will skip the cloning/installation steps in consecutive runs.
A diff-patch algorithm is used to update the code without touching external changes. It’s nonetheless advisable to commit changes before rerunning the code generation.
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
Built Distribution
Hashes for savitrigen-0.0.94-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74e4536251577e4ef6c3e67a085782fd64cb407f9381dfc47ad00d5a1f9af908 |
|
MD5 | 66d9fdfd73e95ae67ff23f3d9c0b9b9d |
|
BLAKE2b-256 | 944cf09711bb0f3843dbb29acabddb77494360a4fd2dae44189a5e16a7e12202 |