ingestr is a command-line app that allows you to ingest data from any source into any destination using simple command-line flags, no code necessary.
- β¨ copy data from your database into any destination
- β incremental loading:
append,mergeordelete+insert - π single-command installation
ingestr takes away the complexity of managing any backend or writing any code for ingesting data, simply run the command and watch the data land on its destination.
You can install ingestr using the install script:
curl -LsSf https://getbruin.com/install/ingestr | shAlternatively, you can install it with pip:
pip install ingestrThe pip package can also be used from Python. Install the SDK extra for Python data ingestion:
pip install 'ingestr[sdk]'Python rows, generators, and DataFrames are sent to the bundled ingestr binary as Arrow IPC streams by default:
import ingestr
ingestr.ingest(
[{"id": 1, "name": "Ada"}, {"id": 2, "name": "Grace"}],
dest_uri="duckdb:///tmp/warehouse.duckdb",
dest_table="main.people",
)DataFrames and yielded data use the same Arrow stream transport:
ingestr.ingest(df, dest_uri="duckdb:///tmp/warehouse.duckdb", dest_table="main.events")
def events():
yield [{"id": 1, "event": "signup"}]
yield [{"id": 2, "event": "purchase"}]
ingestr.ingest(events, dest_uri="postgresql://...", dest_table="public.events")For push-style code, omit the data argument and use ingest as a context manager. The context value accepts the same shapes as ingestr.ingest(data, ...):
with ingestr.ingest(dest_uri="postgresql://...", dest_table="public.events") as ingest:
for response in client.list_events():
ingest(response["items"])For very large already-materialized data, use the existing mmap Arrow IPC file transport:
ingestr.ingest(df, dest_uri="duckdb:///tmp/warehouse.duckdb", dest_table="main.events", transport="mmap")For full CLI pass-through, use ingestr.run(["ingest", "--source-uri", "...", "--dest-uri", "...", "--source-table", "..."]), or ingestr.run_cli(...) for keyword arguments that map to CLI flags.
ingestr ingest \
--source-uri 'postgresql://admin:admin@localhost:8837/web?sslmode=disable' \
--source-table 'public.some_data' \
--dest-uri 'bigquery://<your-project-name>?credentials_path=/path/to/service/account.json' \
--dest-table 'ingestr.some_data'That's it.
This command:
- gets the table
public.some_datafrom the Postgres instance. - uploads this data to your BigQuery warehouse under the schema
ingestrand tablesome_data.
You can see the full documentation here.
Join our Slack community here.
Pull requests are welcome. However, please open an issue first to discuss what you would like to change. We maybe able to offer you help and feedback regarding any changes you would like to make.
Note
After cloning ingestr make sure to run make setup to install githooks.
| Source | Destination | |
|---|---|---|
| Databases | ||
| AWS Athena | β | β |
| AWS Redshift | β | β |
| Cassandra | β | β |
| ClickHouse | β | β |
| Couchbase | β | - |
| CrateDB | β | β |
| Databricks | β | β |
| DuckDB | β | β |
| DynamoDB | β | β |
| Elasticsearch | β | β |
| Google BigQuery | β | β |
| GCP Spanner | β | - |
| IBM Db2 | β | - |
| InfluxDB | β | - |
| Kafka | β | - |
| Local CSV file | β | β |
| MaxCompute | β | β |
| Microsoft Fabric | β | β |
| Microsoft OneLake | - | β |
| Microsoft SQL Server | β | β |
| MongoDB | β | β |
| MotherDuck | β | β |
| MySQL | β | β |
| Oracle | β | - |
| Postgres | β | β |
| RabbitMQ | β | - |
| SAP Hana | β | - |
| Snowflake | β | β |
| Socrata | β | - |
| SQLite | β | β |
| Synapse | - | β |
| Trino | β | β |
| Platforms | ||
| Adjust | β | - |
| Airtable | β | - |
| Allium | β | - |
| Amazon Kinesis | β | - |
| Anthropic | β | - |
| AppsFlyer | β | - |
| Apple Ads | β | - |
| Apple App Store | β | - |
| Applovin | β | - |
| Applovin Max | β | - |
| Asana | β | - |
| Attio | β | - |
| Azure Data Lake Storage Gen2 | β | β |
| Bruin | β | - |
| Chess.com | β | - |
| ClickUp | β | - |
| Cursor | β | - |
| Docebo | β | - |
| Dune | β | - |
| Facebook Ads | β | - |
| Fireflies | β | - |
| Fluxx | β | - |
| Frankfurter | β | - |
| Freshdesk | β | - |
| FundraiseUp | β | - |
| G2 | β | - |
| GitHub | β | - |
| Google Ads | β | - |
| Google Analytics | β | - |
| Google Cloud Storage (GCS) | β | β |
| Google Sheets | β | - |
| Gorgias | β | - |
| Granola | β | - |
| Hostaway | β | - |
| HubSpot | β | - |
| Indeed | β | - |
| Intercom | β | - |
| Internet Society Pulse | β | - |
| Jira | β | - |
| JobTread | β | - |
| Klaviyo | β | - |
| Linear | β | - |
| LinkedIn Ads | β | - |
| Mailchimp | β | - |
| Mixpanel | β | - |
| Monday | β | - |
| Notion | β | - |
| Paddle | β | - |
| Personio | β | - |
| PhantomBuster | β | - |
| β | - | |
| Pipedrive | β | - |
| Plus Vibe AI | β | - |
| PostHog | β | - |
| Primer | β | - |
| QuickBooks | β | - |
| Reddit Ads | β | - |
| RevenueCat | β | - |
| S3 | β | β |
| Salesforce | β | - |
| SFTP | β | - |
| Shopify | β | - |
| Slack | β | - |
| Smartsheet | β | - |
| Snapchat Ads | β | - |
| Solidgate | β | - |
| Stripe | β | - |
| SurveyMonkey | β | - |
| TikTok Ads | β | - |
| Trustpilot | β | - |
| Wise | β | - |
| Zendesk | β | - |
| Zoom | β | - |
Feel free to create an issue if you'd like to see support for another source or destination.
ingestr is source-available under the Functional Source License 1.1, with Apache 2.0 as the future license. You can use ingestr freely for internal production use, development, testing, education, research, and professional services. You cannot use ingestr to offer a competing commercial ingestion, ELT, connector, or managed data pipeline product/service.
Each version becomes Apache 2.0 two years after release.