tox-backtick
Backticks tox plugin for tox v.4.x.x.
Overview
tox-backtick 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.
Overview below is a copy from the original tox-backtocks README.md:
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] Use the command string as is if 1st character in the command string
is the + char (immediately after initial backtick). Bypasses the use of shlex.split() before handing off to tox_env.execute().
[x] Have a working package
[ ] Write user documentation
Usage
TBD…
Installation
Prerequisites:
Python 3.10 or higher
pip
To install run:
python -m pip install --upgrade tox-backtick
Development
Prerequisites:
Development is strictly based on nox. To install it run:
python -m pip install --upgrade nox
Visit Development page.
Installation from sources:
clone the sources:
git clone https://github.com/karpierz/tox-backtick tox-backtick
and run:
python -m pip install ./tox-backtick
or on development mode:
python -m pip install --editable ./tox-backtick
License
Copyright (c) 2024-2026 Adam KarpierzCopyright (c) 2023 Damien NadéCopyright (c) 2025 Steve HespeltLicensed under the LGPL-2.1-or-later LicensePlease refer to the accompanying LICENSE file.
Sponsoring
Metadata
Release files for tox-backtick 2.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tox_backtick-2.3.0.tar.gz | 28.3 kB | Without provenance | Details for tox_backtick-2.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tox_backtick-2.3.0-py3-none-any.whl | Python 3 | none | any | Details for tox_backtick-2.3.0-py3-none-any.whl |
Total release size: 45.4 kB
Release files / tox_backtick-2.3.0.tar.gz
| Download URL | tox_backtick-2.3.0.tar.gz |
|---|---|
| Size | 28.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0f71f02e35e273522dc8cf5ce7f532fbe43b5ca99481b06123bb65f72a209ee8
|
|
BLAKE2b-256 checksum How to use checksums |
60083607f6d678f9e3742cf6e9b91b0f40127d6396ab637fa32974f1db13af16
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.12
|
Release files / tox_backtick-2.3.0-py3-none-any.whl
| Download URL | tox_backtick-2.3.0-py3-none-any.whl |
|---|---|
| Size | 17.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b8568eb826c4dfbcc973b65bbd2b14bb8c4a75d21db738f4ebe91076dced6279
|
|
BLAKE2b-256 checksum How to use checksums |
f31c96307d55958ad0f9a05064380dce2ec625e5250bfdcc3dd4a294774bac57
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.12
|
Security for tox-backtick 2.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.