ninjecto


Nameninjecto JSON
Version 0.8.0 PyPI version JSON
download
home_pagehttps://docs.kuralabs.io/ninjecto/
SummaryNinja Injection Tool. Template rendering and variable injection made easy.
upload_time2023-06-06 21:50:09
maintainer
docs_urlNone
authorKuraLabs S.R.L
requires_python
license
keywords ninjecto
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ===============================
Ninjecto - Ninja Injection Tool
===============================

Template rendering and variable injection made easy.

.. image:: https://circleci.com/gh/kuralabs/ninjecto.svg?style=shield
   :target: https://circleci.com/gh/kuralabs/ninjecto
   :alt: Build Status

.. image:: https://img.shields.io/pypi/v/ninjecto
   :target: https://pypi.org/project/ninjecto/
   :alt: PyPI

.. image:: https://img.shields.io/github/license/kuralabs/ninjecto
   :target: https://choosealicense.com/licenses/apache-2.0/
   :alt: License


Documentation
=============

    https://docs.kuralabs.io/ninjecto/


Install
=======

.. code-block:: sh

    pip3 install ninjecto


Changelog
=========

0.8.0 (2023-06-06)
------------------

New
~~~

- Adds --values-in=[toml,yaml,json] to parse the standard input and allow to
  pass values as a pipe.


0.7.0 (2022-03-24)
------------------

Changes
~~~~~~~

- New version compatible with Jinja2 3.1.0.


0.6.1 (2022-03-24)
------------------

Changes
~~~~~~~

- New version pinning Jinja2 to an older version to avoid breakage caused by
  API changes. Use this version if you need to use Jinja2 < 3.1.0.


0.6.0 (2021-11-22)
------------------

New
~~~

- New namespace "vault" that allows to fetch secrets from a HashiCorp's Vault
  instance.


0.5.0 (2021-07-21)
------------------

Fix
~~~

- Fixes namespaces. "env" and "git" namespaces are now available.


0.4.0 (2020-10-06)
------------------

Fix
~~~

- Fix core on Python 3.8.


0.3.0 (2020-06-10)
------------------

New
~~~

- 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).

.. _Inflection: https://inflection.readthedocs.io/en/latest/


Fix
~~~

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


0.2.1 (2020-02-04)
------------------

Fix
~~~

- 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)
------------------

Fix
~~~

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


0.1.1 (2020-02-03)
------------------

Fix
~~~

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


0.1.0 (2020-02-01)
------------------

New
~~~

- Development preview.


License
=======

::

   Copyright (C) 2017-2021 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

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing,
   software distributed under the License is distributed on an
   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
   KIND, either express or implied.  See the License for the
   specific language governing permissions and limitations
   under the License.

            

