tox-backtick
============
Backticks tox plugin for tox v.4.x.x.
Overview
========
|package_bold| is a strict fork of Damien Nadé's tox-backtocks_ package
(v.0.4.0) with a fixes allowing to work on Python 3.8 or higher and on
Windows with a little code reformatting and minor improvements.
`PyPI record`_.
`Documentation`_.
Overview below is a copy from the original tox-backtocks_ README.md:
tox-backtocks
-------------
|PyPI version| |Supported Python Version| |License| |PyPI - Downloads|
A refreshed backticks tox plugin
This is a very early stage release. Use it at your own risks.
Here’s the roadmap to 1.0 release and our current status:
- \[x\] define a ``backquote var`` in ``set_env`` with a
``backquoted expression`` (and nothing else) and evaluate it
through bash, inside the tox virtual environment.
- \[x\] Make of a ``backquote var`` usable in commands section.
- \[x\] Allow another variable to be referenced inside the
``backquoted expression``
- \[x\] Strip the trailing newline characters of the
``backquoted expression``
- \[ \] Allow user configure the evaluation of ``backquote expression``
to be with a shell or not (either fork the command directly, either
fork a shell and evaluate a possible-complex shell expression)
- \[ \] Allow a ``backquote var`` value to contain regular string parts
and a ``backquote expression``
- \[ \] Allow a ``backquote var`` value to contain more than one
``backquote expression``
- \[ \] Allow user to configure if we should strip the trailing newline
characters or not.
- \[x\] Allow another variable to reuse the evaluated
``backquoted expression``
- \[x\] Allow another variable to reuse the evaluated
``backquoted expression`` without reevaluating it :) (I mean,
it’s hacked, but heh, better than nothing)
- \[x\] If evaluating through a shell, automatically add said shell to
``allowlist_externals`` section
- \[x\] Have a working package
- \[ \] Write user documentation
.. |PyPI version| image:: https://img.shields.io/pypi/v/tox-backtocks?logo=pypi&style=plastic
:target: https://pypi.org/project/tox-backtocks/
.. |Supported Python Version| image:: https://img.shields.io/pypi/pyversions/tox-backtocks?logo=python&style=plastic
:target: https://pypi.org/project/tox-backtocks/
.. |License| image:: https://img.shields.io/pypi/l/tox-backtocks?color=green&logo=GNU&style=plastic
:target: https://github.com/Anvil/tox-backtocks/blob/main/LICENSE
.. |PyPI - Downloads| image:: https://img.shields.io/pypi/dm/tox-backtocks?color=magenta&style=plastic
:target: https://pypistats.org/packages/tox-backtocks
Usage
-----
TBD...
Installation
============
Prerequisites:
+ Python 3.9 or higher
* https://www.python.org/
+ pip and setuptools
* https://pypi.org/project/pip/
* https://pypi.org/project/setuptools/
To install run:
.. parsed-literal::
python -m pip install --upgrade |package|
Development
===========
Prerequisites:
+ Development is strictly based on *tox*. To install it run::
python -m pip install --upgrade tox
Visit `Development page`_.
Installation from sources:
clone the sources:
.. parsed-literal::
git clone |respository| |package|
and run:
.. parsed-literal::
python -m pip install ./|package|
or on development mode:
.. parsed-literal::
python -m pip install --editable ./|package|
License
=======
| |copyright|
| Copyright (c) 2023 Damien Nadé
| Licensed under the LGPL-2.1-or-later License
| https://opensource.org/license/lgpl-2-1
| Please refer to the accompanying LICENSE file.
Authors
=======
* Damien Nadé <anvil.github+tox-backtocks@livna.org>
* Adam Karpierz <adam@karpierz.net>
.. |package| replace:: tox-backtick
.. |package_bold| replace:: **tox-backtick**
.. |copyright| replace:: Copyright (c) 2024-2024 Adam Karpierz
.. |respository| replace:: https://github.com/karpierz/tox-backtick.git
.. _Development page: https://github.com/karpierz/tox-backtick
.. _PyPI record: https://pypi.org/project/tox-backtick/
.. _Documentation: https://tox-backtick.readthedocs.io/
.. _tox-backtocks: https://pypi.org/project/tox-backtocks/
Changelog
=========
0.5.4 (2024-11-13)
------------------
- 100% code linting.
- Tox configuration is now in native (toml) format.
- Setup (dependencies) update.
0.5.1 (2024-10-09)
------------------
- Drop support for Python 3.8
- Setup (dependencies) update.
0.4.6 (2024-08-13)
------------------
- Add support for Python 3.13
- Corrected licence information in README.rst
- Setup (dependencies) update.
0.4.4 (2024-01-26)
------------------
- Cleanup.
0.4.1 (2024-01-24)
------------------
- First functional release.
0.0.0 (2024-01-22)
------------------
- Initial commit.
Raw data
{
"_id": null,
"home_page": null,
"name": "tox-backtick",
"maintainer": "Adam Karpierz",
"docs_url": null,
"requires_python": "<4.0.0,>=3.9.0",
"maintainer_email": "adam@karpierz.net",
"keywords": "tox, backtick, backtocks, backticks, backquotes",
"author": "Damien Nad\u00e9, Adam Karpierz",
"author_email": "adam@karpierz.net",
"download_url": "https://files.pythonhosted.org/packages/6a/7d/8522a864cf08601801860dfc564236f803df43d2a8ef52073373dc023f08/tox_backtick-0.5.4.zip",
"platform": "any",
"description": "tox-backtick\r\n============\r\n\r\nBackticks tox plugin for tox v.4.x.x.\r\n\r\nOverview\r\n========\r\n\r\n|package_bold| is a strict fork of Damien Nad\u00e9's tox-backtocks_ package\r\n(v.0.4.0) with a fixes allowing to work on Python 3.8 or higher and on\r\nWindows with a little code reformatting and minor improvements.\r\n\r\n`PyPI record`_.\r\n\r\n`Documentation`_.\r\n\r\nOverview below is a copy from the original tox-backtocks_ README.md:\r\n\r\ntox-backtocks\r\n-------------\r\n\r\n|PyPI version| |Supported Python Version| |License| |PyPI - Downloads|\r\n\r\nA refreshed backticks tox plugin\r\n\r\nThis is a very early stage release. Use it at your own risks.\r\n\r\nHere\u2019s the roadmap to 1.0 release and our current status:\r\n\r\n- \\[x\\] define a ``backquote var`` in ``set_env`` with a\r\n ``backquoted expression`` (and nothing else) and evaluate it\r\n through bash, inside the tox virtual environment.\r\n- \\[x\\] Make of a ``backquote var`` usable in commands section.\r\n- \\[x\\] Allow another variable to be referenced inside the\r\n ``backquoted expression``\r\n- \\[x\\] Strip the trailing newline characters of the\r\n ``backquoted expression``\r\n- \\[ \\] Allow user configure the evaluation of ``backquote expression``\r\n to be with a shell or not (either fork the command directly, either\r\n fork a shell and evaluate a possible-complex shell expression)\r\n- \\[ \\] Allow a ``backquote var`` value to contain regular string parts\r\n and a ``backquote expression``\r\n- \\[ \\] Allow a ``backquote var`` value to contain more than one\r\n ``backquote expression``\r\n- \\[ \\] Allow user to configure if we should strip the trailing newline\r\n characters or not.\r\n- \\[x\\] Allow another variable to reuse the evaluated\r\n ``backquoted expression``\r\n- \\[x\\] Allow another variable to reuse the evaluated\r\n ``backquoted expression`` without reevaluating it :) (I mean,\r\n it\u2019s hacked, but heh, better than nothing)\r\n- \\[x\\] If evaluating through a shell, automatically add said shell to\r\n ``allowlist_externals`` section\r\n- \\[x\\] Have a working package\r\n- \\[ \\] Write user documentation\r\n\r\n.. |PyPI version| image:: https://img.shields.io/pypi/v/tox-backtocks?logo=pypi&style=plastic\r\n :target: https://pypi.org/project/tox-backtocks/\r\n.. |Supported Python Version| image:: https://img.shields.io/pypi/pyversions/tox-backtocks?logo=python&style=plastic\r\n :target: https://pypi.org/project/tox-backtocks/\r\n.. |License| image:: https://img.shields.io/pypi/l/tox-backtocks?color=green&logo=GNU&style=plastic\r\n :target: https://github.com/Anvil/tox-backtocks/blob/main/LICENSE\r\n.. |PyPI - Downloads| image:: https://img.shields.io/pypi/dm/tox-backtocks?color=magenta&style=plastic\r\n :target: https://pypistats.org/packages/tox-backtocks\r\n\r\nUsage\r\n-----\r\n\r\nTBD...\r\n\r\nInstallation\r\n============\r\n\r\nPrerequisites:\r\n\r\n+ Python 3.9 or higher\r\n\r\n * https://www.python.org/\r\n\r\n+ pip and setuptools\r\n\r\n * https://pypi.org/project/pip/\r\n * https://pypi.org/project/setuptools/\r\n\r\nTo install run:\r\n\r\n .. parsed-literal::\r\n\r\n python -m pip install --upgrade |package|\r\n\r\nDevelopment\r\n===========\r\n\r\nPrerequisites:\r\n\r\n+ Development is strictly based on *tox*. To install it run::\r\n\r\n python -m pip install --upgrade tox\r\n\r\nVisit `Development page`_.\r\n\r\nInstallation from sources:\r\n\r\nclone the sources:\r\n\r\n .. parsed-literal::\r\n\r\n git clone |respository| |package|\r\n\r\nand run:\r\n\r\n .. parsed-literal::\r\n\r\n python -m pip install ./|package|\r\n\r\nor on development mode:\r\n\r\n .. parsed-literal::\r\n\r\n python -m pip install --editable ./|package|\r\n\r\nLicense\r\n=======\r\n\r\n | |copyright|\r\n | Copyright (c) 2023 Damien Nad\u00e9\r\n | Licensed under the LGPL-2.1-or-later License\r\n | https://opensource.org/license/lgpl-2-1\r\n | Please refer to the accompanying LICENSE file.\r\n\r\nAuthors\r\n=======\r\n\r\n* Damien Nad\u00e9 <anvil.github+tox-backtocks@livna.org>\r\n* Adam Karpierz <adam@karpierz.net>\r\n\r\n.. |package| replace:: tox-backtick\r\n.. |package_bold| replace:: **tox-backtick**\r\n.. |copyright| replace:: Copyright (c) 2024-2024 Adam Karpierz\r\n.. |respository| replace:: https://github.com/karpierz/tox-backtick.git\r\n.. _Development page: https://github.com/karpierz/tox-backtick\r\n.. _PyPI record: https://pypi.org/project/tox-backtick/\r\n.. _Documentation: https://tox-backtick.readthedocs.io/\r\n.. _tox-backtocks: https://pypi.org/project/tox-backtocks/\r\n\r\nChangelog\r\n=========\r\n\r\n0.5.4 (2024-11-13)\r\n------------------\r\n- 100% code linting.\r\n- Tox configuration is now in native (toml) format.\r\n- Setup (dependencies) update.\r\n\r\n0.5.1 (2024-10-09)\r\n------------------\r\n- Drop support for Python 3.8\r\n- Setup (dependencies) update.\r\n\r\n0.4.6 (2024-08-13)\r\n------------------\r\n- Add support for Python 3.13\r\n- Corrected licence information in README.rst\r\n- Setup (dependencies) update.\r\n\r\n0.4.4 (2024-01-26)\r\n------------------\r\n- Cleanup.\r\n\r\n0.4.1 (2024-01-24)\r\n------------------\r\n- First functional release.\r\n\r\n0.0.0 (2024-01-22)\r\n------------------\r\n- Initial commit.\r\n",
"bugtrack_url": null,
"license": "LGPL-2.1-or-later License ; https://opensource.org/license/lgpl-2-1",
"summary": "Backticks tox plugin for tox v.4.x.x.",
"version": "0.5.4",
"project_urls": {
"Documentation": "https://tox-backtick.readthedocs.io/",
"Download": "https://pypi.org/project/tox-backtick/",
"Homepage": "https://pypi.org/project/tox-backtick/",
"Issues": "https://github.com/karpierz/tox-backtick/issues",
"Source": "https://github.com/karpierz/tox-backtick"
},
"split_keywords": [
"tox",
" backtick",
" backtocks",
" backticks",
" backquotes"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "a51f6757324b11a1361578168c6b115184a16de844aa25b05fc2f07eaf771453",
"md5": "fd7201bbe51429c45d4958370e18db56",
"sha256": "ed0d9ed970c00689622291168c81e577b12824be9e57e8b30ac24caf325963d1"
},
"downloads": -1,
"filename": "tox_backtick-0.5.4-py3-none-any.whl",
"has_sig": false,
"md5_digest": "fd7201bbe51429c45d4958370e18db56",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0.0,>=3.9.0",
"size": 16285,
"upload_time": "2024-11-14T15:17:23",
"upload_time_iso_8601": "2024-11-14T15:17:23.641508Z",
"url": "https://files.pythonhosted.org/packages/a5/1f/6757324b11a1361578168c6b115184a16de844aa25b05fc2f07eaf771453/tox_backtick-0.5.4-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "6a7d8522a864cf08601801860dfc564236f803df43d2a8ef52073373dc023f08",
"md5": "6d9be7da5fe76f8095b367e992c15bae",
"sha256": "49a1aba6485cd79e983078329fdaf867e652106067d0ab75821dab88b4e63816"
},
"downloads": -1,
"filename": "tox_backtick-0.5.4.zip",
"has_sig": false,
"md5_digest": "6d9be7da5fe76f8095b367e992c15bae",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0.0,>=3.9.0",
"size": 30329,
"upload_time": "2024-11-14T15:17:25",
"upload_time_iso_8601": "2024-11-14T15:17:25.028499Z",
"url": "https://files.pythonhosted.org/packages/6a/7d/8522a864cf08601801860dfc564236f803df43d2a8ef52073373dc023f08/tox_backtick-0.5.4.zip",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-14 15:17:25",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "karpierz",
"github_project": "tox-backtick",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "tox-backtick"
}