runthis

Trivial utility to help you arrange experiments like this:
Don't want to do that? Thanks for stopping by anyway.
Never edit script contents
Instead, infer from the file names:
if __name__=='__main__':
import os
kwargs = parse_kwargs(__file__.split(os.path.sep)[-1])
my_experiment(**kwargs)
See example
New experiment? Make a copy of the file and edit the name only.
Int, float arguments
Just call the experiment file
my_function?n=int:5&d=cat&init=[float:0.2,float:0.2,float:0.2].py
There's a short blog post here but I think you've got the gist.
Metadata
Release files for runthis 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| runthis-0.0.3.tar.gz | 3.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| runthis-0.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.6 kB
Release files / runthis-0.0.3.tar.gz
| Download URL | runthis-0.0.3.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d8e1bee8cd6240e6012bcaee3bf1f6e72ba4f4b5ca92d27d6ab4b11b5cecc8e6
|
|
BLAKE2b-256 checksum How to use checksums |
f21009ca6c17ab7934fa262357c9cf37b8baf2c9a06c92f93d03b05120448eed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2
|
Release files / runthis-0.0.3-py3-none-any.whl
| Download URL | runthis-0.0.3-py3-none-any.whl |
|---|---|
| Size | 3.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
849552e2469371321846cc55784cbcb80c1f314f111e553fac615be879b100da
|
|
BLAKE2b-256 checksum How to use checksums |
6968c0036ed04f78621d174b9ab37142cf27aaa2c8ff3de05ceea2f627a07978
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2
|