Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

savitrigen-0.0.96.tar.gz (15.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

savitrigen-0.0.96-py3-none-any.whl (23.5 kB view details)

Uploaded Python 3

File details

Details for the file savitrigen-0.0.96.tar.gz.

File metadata

  • Download URL: savitrigen-0.0.96.tar.gz
  • Upload date:
  • Size: 15.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for savitrigen-0.0.96.tar.gz
Algorithm Hash digest
SHA256 1f562d7d3cd6ad8eb60bf7b59a76b3a2f983a554975479b2d5fcb1ac6d352a3c
MD5 7757f5babb6dc01be3fc85c98eb8d4b5
BLAKE2b-256 0bbaebe551bd9acfbda38168bc9e271c870e7a69b8cee9c73a75926285ad992a

See more details on using hashes here.

File details

Details for the file savitrigen-0.0.96-py3-none-any.whl.

File metadata

  • Download URL: savitrigen-0.0.96-py3-none-any.whl
  • Upload date:
  • Size: 23.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for savitrigen-0.0.96-py3-none-any.whl
Algorithm Hash digest
SHA256 91d096e3d1b77d9b01a22a1bc11ef361252cf9528460d1a2defad1248b7f2803
MD5 2212f7086cf1a093014e8f23c748e4c8
BLAKE2b-256 e32e19d8b721b25f66f3cd1fe072ea8000e249f4093a4c8ea8098fd840ca2ed7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page