{"id":26889,"library":"dbstream","title":"dbstream","description":"A meta package to connect to several databases with a unified streaming interface. Currently at version 0.1.28, with Python >=3 support. The project appears to be in early development with infrequent releases.","status":"active","version":"0.1.28","language":"python","source_language":"en","source_url":"https://github.com/dacker-team/dbstream","tags":["database","streaming","sql","etl"],"install":[{"cmd":"pip install dbstream","lang":"bash","label":"Install from PyPI"}],"dependencies":[],"imports":[{"note":"The correct class is DBStream with uppercase DB.","wrong":"from dbstream import dbstream","symbol":"DBStream","correct":"from dbstream import DBStream"}],"quickstart":{"code":"from dbstream import DBStream\n\ndb = DBStream('sqlite:///example.db')\ndb.stream('SELECT * FROM users')\nfor row in db:\n    print(row)","lang":"python","description":"Instantiate DBStream with a connection string and stream query results."},"warnings":[{"fix":"Pin version: dbstream==0.1.28 in requirements.txt.","message":"The library is very early stage (v0.1.x). API breaking changes are expected between minor versions. Pin to exact version in production.","severity":"breaking","affected_versions":"<0.2.0"},{"fix":"Always call .stream(query) first, then iterate over the object.","message":"The DBStream object is an iterator. You must call .stream() before iterating, otherwise you get an empty result.","severity":"gotcha","affected_versions":"all"},{"fix":"Double-check your database URI. Example: 'postgresql://user:pass@host/db'.","message":"Connection strings must follow SQLAlchemy format. Unsupported databases will raise an ImportError at runtime.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-04-27T00:00:00.000Z","next_check":"2026-07-26T00:00:00.000Z","problems":[{"fix":"Run 'pip install dbstream' in your environment.","cause":"Library not installed or installation incomplete.","error":"ModuleNotFoundError: No module named 'dbstream'"},{"fix":"Use 'from dbstream import DBStream'. Ensure dbstream>=0.1.0 is installed.","cause":"Incorrect import path or very old version without the class.","error":"ImportError: cannot import name 'DBStream' from 'dbstream'"},{"fix":"Check the current API in documentation; possibly use 'exec' or 'query' instead.","cause":"The stream method was renamed or removed in a newer version (check changelog).","error":"AttributeError: 'DBStream' object has no attribute 'stream'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}