{"id":26873,"library":"dagio","title":"DagIO","description":"A Python package for running directed acyclic graphs (DAGs) of asynchronous I/O operations. Current version 0.0.2 (pre-release). Allows decorating functions to define dependencies and execute them concurrently when possible.","status":"active","version":"0.0.2","language":"python","source_language":"en","source_url":"https://github.com/brendanhasz/dagio","tags":["async","dag","io","graph"],"install":[{"cmd":"pip install dagio","lang":"bash","label":"Install from PyPI"}],"dependencies":[],"imports":[{"note":"","wrong":"","symbol":"DAG","correct":"from dagio import DAG"},{"note":"","wrong":"","symbol":"run_async","correct":"from dagio import run_async"}],"quickstart":{"code":"import asyncio\nfrom dagio import DAG, run_async\n\ndef fetch(url):\n    # Simulate I/O\n    return url\n\nasync def main():\n    dag = DAG()\n    dag.add_node('fetch_a', fetch, kwargs={'url': 'https://a.com'})\n    dag.add_node('fetch_b', fetch, kwargs={'url': 'https://b.com'}, dependencies=['fetch_a'])\n    results = await dag.run()\n    print(results)\n\nasyncio.run(main())","lang":"python","description":"Create a DAG with two nodes, where 'fetch_b' depends on 'fetch_a', and run the graph asynchronously."},"warnings":[{"fix":"Pin to exact version and test thoroughly before upgrading.","message":"Version 0.0.2 is pre-release; API may change without notice. Not recommended for production.","severity":"gotcha","affected_versions":"all"},{"fix":"Ensure every node is a function or callable object.","message":"DAG nodes must be callables; if you pass a non-callable, it will raise an error.","severity":"gotcha","affected_versions":"all"},{"fix":"Avoid relying on internals; use asyncio directly if needed.","message":"The `run_async` decorator is experimental; its behavior may change in future versions.","severity":"deprecated","affected_versions":">=0.0.2"}],"env_vars":null,"last_verified":"2026-04-27T00:00:00.000Z","next_check":"2026-07-26T00:00:00.000Z","problems":[{"fix":"Run 'pip install dagio'.","cause":"Package not installed.","error":"ModuleNotFoundError: No module named 'dagio'"},{"fix":"Check that all node functions are defined and passed correctly.","cause":"A node's function argument is None or not a callable.","error":"TypeError: 'NoneType' object is not callable"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}