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.5 (2024-12-13)
------------------
- Source distribution (\*.tar.gz now) is compliant with PEP-0625.
- Setup (dependencies) update.
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/a7/05/5737f88b73cd32a9934008aa3978517b3ca62d263d93069025d49f594d75/tox_backtick-0.5.5.tar.gz",
"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.5 (2024-12-13)\r\n------------------\r\n- Source distribution (\\*.tar.gz now) is compliant with PEP-0625.\r\n- Setup (dependencies) update.\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.5",
"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": "8d4417946bdc46ee1db3e1a0ac551041db556a4b6c1b5d513265db22b85109e0",
"md5": "c04830ec979ae4d9187fac84955cc414",
"sha256": "a21140c681055d703183b6f54516edf10d26924030a4367cf26e2a1271be5cfb"
},
"downloads": -1,
"filename": "tox_backtick-0.5.5-py3-none-any.whl",
"has_sig": false,
"md5_digest": "c04830ec979ae4d9187fac84955cc414",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0.0,>=3.9.0",
"size": 16335,
"upload_time": "2024-12-13T13:00:01",
"upload_time_iso_8601": "2024-12-13T13:00:01.330358Z",
"url": "https://files.pythonhosted.org/packages/8d/44/17946bdc46ee1db3e1a0ac551041db556a4b6c1b5d513265db22b85109e0/tox_backtick-0.5.5-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "a7055737f88b73cd32a9934008aa3978517b3ca62d263d93069025d49f594d75",
"md5": "d9f26b92d3473e58b6857573a3ca4c4d",
"sha256": "01f347bfcc36b9b62f5a627139bff7e5b620f4ecefd06bbc7ffb8264ad9fe1ea"
},
"downloads": -1,
"filename": "tox_backtick-0.5.5.tar.gz",
"has_sig": false,
"md5_digest": "d9f26b92d3473e58b6857573a3ca4c4d",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0.0,>=3.9.0",
"size": 22928,
"upload_time": "2024-12-13T13:00:04",
"upload_time_iso_8601": "2024-12-13T13:00:04.507039Z",
"url": "https://files.pythonhosted.org/packages/a7/05/5737f88b73cd32a9934008aa3978517b3ca62d263d93069025d49f594d75/tox_backtick-0.5.5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-13 13:00:04",
"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"
}