Skip to main content

Micro-utility for staying organized running experiments

Project description

runthis tests deploy-pypi

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

runthis-0.0.3.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

runthis-0.0.3-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file runthis-0.0.3.tar.gz.

File metadata

  • Download URL: runthis-0.0.3.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for runthis-0.0.3.tar.gz
Algorithm Hash digest
SHA256 d8e1bee8cd6240e6012bcaee3bf1f6e72ba4f4b5ca92d27d6ab4b11b5cecc8e6
MD5 28ce36a5e61b4aa32ffb2c2c24b733c9
BLAKE2b-256 f21009ca6c17ab7934fa262357c9cf37b8baf2c9a06c92f93d03b05120448eed

See more details on using hashes here.

File details

Details for the file runthis-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: runthis-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for runthis-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 849552e2469371321846cc55784cbcb80c1f314f111e553fac615be879b100da
MD5 e2c75b5ee6ca68595438f21909e58ae0
BLAKE2b-256 6968c0036ed04f78621d174b9ab37142cf27aaa2c8ff3de05ceea2f627a07978

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page