Back to Airbyte

PyAirbyte

docs/developers/pyairbyte/README.md

2.0.02.0 KB
Original Source

PyAirbyte

PyAirbyte brings the power of Airbyte to every Python and AI developer.

Installation

bash
pip install airbyte

Quickstarts

Demos

Check out this YouTube video on how to get started with PyAirbyte.

PyAirbyte API Reference

See the PyAirbyte API Reference for a full list of classes, methods, and usage examples.

Usage

Data can be extracted from sources and loaded into caches:

<a href="https://colab.research.google.com/github/airbytehq/quickstarts/blob/master/pyairbyte_notebooks/PyAirbyte_Basic_Features_Demo.ipynb" target="_parent"></a>

python
import airbyte as ab

source = ab.get_source(
    "source-faker",
    config={"count": 5_000},
    install_if_missing=True,
)
source.check()
source.select_all_streams()
result = source.read()

for name, records in result.streams.items():
    print(f"Stream {name}: {len(list(records))} records")