Skip to main content

# DLHub home_run

[![CI](https://github.com/DLHub-Argonne/home_run/actions/workflows/CI.yml/badge.svg)](https://github.com/DLHub-Argonne/home_run/actions/workflows/CI.yml) [![Coverage Status](https://coveralls.io/repos/github/DLHub-Argonne/home_run/badge.svg?branch=master)](https://coveralls.io/github/DLHub-Argonne/home_run?branch=master) [![PyPI version](https://badge.fury.io/py/home-run.svg)](https://badge.fury.io/py/home-run)

home_run is a tool used by [the Data and Learning Hub for Science](https://www.dlhub.org) internally to turn a bunch of files and a recipe into an functional Python object.

## Installation

home_run is on PyPi. Install it by calling

`bash pip install home_run `

home_run is designed to be as light-weight as possible, and has only requests as a dependency.

## Technical Details

The key ingredients for using home_run are files describing a function that will be served by DLHub. These include a metadata file describing the servable (see [dlhub_sdk](http://github.com/dlhub-argonne/dlhub_sdk) for tools for creating these files, and [dlhub_schemas](http://github.com/dlhub-argonne/dlhub_schemas) for the schemas), and the actual files that make up the servable (e.g., a Keras hdf5 file).

Each particular type of servable has its own recipe for going from these files to a Python object. All recipes are a subclass of BaseServable, which provides the general framework for defining a servable object. Each subclass has a matching BaseMetadataModel class in dlhub_sdk. For example, the type of servable that can be described by the PythonStaticMethodModel can be run by the PythonStaticMethodServable.

## Project Support This material is based upon work supported by Laboratory Directed Research and Development (LDRD) funding from Argonne National Laboratory, provided by the Director, Office of Science, of the U.S. Department of Energy under Contract No. DE-AC02-06CH11357.

Release files for home-run 0.5.0

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

Source distribution (sdist)

Source distribution for home-run 0.5.0
File Size Uploaded
home_run-0.5.0.tar.gz 11.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for home-run 0.5.0
File Interpreter ABI Platform
home_run-0.5.0-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 24.7 kB

Release files / home_run-0.5.0.tar.gz

Download URL home_run-0.5.0.tar.gz
Size 11.6 kB
Tags Source
SHA-256 checksum
How to use checksums
8487c026dcc70957bfcee0b367741ee5f92ede9ff9b028641e1ef335fe17a9ce
BLAKE2b-256 checksum
How to use checksums
7ad73e6dbf016dfd30fa63fcf0ddff238be990a107889509aaa8c324ddb29875
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

Release files / home_run-0.5.0-py2.py3-none-any.whl

Download URL home_run-0.5.0-py2.py3-none-any.whl
Size 13.1 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
166c4a712d77d594fb21a2933b5556653d58508cd0b3c1d8d5ea338c1a91a49e
BLAKE2b-256 checksum
How to use checksums
582c549c1d3e1e5592949f15b66b3cb6ba0132c79a00f9d88857cb49fcbe0806
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

Release history Release notifications | RSS feed

This release

0.5.0 This release

2 release files

0.4.0

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

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