Skip to content

Latest commit

 

History

History
 
 

bach

Objectiv Bach: Pandas-like analytics modeling translated to SQL

Bach is a Python-based analytics modeling library with a Pandas-like interface. It translates all operations and models to SQL, running directly on your full dataset. All DataFrames & models can be converted to an SQL statement with just a single command, to use in other tools like dbt or BI.

Bach is part of Objectiv, an open-source data collection & modeling platform that helps data teams run product analytics from their notebooks. Bach therefore works with any dataset that embraces Objectiv's open analytics taxonomy, so you can take pre-built models from the open model hub to quickly build deep analyses for a wide range of product & marketing use cases.

Installation

To install Bach, use the following command:

pip install objectiv-bach           # just the Bach library, supports PostgreSQL out of the box
pip install objectiv-bach[bigquery] # for Google BigQuery support
pip install objectiv-bach[athena]   # for AWS Athena support

See how to get started in your notebook for detailed installation instructions.

Usage

Support

Found a security issue? Please don’t use the issue tracker but contact us directly. See SECURITY.md for details.

Contributing

If you want to contribute to Objectiv Bach or use it as a base for custom development, take a look at CONTRIBUTING.md for detailed development instructions. For more unformation about our contribution process and where you can fit in, check out our Contribution Guide in the Docs.

License

This repository is part of the source code for Objectiv, which is released under the Apache 2.0 License. Please refer to LICENSE.md for details.


Copyright (c) 2021-2022 Objectiv B.V. All rights reserved.