Jeff Gr
08/26/2025, 1:51 PMkapa.ai
08/26/2025, 1:52 PMairbyte Python package and all its dependencies from a machine with internet access. - Transfer the packages to your airgapped environment and install them using pip install <package.whl>. 2. Connector Images: - PyAirbyte uses Airbyte connectors, which are distributed as Docker images. You will need to: - Download the required connector images (e.g., source-faker, destination-snowflake, etc.) from Docker Hub or the Airbyte registry on a machine with internet access. - Save these images using docker save. - Transfer the images to your airgapped environment and load them using docker load. 3. Connector Metadata: - PyAirbyte may need access to connector metadata (such as specifications and schemas). If this is fetched from the internet at runtime, you may need to pre-download any required files and ensure PyAirbyte can access them locally. The documentation does not specify if this is required, so you may need to test this step. 4. No Internet-Dependent Features: - Be aware that any features in PyAirbyte that require live access to the Airbyte connector registry or other online resources will not work unless you have pre-cached or redirected those resources locally. ### Example PyAirbyte Usage Once dependencies and images are in place, you can use PyAirbyte as shown: python import airbyte as ab source = ab.get_source( "source-faker", config={"count": 5_000}, install_if_missing=True, # This will fail if the image is not available locally ) source.check() source.select_all_streams() result = source.read() for name, records in result.streams.items(): print(f"Stream {name}: {len(list(records))} records") [[PyAirbyte Usage](https://docs.airbyte.com/platform/using-airbyte/pyairbyte/getting-started)] --- Summary: - Airbyte OSS is not designed for airgapped use, and running it offline is complex and not officially supported. - PyAirbyte is a lighter-weight alternative, but you must manually manage all dependencies and Docker images for offline use. - There is no official, fully-documented process for running PyAirbyte completely offline, so some trial and error may be required. If you have a specific set of connectors you need, prepare all their images and dependencies in advance. If you encounter issues, you may need to inspect PyAirbyte's source or logs to identify any additional resources it tries to fetch online.