Week of September 23rd
Image by author.

Week of September 23rd

TL;DR:

  • #Hamilton release highlights: new OS user contributed feature @pipe_output
  • #Burr release highlights: some minor 🐛 fixes.
  • Office Hours & Meet ups for Hamilton & Burr.
  • In the wild: Salesteq Inc. launches product built with Burr.


Hamilton Release Highlights:

Hamilton Framework == 1.78.0

New feature @pipe_output.

@pipe_output  is new decorator to make post-function modifications to function/node results simpler. Thank you to our OS contributor Jernej Frank for leading the charge here! He really drove the implementation + cleaned up a lot of the existing code

Note that @pipe has been renamed & deprecated in favor of @pipe_input to make the distinction clear between the two decorators. We will keep @pipe around, until Hamilton 2.0, as we follow proper semantic versioning and don't publish breaking changes until major version updates.

from hamilton.function_modidifers import pipe_output, step

def _add_one(x: int) -> int:
    return x + 1


def _sum(x: int, y: int) -> int:
    return x + y


def _multiply(x: int, y: int) -> int:
    return x * y


@pipe_output(
    step(_add_one),
    step(_multiply, y=2),
    step(_sum, y=value(3)),
    step(_multiply, y=source("upstream_node_to_multiply")),
)
def initial_data() -> int:
    return 1 
    # gets turned into (((1 + 1) * 2) + 3) * upstream_node_to_multiply 
    # with post-function modifications        

🐛Fixes:

  • Fixed an issue in which materializers could not apply default values in certain cases. Thanks @Thierry Jean for the fix! and thanks to Riezebos for catching the bug!

  • Thanks to creative-resort for contributing additional documentation on importing functions with the jupyter notebooks.


Burr Release Highlights

Burr == 0.30.2

  1. We pushed some minor fixes for using typed state with:

from __future__ import annotations        

2. We pushed some documentation updates and typos.


Office Hours & Meetup

Hamilton Meet up: We'll have the next meet up in October. Currently it is scheduled for October 15th. We're excited to have Sholto Armstrong talk about their use of Hamilton and the new library they built on top at Capitec . Join/sign-up here.

Hamilton Office Hours: They happen most Tuesday 9:30am PT - 10:30am PT. Join our slack for the link.

Burr Office Hours: They happen most Wednesdays 9:30am PT - 10:3am PT. Join our discord for the weekly link.


In the Wild:

Congratulations to Salesteq Inc. and Dr. Milan Jelisavčić for shipping their AI product using Burr. We're excited for the momentum and proof points like this that people are delivering AI products better, cheaper, and faster using our tools.


To view or add a comment, sign in

More articles by Stefan Krawczyk

  • Last week of 2024 / first week of 2025

    Last week of 2024 / first week of 2025

    TL;DR: #Hamilton + #Burr 2024 stats: 35M+ telemetry events (10x), 100K+ unique IPs (10x) from 1000+ companies, 1M+…

    2 Comments
  • Week of December 9th

    Week of December 9th

    TL;DR: #Hamilton release highlights: Better TypedDict support and modular subdag example Office Hours & Meet ups for…

  • Week of December 2nd

    Week of December 2nd

    TL;DR: #Hamilton release highlights: Async Datadog Integration, Polars & Pandas with_columns support. #Burr release…

  • Week of November 18th

    Week of November 18th

    TL;DR: #Hamilton release highlights: SDK configurability #Burr release highlights: parallelism UI modifications, video…

  • Week of November 11th

    Week of November 11th

    TL;DR: #Hamilton release highlights: async support for @pipe + various small fixes #Burr release highlights:…

  • Week of November 4th

    Week of November 4th

    TL;DR: #Hamilton release highlights: @with_columns decorator for Pandas by Jernej Frank & module overrides for async…

  • Week of October 28th

    Week of October 28th

    TL;DR: #Hamilton release highlights: in-memory cache store. #Burr release highlights: release candidate for a first…

  • Week of October 21st

    Week of October 21st

    TL;DR: #Hamilton release highlights: some minor fixes and docs updates from five different OS contributors! Also…

  • Week of October 14th

    Week of October 14th

    TL;DR: Announcing Shreya Shankar as an advisor. #Hamilton release highlights: tweaks to pipe_input, new…

    3 Comments
  • Week of October 7th

    Week of October 7th

    TL;DR: #Hamilton release highlights: @mutate decorator & updated slack notifier plugin #Burr release highlights: V1 of…

Insights from the community

Others also viewed

Explore topics