# tox-backtocks
[![PyPI version](https://img.shields.io/pypi/v/tox-backtocks?logo=pypi&style=plastic)](https://pypi.python.org/pypi/tox-backtocks/)
[![Supported Python Version](https://img.shields.io/pypi/pyversions/tox-backtocks?logo=python&style=plastic)](https://pypi.python.org/pypi/tox-backtocks/)
[![License](https://img.shields.io/pypi/l/tox-backtocks?color=green&logo=GNU&style=plastic)](https://github.com/Anvil/tox-backtocks/blob/main/LICENSE)
[![PyPI - Downloads](https://img.shields.io/pypi/dm/tox-backtocks?color=magenta&style=plastic)](https://pypistats.org/packages/tox-backtocks)
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
Raw data
{
"_id": null,
"home_page": "https://github.com/Anvil/tox-backtocks/",
"name": "tox-backtocks",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.10,<4.0",
"maintainer_email": "",
"keywords": "tox,backtocks,backticks,backquotes",
"author": "Damien Nad\u00e9",
"author_email": "anvil.github+tox-backtocks@livna.org",
"download_url": "https://files.pythonhosted.org/packages/ea/80/77d6363eada81c46992da4913f0bc40242c7c93a099995ecff1599910240/tox_backtocks-0.3.2.tar.gz",
"platform": null,
"description": "# tox-backtocks\n\n[![PyPI version](https://img.shields.io/pypi/v/tox-backtocks?logo=pypi&style=plastic)](https://pypi.python.org/pypi/tox-backtocks/)\n[![Supported Python Version](https://img.shields.io/pypi/pyversions/tox-backtocks?logo=python&style=plastic)](https://pypi.python.org/pypi/tox-backtocks/)\n[![License](https://img.shields.io/pypi/l/tox-backtocks?color=green&logo=GNU&style=plastic)](https://github.com/Anvil/tox-backtocks/blob/main/LICENSE)\n[![PyPI - Downloads](https://img.shields.io/pypi/dm/tox-backtocks?color=magenta&style=plastic)](https://pypistats.org/packages/tox-backtocks)\n\nA refreshed backticks tox plugin \n\nThis is a very early stage release. Use it at your own risks.\n\nHere's the roadmap to 1.0 release and our current status:\n\n- [x] define a `backquote var` in `set_env` with a `backquoted expression`\n (and nothing else) and evaluate it through bash, inside the tox virtual\n environment.\n- [x] Make of a `backquote var` usable in commands section.\n- [x] Allow another variable to be referenced inside the `backquoted\n expression`\n- [x] Strip the trailing newline characters of the `backquoted expression`\n- [ ] Allow user configure the evaluation of `backquote expression` to be with\n a shell or not (either fork the command directly, either fork a shell\n and evaluate a possible-complex shell expression)\n- [ ] Allow a `backquote var` value to contain regular string parts and a\n `backquote expression`\n- [ ] Allow a `backquote var` value to contain more than one `backquote\n expression`\n- [ ] Allow user to configure if we should strip the trailing newline\n characters or not.\n- [x] Allow another variable to reuse the evaluated `backquoted expression`\n- [x] Allow another variable to reuse the evaluated `backquoted expression`\n without reevaluating it :) (I mean, it's hacked, but heh, better than\n nothing)\n- [x] If evaluating through a shell, automatically add said shell to\n `allowlist_externals` section\n- [x] Have a working package\n- [ ] Write user documentation\n",
"bugtrack_url": null,
"license": "LGPL-2.1-or-later",
"summary": "",
"version": "0.3.2",
"split_keywords": [
"tox",
"backtocks",
"backticks",
"backquotes"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "3956a6ce5145dc9f8f58c4e0e6b51632ccc0231dce39b568c8d6cedf62ef87f4",
"md5": "9126e929c48e8789340b9bb9b6dd0fb7",
"sha256": "0be0f482368748ab3862e6d9b52338de47f5918c3f6bf62c77335d6530f6afed"
},
"downloads": -1,
"filename": "tox_backtocks-0.3.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "9126e929c48e8789340b9bb9b6dd0fb7",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10,<4.0",
"size": 12815,
"upload_time": "2023-03-15T19:22:20",
"upload_time_iso_8601": "2023-03-15T19:22:20.615827Z",
"url": "https://files.pythonhosted.org/packages/39/56/a6ce5145dc9f8f58c4e0e6b51632ccc0231dce39b568c8d6cedf62ef87f4/tox_backtocks-0.3.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "ea8077d6363eada81c46992da4913f0bc40242c7c93a099995ecff1599910240",
"md5": "e881c667cefc4a1f65522a8b26aeab0e",
"sha256": "3777839117b553f6ce23ad153be1afa5464490a60a6d2113e97a762ec2ec5045"
},
"downloads": -1,
"filename": "tox_backtocks-0.3.2.tar.gz",
"has_sig": false,
"md5_digest": "e881c667cefc4a1f65522a8b26aeab0e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10,<4.0",
"size": 12095,
"upload_time": "2023-03-15T19:22:21",
"upload_time_iso_8601": "2023-03-15T19:22:21.926297Z",
"url": "https://files.pythonhosted.org/packages/ea/80/77d6363eada81c46992da4913f0bc40242c7c93a099995ecff1599910240/tox_backtocks-0.3.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-03-15 19:22:21",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "Anvil",
"github_project": "tox-backtocks",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "tox-backtocks"
}