Skip to main content
DataStore provides over 20 factory methods to create instances from various data sources including local files, databases, cloud storage, and data lakes.

Universal URI Interface

The uri() method is the recommended universal entry point that auto-detects the source type:

URI Syntax Reference


File Sources

from_file

Create DataStore from a local or remote file with automatic format detection.
Parameters: Supported formats: CSV, TSV, Parquet, JSON, JSONLines, ORC, Avro, Arrow Examples:

Pandas-compatible read functions


Cloud Storage

from_s3

Create DataStore from Amazon S3.
Parameters: Examples:

from_gcs

Create DataStore from Google Cloud Storage.
Examples:

from_azure

Create DataStore from Azure Blob Storage.
Examples:

from_hdfs

Create DataStore from HDFS.
Examples:

from_url

Create DataStore from HTTP/HTTPS URL.
Examples:

Databases

from_mysql

Create DataStore from MySQL database.
Parameters: Examples:

from_postgresql

Create DataStore from PostgreSQL database.
Examples:

from_clickhouse

Create DataStore from ClickHouse server.
Examples:

from_mongodb

Create DataStore from MongoDB.
Examples:

from_sqlite

Create DataStore from SQLite database.
Examples:

Data Lakes

from_iceberg

Create DataStore from Apache Iceberg table.
Examples:

from_delta

Create DataStore from Delta Lake table.
Examples:

from_hudi

Create DataStore from Apache Hudi table.
Examples:

In-Memory Sources

from_df / from_dataframe

Create DataStore from pandas DataFrame.
Examples:

DataFrame Constructor

Create DataStore using pandas-like constructor.

Special Sources

from_numbers

Create DataStore with sequential numbers (useful for testing).
Examples:

from_random

Create DataStore with random data.
Examples:

run_sql

Create DataStore from raw SQL query.
Examples:

Summary Table

Last modified on July 1, 2026