Raw data

            {
    "_id": null,
    "home_page": "https://docs.kuralabs.io/ninjecto/",
    "name": "ninjecto",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "ninjecto",
    "author": "KuraLabs S.R.L",
    "author_email": "info@kuralabs.io",
    "download_url": "https://files.pythonhosted.org/packages/db/7f/e4c8dd0f54fbb0edd21ac867bcf6a52d5a56b75f4a3d1f7184dca88875cd/ninjecto-0.8.0.tar.gz",
    "platform": null,
    "description": "===============================\nNinjecto - Ninja Injection Tool\n===============================\n\nTemplate rendering and variable injection made easy.\n\n.. image:: https://circleci.com/gh/kuralabs/ninjecto.svg?style=shield\n   :target: https://circleci.com/gh/kuralabs/ninjecto\n   :alt: Build Status\n\n.. image:: https://img.shields.io/pypi/v/ninjecto\n   :target: https://pypi.org/project/ninjecto/\n   :alt: PyPI\n\n.. image:: https://img.shields.io/github/license/kuralabs/ninjecto\n   :target: https://choosealicense.com/licenses/apache-2.0/\n   :alt: License\n\n\nDocumentation\n=============\n\n    https://docs.kuralabs.io/ninjecto/\n\n\nInstall\n=======\n\n.. code-block:: sh\n\n    pip3 install ninjecto\n\n\nChangelog\n=========\n\n0.8.0 (2023-06-06)\n------------------\n\nNew\n~~~\n\n- Adds --values-in=[toml,yaml,json] to parse the standard input and allow to\n  pass values as a pipe.\n\n\n0.7.0 (2022-03-24)\n------------------\n\nChanges\n~~~~~~~\n\n- New version compatible with Jinja2 3.1.0.\n\n\n0.6.1 (2022-03-24)\n------------------\n\nChanges\n~~~~~~~\n\n- New version pinning Jinja2 to an older version to avoid breakage caused by\n  API changes. Use this version if you need to use Jinja2 < 3.1.0.\n\n\n0.6.0 (2021-11-22)\n------------------\n\nNew\n~~~\n\n- New namespace \"vault\" that allows to fetch secrets from a HashiCorp's Vault\n  instance.\n\n\n0.5.0 (2021-07-21)\n------------------\n\nFix\n~~~\n\n- Fixes namespaces. \"env\" and \"git\" namespaces are now available.\n\n\n0.4.0 (2020-10-06)\n------------------\n\nFix\n~~~\n\n- Fix core on Python 3.8.\n\n\n0.3.0 (2020-06-10)\n------------------\n\nNew\n~~~\n\n- Allows to define the behavior when encountering undefined values in the\n  template.\n- Allows conditional creation of files, so depending of a value a file can be\n  created or not.\n- Rendering is now faster when rendering empty files.\n- Ninjecto's CLI now supports passing ``--parents`` to create any parent\n  directory of the output directory.\n- New filters: ``comment``, ``quote`` and ``read``.\n- New filters from awesome Inflection_ package.\n\n  Inflection is now a third party dependency, which includes the new filters:\n  ``camelize``, ``dasherize``, ``humanize``, ``ordinal``, ``ordinalize``,\n  ``parameterize``, ``pluralize``, ``singularize``, ``tableize``, ``titleize``,\n  ``transliterate`` and ``underscore``.\n\n  Also, the Cerberus dependency was dropped as it is unused (for now).\n\n.. _Inflection: https://inflection.readthedocs.io/en/latest/\n\n\nFix\n~~~\n\n  - Values and namespaces are now available globally, in particular inside macros in libraries.\n\n\n0.2.1 (2020-02-04)\n------------------\n\nFix\n~~~\n\n- Default output mode will now be set before checking the input and output\n  paths, offering a better error message.\n\n\n0.2.0 (2020-02-03)\n------------------\n\nFix\n~~~\n\n- Rendered files will now have the same permissions as the source files.\n\n\n0.1.1 (2020-02-03)\n------------------\n\nFix\n~~~\n\n- Fixes TypeError caused by invalid value of the levels parameter.\n\n\n0.1.0 (2020-02-01)\n------------------\n\nNew\n~~~\n\n- Development preview.\n\n\nLicense\n=======\n\n::\n\n   Copyright (C) 2017-2021 KuraLabs S.R.L\n\n   Licensed under the Apache License, Version 2.0 (the \"License\");\n   you may not use this file except in compliance with the License.\n   You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n   Unless required by applicable law or agreed to in writing,\n   software distributed under the License is distributed on an\n   \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n   KIND, either express or implied.  See the License for the\n   specific language governing permissions and limitations\n   under the License.\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Ninja Injection Tool. Template rendering and variable injection made easy.",
    "version": "0.8.0",
    "project_urls": {
        "Homepage": "https://docs.kuralabs.io/ninjecto/"
    },
    "split_keywords": [
        "ninjecto"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f343b59a59bc00ce9258c45359ab7493c1ce9af780182adda725391ddce1a2ea",
                "md5": "cf5d0ff6ade865338cc0991f2cd60525",
                "sha256": "b719889baf9e68982c0e2321ee8a0fb0a6004f3c1312b3f23167aaeeea355d1c"
            },
            "downloads": -1,
            "filename": "ninjecto-0.8.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "cf5d0ff6ade865338cc0991f2cd60525",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 43014,
            "upload_time": "2023-06-06T21:50:07",
            "upload_time_iso_8601": "2023-06-06T21:50:07.985293Z",
            "url": "https://files.pythonhosted.org/packages/f3/43/b59a59bc00ce9258c45359ab7493c1ce9af780182adda725391ddce1a2ea/ninjecto-0.8.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "db7fe4c8dd0f54fbb0edd21ac867bcf6a52d5a56b75f4a3d1f7184dca88875cd",
                "md5": "9c733b7849e4e677ead266a67019d45c",
                "sha256": "40e440b4e2e8b2d104176b1b052113fcefa999a22ab574981169ed29a1eeb637"
            },
            "downloads": -1,
            "filename": "ninjecto-0.8.0.tar.gz",
            "has_sig": false,
            "md5_digest": "9c733b7849e4e677ead266a67019d45c",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 30578,
            "upload_time": "2023-06-06T21:50:09",
            "upload_time_iso_8601": "2023-06-06T21:50:09.493486Z",
            "url": "https://files.pythonhosted.org/packages/db/7f/e4c8dd0f54fbb0edd21ac867bcf6a52d5a56b75f4a3d1f7184dca88875cd/ninjecto-0.8.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-06-06 21:50:09",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "ninjecto"
}
        
Elapsed time: 0.28348s