Show HN: Mr. Graph. A graph deifnition and execution library for Python What: Mr. Graph is a python library designed to make composing graphs of sync and async functions easy! Use google style docstrings to automagically create dataclasses and chain together function calls into graphs. Why: I like the design of Dagster, but not the latency. For apps and systems engineering, sometimes I want to compose a graph out of regular python functions. I don;t need all the heavy machinery that comes with a full workflow engine. Current features: - Use with either async or sync functions - Uses google style doc strings to name return values. - Creates dataclasses for each function's output. - Can infer pipelines from input and output signatures - All directed acyclic graph layouts supported. linear, fan-in, fan-out. Future Features: - Better examples for use with async calls (like LLMs) - Splitting dataclasses, better error handling, logging improvements. This is under active development. Any feedback, interest, or contributions are appreciated. Thanks! https://ift.tt/LuQsjag March 15, 2023 at 10:30PM
Show HN: StreetComplete, an OpenStreetMap Editor for Humans StreetComplete is an OpenStreetMap[0] editor directed at people who want to contribute and want to do this using their smartphone, without learning how to edit things[1]. It is available as an Android application. It is intended to be used as one walks, with quests appearing as markers on the map. Selecting a marker allows one to answer a simple question. The answer will be added to the OpenStreetMap database, with app handling selecting objects for editing, transforming answer into OSM tags and making edits. OpenStreetMap account is needed to apply edits, but it is possible to start without it, make some edits and login/register later. Note: I am not the main author, but I am one of the active contributors. Github page is at https://ift.tt/2g8lasH and https://ift.tt/3nR9PzS shows what was recently released. [0]OpenStreetMap is a Wikipedia of maps, available on the open licence. This dataset is already used for many interestin...
Comments