Skip to main content

Yenta

https://img.shields.io/pypi/v/yenta.svg https://img.shields.io/travis/grapesmoker/yenta.svg Documentation Status

Yet ‘Nother Taskrunner

Introduction

Yenta is YEt ‘Nother TAskrunner; it executes a pipeline, defined by a series of tasks and dependencies among them. The goal of Yenta is to provide a reasonable feature set while maintaining simplicity and usability. Yenta tasks are simply functions decorated with the @task decorator and complying with a specific format for their arguments.

Yenta is inspired in part by the functional state management pattern used in projects like Redux. Although I would hesitate to call Yenta “functional” in the strict sense, it does use a caching logic according to which identical inputs are assumed to produce identical outputs under default conditions. This means that Yenta will automatically reuse the cached output of a task if nothing about the inputs has changed.

The name “Yenta” is an old Yiddish name; in the American Yiddish theater of the 30s, a character named Yenta was depicted as a busy-body, so the name became a byword for someone who won’t mind their own business.

Features

  • Graph-based task execution

  • Lightweight

  • Idempotent tasks

  • Simple, intuitive API

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

History

0.1.0 (2020-05-27)

  • First release on PyPI.

  • Working pipeline execution with caching and reuse of results

0.2.0 (2020-07-01)

  • Selector functionality implemented

0.2.1 (2020-07-10)

  • Write intermediate pipeline results to a temp file and catch the case where a non-serializable object is returned

0.2.2 (2020-07-10)

  • Append running dir to sys.path

0.2.3 (2020-07-10)

  • Initialize artifact date_created by default

0.2.4 (2020-07-16)

  • FileArtifacts can be directories

  • Artifacts now have a meta field to which arbitrary JSON-serializable information can be attached

  • If an exception is raised during task execution, the stack trace is printed

  • pydot is now used for graph generation

  • Artifact equality is checked by comparing location and hash

0.3.0 (2020-10-31)

  • Serialization scheme moved from JSON to pickle to improve performance.

  • “Values” no longer explicitly exist; anything that can be pickled is a valid value.

  • Multiple pipelines with different names can be used in the same project.

Metadata

Release files for yenta 0.4.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 yenta 0.4.0
File Size Uploaded
yenta-0.4.0.tar.gz 77.1 kB Details

Built distribution (wheel)

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

Total release size: 91.2 kB

Release files / yenta-0.4.0.tar.gz

Download URL yenta-0.4.0.tar.gz
Size 77.1 kB
Tags Source
SHA-256 checksum
How to use checksums
6662415e3ccc4a9e906ef336f396723b29275f4eec5c889018ede988da7ba620
BLAKE2b-256 checksum
How to use checksums
4ab3d9e6be199c33bf77a7ba12f108adaf47416ece4779a990a5afcd7a97525b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.8.2 requests/2.26.0 setuptools/60.1.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10

Release files / yenta-0.4.0-py2.py3-none-any.whl

Download URL yenta-0.4.0-py2.py3-none-any.whl
Size 14.0 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
57529e630efed661ea31277dd404b2ace30030edea3031f11d984b2f1aa8cee9
BLAKE2b-256 checksum
How to use checksums
3046493a218aee4e776905d42f5930e2985eda4775c5412409ae5bdc1ca8b2e5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.8.2 requests/2.26.0 setuptools/60.1.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10

Release history Release notifications | RSS feed

This release

0.4.0 This release

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

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