hamilton VS phidata

Compare hamilton vs phidata and see what are their differences.

hamilton

Hamilton helps data scientists and engineers define testable, modular, self-documenting dataflows, that encode lineage and metadata. Runs and scales everywhere python does. (by DAGWorks-Inc)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
hamilton phidata
20 14
1,312 3,622
8.2% 32.9%
9.8 9.9
6 days ago 6 days ago
Jupyter Notebook Python
BSD 3-clause Clear License Mozilla Public License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

hamilton

Posts with mentions or reviews of hamilton. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-26.
  • Building an Email Assistant Application with Burr
    6 projects | dev.to | 26 Apr 2024
    Note that this uses simple OpenAI calls — you can replace this with Langchain, LlamaIndex, Hamilton (or something else) if you prefer more abstraction, and delegate to whatever LLM you like to use. And, you should probably use something a little more concrete (E.G. instructor) to guarantee output shape.
  • Using IPython Jupyter Magic commands to improve the notebook experience
    1 project | dev.to | 3 Mar 2024
    In this post, we’ll show how your team can turn any utility function(s) into reusable IPython Jupyter magics for a better notebook experience. As an example, we’ll use Hamilton, my open source library, to motivate the creation of a magic that facilitates better development ergonomics for using it. You needn’t know what Hamilton is to understand this post.
  • FastUI: Build Better UIs Faster
    12 projects | news.ycombinator.com | 1 Mar 2024
    We built an app with it -- https://blog.dagworks.io/p/building-a-lightweight-experiment. You can see the code here https://github.com/DAGWorks-Inc/hamilton/blob/main/hamilton/....

    Usually we've been prototyping with streamlit, but found that at times to be clunky. FastUI still has rough edges, but we made it work for our lightweight app.

  • Show HN: On Garbage Collection and Memory Optimization in Hamilton
    1 project | news.ycombinator.com | 24 Oct 2023
  • Facebook Prophet: library for generating forecasts from any time series data
    7 projects | news.ycombinator.com | 26 Sep 2023
    This library is old news? Is there anything new that they've added that's noteworthy to take it for another spin?

    [disclaimer I'm a maintainer of Hamilton] Otherwise FYI Prophet gels well with https://github.com/DAGWorks-Inc/hamilton for setting up your features and dataset for fitting & prediction[/disclaimer].

  • Show HN: Declarative Spark Transformations with Hamilton
    1 project | news.ycombinator.com | 24 Aug 2023
  • Langchain Is Pointless
    16 projects | news.ycombinator.com | 8 Jul 2023
    I had been hearing these pains from Langchain users for quite a while. Suffice to say I think:

    1. too many layers of OO abstractions are a liability in production contexts. I'm biased, but a more functional approach is a better way to model what's going on. It's easier to test, wrap a function with concerns, and therefore reason about.

    2. as fast as the field is moving, the layers of abstractions actually hurt your ability to customize without really diving into the details of the framework, or requiring you to step outside it -- in which case, why use it?

    Otherwise I definitely love the small amount of code you need to write to get an LLM application up with Langchain. However you read code more often than you write it, in which case this brevity is a trade-off. Would you prefer to reduce your time debugging a production outage? or building the application? There's no right answer, other than "it depends".

    To that end - we've come up with a post showing how one might use Hamilton (https://github.com/dagWorks-Inc/hamilton) to easily create a workflow to ingest data into a vector database that I think has a great production story. https://open.substack.com/pub/dagworks/p/building-a-maintain...

    Note: Hamilton can cover your MLOps as well as LLMOps needs; you'll invariably be connecting LLM applications with traditional data/ML pipelines because LLMs don't solve everything -- but that's a post for another day.

  • Free access to beta product I'm building that I'd love feedback on
    1 project | /r/quants | 31 May 2023
    This is me. I drive an open source library Hamilton that people doing time-series/ML work love to use. I'm building a paid product around it at DAGWorks, and I'm after feedback on our current version. Can I entice anyone to:
  • IPyflow: Reactive Python Notebooks in Jupyter(Lab)
    5 projects | news.ycombinator.com | 10 May 2023
    From a nuts and bolts perspective, I've been thinking of building some reactivity on top of https://github.com/dagworks-inc/hamilton (author here) that could get at this. (If you have a use case that could be documented, I'd appreciate it.)
  • Data lineage
    1 project | /r/mlops | 15 Apr 2023
    Most people don't track lineage because it's difficult (though if you use something like https://github.com/DAGWorks-Inc/hamilton to write your pipeline - author here - it can come almost for free).

phidata

Posts with mentions or reviews of phidata. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-02-05.
  • Show HN: Use function calling to build AI Assistants
    1 project | news.ycombinator.com | 27 Feb 2024
  • Phidata: Build AI Assistants using function calling
    1 project | news.ycombinator.com | 25 Feb 2024
  • Chat with ArXiv Papers
    2 projects | news.ycombinator.com | 5 Feb 2024
    Hi HN, I built an app to chat with arXiv papers: https://arxiv.aidev.run

    I’m using function calling to interact with the arXiv api, here’s the general flow:

    > For a users question, search the knowledge base (pgvector) for the topic/paper

    > If knowledge base results are not relevant, search arXiv api for paper, parse it and store it in the knowledge base

    > Answer questions or summarize using contents from the knowledge base.

    Give it a spin at: https://arxiv.aidev.run and let me know what you think.

    Its a work in progress and I’m looking for feedback on how to improve. The read time from the arXiv api is a bit slow – but not much I can do about it.

    I used phidata to build this: https://github.com/phidatahq/phidata

    Here’s the code if you’re interested: https://github.com/phidatahq/ai-cookbook/blob/main/arxiv_ai/assistant.py

  • Chat with PDFs using function calling
    2 projects | news.ycombinator.com | 2 Feb 2024
    - I used phidata to build this: https://github.com/phidatahq/phidata
  • Show HN: Hacker News AI built using function calling
    1 project | news.ycombinator.com | 28 Jan 2024
    Hi HN, I built an AI that can interact with the Hacker News API and answer questions about hackernews stories, whats trending, what on show etc..

    Check it out here: https://hn.aidev.run

    You can ask questions like:

    - What on hackernews about AI?

    - What on hackernews about iPhone?

    - What's trending on hackernews?

    - What are users showing on hackernews?

    - What are users asking on hackernews?

    - Summarize this story: https://news.ycombinator.com/item?id=39156778

    It uses function calling to query the HN api.

    To answer questions about a particular topic, it’ll search its knowledge base (a vector db that is periodically updated with the “top stories”) and get details about those stories from the API.

    This is pretty barebones and I built it today in < 2 hours, so it probably won’t meet your high standards. If you give it a try, I’d love your feedback on how I can improve it.

    If you’re interested, I built this using phidata: https://github.com/phidatahq/phidata

    Thanks for reading and would love to hear what you think.

  • Show HN: Hacker News AI
    1 project | news.ycombinator.com | 28 Jan 2024
    - Summarize this story: https://news.ycombinator.com/item?id=39156778

    It uses function calling to query the HN api.

    To answer questions about a particular topic, it’ll search its knowledge base (a vector db that is periodically updated with the “top stories”) and get details about those stories from the API.

    This is pretty barebones and I built it today in < 2 hours, so it probably won’t meet your high standards. If you give it a try, I’d love your feedback on how I can improve it.

    If you’re interested, I built this using phidata: https://github.com/phidatahq/phidata

    Thanks for reading and would love to hear what you think.

  • Show HN: Build AI Assistants using LLM function calling
    1 project | news.ycombinator.com | 23 Jan 2024
  • AI App Templates pre-built
    1 project | news.ycombinator.com | 21 Jan 2024
  • Build Autonomous Assistants using LLM function calling
    1 project | news.ycombinator.com | 19 Jan 2024
  • Build human-like AI products using language models
    1 project | news.ycombinator.com | 11 Jan 2024

What are some alternatives?

When comparing hamilton and phidata you can also consider the following projects:

dagster - An orchestration platform for the development, production, and observation of data assets.

mlrun - MLRun is an open source MLOps platform for quickly building and managing continuous ML applications across their lifecycle. MLRun integrates into your development and CI/CD environment and automates the delivery of production data, ML pipelines, and online applications.

tree-of-thought-llm - [NeurIPS 2023] Tree of Thoughts: Deliberate Problem Solving with Large Language Models

NeumAI - Neum AI is a best-in-class framework to manage the creation and synchronization of vector embeddings at large scale.

haystack - :mag: LLM orchestration framework to build customizable, production-ready LLM applications. Connect components (models, vector DBs, file converters) to pipelines or agents that can interact with your data. With advanced retrieval methods, it's best suited for building RAG, question answering, semantic search or conversational agent chatbots.

Mage - 🧙 The modern replacement for Airflow. Mage is an open-source data pipeline tool for transforming and integrating data. https://github.com/mage-ai/mage-ai

snowpark-python - Snowflake Snowpark Python API

AWS Data Wrangler - pandas on AWS - Easy integration with Athena, Glue, Redshift, Timestream, Neptune, OpenSearch, QuickSight, Chime, CloudWatchLogs, DynamoDB, EMR, SecretManager, PostgreSQL, MySQL, SQLServer and S3 (Parquet, CSV, JSON and EXCEL).

aipl - Array-Inspired Pipeline Language

hamilton - A scalable general purpose micro-framework for defining dataflows. THIS REPOSITORY HAS BEEN MOVED TO www.github.com/dagworks-inc/hamilton

vscode-reactive-jupyter - A simple Reactive Python Extension for Visual Studio Code

ai-cookbook