Tox Server
tox-server is a command line tool which runs tox in a loop
and calls it with commands from a remote CLI. It responds to commands
via ZeroMQ. It isn't super useful on its own (as it doesn't eliminate the startup time for tox, just runs it repeatedly) but it is
helpful if your tests have to be run inside another environment with some setup cost, such as a docker container.
Installation
You can use pip to install tox-server:
$ pip install tox-server
Run the server
On the remote host:
$ tox-server serve
The server binds to 127.0.0.1 (i.e. it will only accept connections from localhost) because it is
not secured. If you are running it on an isolated network (like via docker), you can bind it to another host
with tox-server -b 0.0.0.0 serve.
Run a tox command remotely
On your local host, you can run a tox command:
$ tox-server run -e py37
This will run tox -e py37 on the remote host.
A note on security
Basically, security is hard. This program doesn't provide any authentication mechanism, and I'm not tempted
to add one. Before you expose ports from tox-server to the world wide web, I'd advise using something like
SSH tunneling to provide security and authentication.
Metadata
Release files for tox-server 0.6.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_server-0.6.0.tar.gz | 20.2 kB | Without provenance | Details for tox_server-0.6.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tox_server-0.6.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for tox_server-0.6.0-py2.py3-none-any.whl |
Total release size: 44.6 kB
Release files / tox_server-0.6.0.tar.gz
| Download URL | tox_server-0.6.0.tar.gz |
|---|---|
| Size | 20.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
66a4d6ecc14124a2d7669e16429421d34e5f97023571a1f4a23fe5a1f2421bff
|
|
BLAKE2b-256 checksum How to use checksums |
db65d3ff38d870804cdde33a003b227d6fec383cdf73534947f99844528bad46
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.3.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5
|
Release files / tox_server-0.6.0-py2.py3-none-any.whl
| Download URL | tox_server-0.6.0-py2.py3-none-any.whl |
|---|---|
| Size | 24.4 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
277530f97d0da388d5e62c69f3b43c145a788b4caa804d11bffec77ed7cabaff
|
|
BLAKE2b-256 checksum How to use checksums |
67b40ce40efdd8630568cfb23af70c0aa5e5cb4e2e28674424c975a791fc5041
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.3.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5
|
Security for tox-server 0.6.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.