Skip to main content

Ninja Injection Tool. Template rendering and variable injection made easy.

Project description

Template rendering and variable injection made easy.

Build Status PyPI License


pip3 install ninjecto


0.4.0 (2020-10-06)


  • Fix core on Python 3.8.

0.3.0 (2020-06-10)


  • Allows to define the behavior when encountering undefined values in the template.

  • Allows conditional creation of files, so depending of a value a file can be created or not.

  • Rendering is now faster when rendering empty files.

  • Ninjecto’s CLI now supports passing --parents to create any parent directory of the output directory.

  • New filters: comment, quote and read.

  • New filters from awesome Inflection package.

    Inflection is now a third party dependency, which includes the new filters: camelize, dasherize, humanize, ordinal, ordinalize, parameterize, pluralize, singularize, tableize, titleize, transliterate and underscore.

    Also, the Cerberus dependency was dropped as it is unused (for now).


  • Values and namespaces are now available globally, in particular inside macros in libraries.

0.2.1 (2020-02-04)


  • Default output mode will now be set before checking the input and output paths, offering a better error message.

0.2.0 (2020-02-03)


  • Rendered files will now have the same permissions as the source files.

0.1.1 (2020-02-03)


  • Fixes TypeError caused by invalid value of the levels parameter.

0.1.0 (2020-02-01)


  • Development preview.


Copyright (C) 2017-2020 KuraLabs S.R.L

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
KIND, either express or implied.  See the License for the
specific language governing permissions and limitations
under the License.

Project details

Download files

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

Files for ninjecto, version 0.4.0
Filename, size File type Python version Upload date Hashes
Filename, size ninjecto-0.4.0-py3-none-any.whl (38.6 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size ninjecto-0.4.0.tar.gz (27.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page