{"id":21175,"library":"dlthub","title":"dlthub","description":"dlthub is a commercial extension to dlt (data load tool) for data pipelining. Current version 0.22.1, requires Python >=3.9 and <3.15. Released frequently.","status":"active","version":"0.22.1","language":"python","source_language":"en","source_url":"https://github.com/dlt-hub/dlt","tags":["dlt","dlthub","data-pipeline","commercial","etl"],"install":[{"cmd":"pip install dlthub","lang":"bash","label":"Install dlthub"}],"dependencies":[{"reason":"Core dependency, dlthub extends dlt's functionality","package":"dlt","optional":false}],"imports":[{"note":"dlthub does not replace dlt's main classes; use dlt directly","wrong":"","symbol":"Pipeline","correct":"from dlt import Pipeline"}],"quickstart":{"code":"import dlt\nfrom dlt import Pipeline\nimport dlthub\n\npipeline = Pipeline(\n    pipeline_name='quickstart',\n    destination='duckdb',\n    dataset_name='data'\n)\n\n@dlt.resource\ndef my_resource():\n    for i in range(10):\n        yield {'id': i, 'value': f'row_{i}'}\n\ninfo = pipeline.run(my_resource())\nprint(info)","lang":"python","description":"Basic pipeline using dlt and importing dlthub for commercial extensions."},"warnings":[{"fix":"Only import dlthub when you need its commercial features.","message":"Importing dlthub directly may not be necessary for basic usage; it's a commercial extension for advanced features like monitoring, orchestration, and enterprise support. Most standard dlt operations do not require importing dlthub.","severity":"gotcha","affected_versions":"*"},{"fix":"Use current pattern: install dlthub and just import dlthub to activate extensions. No specific symbol imports.","message":"Older versions of dlthub might have required different import paths (e.g., from dlthub import something).","severity":"deprecated","affected_versions":"<0.20.0"},{"fix":"Ensure Python version is >=3.9 and <3.15.","message":"Version 0.22.1 drops support for Python 3.8 and above 3.15, may break existing environments.","severity":"breaking","affected_versions":">=0.22.0"}],"env_vars":null,"last_verified":"2026-04-27T00:00:00.000Z","next_check":"2026-07-26T00:00:00.000Z","problems":[{"fix":"Run 'pip install dlthub' in the correct Python environment.","cause":"dlthub not installed or installed in wrong environment.","error":"ModuleNotFoundError: No module named 'dlthub'"},{"fix":"Use 'from dlt import Pipeline'.","cause":"Attempting to import Pipeline from dlthub instead of dlt.","error":"ImportError: cannot import name 'Pipeline' from 'dlthub'"},{"fix":"Upgrade both dlt and dlthub: 'pip install --upgrade dlt dlthub'.","cause":"Using outdated dlt version when using dlthub features.","error":"TypeError: Pipeline.__init__() got an unexpected keyword argument 'restore_from_destination'"},{"fix":"Set the DLT_HUB_API_KEY environment variable or provide it in configuration.","cause":"Trying to use a commercial feature that requires authentication.","error":"dlthub.exceptions.AuthenticationError: API key not provided"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}