This release is a pre-release and may not be stable for production use.
Waverunner is a symmetrical client/server RPC tool
securely advertises and executes arbitrary remote python modules
server-side code:
create a script (let's call it batch-script.py) that looks like this:
import numpy
import fancyInstrumentControl
from waverunner import SecureMethod
@SecureMethod
def get_measurement(stimulus):
return fancyInstrumentControl.pass(stimulus)
then run waverunner:
$ python -m waverunner \
--srv-path /path/to/batch-script.py \
--notify 123.345.543.2
--password mybestfriendsgirlfriendisamediocresong
found batch-script.get_measurement
serving at 142.555.432.1
sending notifications to 123.345.543.2
waverunner will now serve 'batch-script.get_measurement()' and advertise to any waverunner that might be running at 123.345.543.2
client-side code:
from waverunner import Server
server = Server(
password='mybestfriendsgirlfriendisamediocresong',
user_ips='142.555.432.1')
request = (
'batch-script.get_measurement',
np.stack([np.random.randn(100) for i in range(100)]),
)
result = server.external_request('http://142.555.432.1', *request)
print(result)
Metadata
Release files for waverunner 0.2b6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| waverunner-0.2b6-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for waverunner-0.2b6-py2.py3-none-any.whl |
Release files / waverunner-0.2b6-py2.py3-none-any.whl
| Download URL | waverunner-0.2b6-py2.py3-none-any.whl |
|---|---|
| Size | 17.7 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
412f069258700ea38ddaf3902b97261dfead6fc06d4cb4dd5547f718a51c5da8
|
|
BLAKE2b-256 checksum How to use checksums |
98d40bb085a39e1be6e990f5cfe67233ce1ceacb739e97dae6e0fd229f7b8756
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.16
|
Security for waverunner 0.2b6
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.