Skip to main content

HitchRunPy

Main branch status

HitchRunPy is a tool to run, test and profile snippets of python code.

HitchRunPy was developed to run executable specifications using HitchStory that define Python APIs.

As such it can be used with HitchStory to build effective replacements for unit tests and integration tests where the 'spec' is a python API.

HitchRunPy is used to run the executable specifications for all libraries on HitchDev.

Example

from hitchrunpy import ExamplePythonCode

ExamplePythonCode(
    '/path/to/bin/python',
    '/path/to/working_directory',
).with_code((
    'with open("examplefile", "w") as handle:'
    '     handle.write("exampletext")'
)).run()

Install

$ pip install hitchstory

Using HitchRunPy

Why use HitchRunPy?

HitchRunPy combined with HitchStory serves as an effective replacement for unit tests in the situation where unit tests are most effective.

Release files for hitchrunpy 0.11.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hitchrunpy 0.11.3
File Size Uploaded
hitchrunpy-0.11.3.tar.gz 19.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for hitchrunpy 0.11.3
File Interpreter ABI Platform
hitchrunpy-0.11.3-py3-none-any.whl Python 3 none any Details

Total release size: 37.3 kB

Release files / hitchrunpy-0.11.3.tar.gz

Download URL hitchrunpy-0.11.3.tar.gz
Size 19.0 kB
Tags Source
SHA-256 checksum
How to use checksums
2df12e8ddf51d630f3d6388836bff1e8268fc2dc408383b7a52dbd6dd974d3e3
BLAKE2b-256 checksum
How to use checksums
26a6baeefa148df4c385ced68569f792a3808da4d03d940fdba8ea125aebaf7d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Release files / hitchrunpy-0.11.3-py3-none-any.whl

Download URL hitchrunpy-0.11.3-py3-none-any.whl
Size 18.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
282bfa48e808755d917a6a42f00e1694b7e46d29721482e718135b29dff2f558
BLAKE2b-256 checksum
How to use checksums
39e804f91cd8546c095c15042500c2123bdf473ee445c5b11b80a3ce08cd0aa8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Release history Release notifications | RSS feed

This release

0.11.3 This release

2 release files

0.11.2

1 release file

0.11.0

1 release file

0.10.0

1 release file

0.9.0

1 release file

0.8.0

1 release file

0.7.0

1 release file

0.6.3

1 release file

0.6.2

1 release file

0.6.1

1 release file

0.6.0

1 release file

0.5.0

1 release file

0.4.0

1 release file

0.3.0

1 release file

0.2.0

1 release file

0.1.6

1 release file

0.1.5

1 release file

0.1.4

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page