dbt-fal
do more with dbt. dbt-fal helps you run Python alongside dbt, so you can send Slack alerts, detect anomalies and build machine learning models.
File Explorer
Download Latest Version (.zip)- action.yml
- bug_report.md
- config.yml
- feature_request.md
- docs_deployment.yml
- generate_typing.yml
- poetry_lock.yml
- python-release.yml
- test_cli.yml
- test_integration_adapter.yml
- test_integration_cli.yml
- pull_request_template.md
- Dockerfile
- README.md
- _category_.json
- notebook-files.md
- python-package.md
- _category_.json
- python-models-migration.md
- _category_.json
- feature-store.md
- _category_.json
- environments.md
- fal-run.md
- fal-with-dbt-test.md
- global-scripts.md
- index.md
- local-imports.md
- model-scripts-selection.md
- model-scripts.md
- notebook-files.md
- refs-sources-context.md
- structured-hooks.md
- _category_.json
- environment_management.md
- machine-types.md
- overview.md
- using-fal-serverless.md
- _category_.json
- fal-scripts-path.md
- faldbt-class-object.md
- variables-and-functions.md
- compatibility.md
- examples.md
- quickstart.md
- _category_.yml
- env_var.md
- github.md
- model_apis.md
- _category_.yml
- controlnet.md
- image-restoration.md
- llama.md
- model_apis.md
- stable-diffusion.md
- _category_.yml
- cached_function.md
- keep_alive.md
- managing_environments.md
- overview.md
- scheduling.md
- _category_.yml
- machine_types.md
- managing_concurrency.md
- _category_.yml
- queue_and_webhooks.md
- serving.md
- quickstart.md
- reference.md
- secrets.md
- storage_and_persistence.md
- HomepageFeatures.js
- HomepageFeatures.module.css
- custom.css
- index.module.css
- fal-logo.png
- fal-logo.svg
- flow_run.png
- load_data_graph.png
- new-logo-no-text.png
- new-logo.png
- .nojekyll
- .gitignore
- babel.config.js
- docusaurus.config.js
- package-lock.json
- package.json
- README.md
- sidebars.js
- 2021-11-20-2322-CET.jpg
- anomaly_detection_slack_message.png
- distance_between_samples.jpg
- distance_between_samples_bounded.jpg
- README.md
- small_range_constant.jpg
- README.md
- README.md
- fal_forecast_1636707573.278499.png
- README.md
- README.md
- README.md
- README.md
- jupyter_notebook_weighted_label.png
- README.md
- README.md
- s3_bucket.png
- gcs_bucket.png
- README.md
- README.md
- fal_steps.py
- context_info.feature
- dbt_test.feature
- environment.py
- execute_sql_function.feature
- flow_run.feature
- flow_run_middle_nodes.feature
- flow_run_with_jaffle_shop.feature
- globals.feature
- ipynb_scripts.feature
- main_module.feature
- meta_object.feature
- python_nodes.feature
- run.feature
- run_with_custom_target.feature
- script_path.feature
- structured_hooks.feature
- write_to_model_function.feature
- write_to_source_function.feature
- profiles.yml
- profiles.yml
- profiles.yml
- profiles.yml
- profiles.yml
- profiles.yml
- profiles.yml
- profiles.yml
- raw_zendesk_ticket_data.csv
- time_series.csv
- after.py
- before.py
- post_hook.py
- post_hook2.py
- pre_hook.py
- write_to_model.py
- write_to_source.py
- agent_wait_time.sql
- schema.yml
- some_model.sql
- some_other_model.sql
- zendesk_ticket_data.sql
- dbt_project.yml
- macros
- README.md
- raw_zendesk_ticket_data.csv
- time_series.csv
- after.py
- before.py
- check_extra.py
- agent_wait_time.sql
- intermediate_model_1.sql
- intermediate_model_2.sql
- intermediate_model_3.sql
- model_a.sql
- model_b.sql
- model_c.sql
- schema.yml
- zendesk_ticket_data.sql
- dbt_project.yml
- macros
- raw_customers.csv
- raw_orders.csv
- raw_payments.csv
- orders_forecast.py
- global_test.py
- load_data.py
- main_check_2.py
- middle_script.py
- send_slack_message.py
- orders_forecast.sql
- schema.yml
- stg_customers.sql
- stg_orders.sql
- stg_payments.sql
- after_middle.sql
- customers.sql
- docs.md
- forecast_filter.sql
- middle_1.sql
- middle_2.sql
- orders.sql
- orders_daily.sql
- schema.yml
- customer_lifetime_value.sql
- dbt_project.yml
- fal_dbt.py
- macros
- .gitkeep
- runtime_error_model.py
- after.py
- before.py
- post_hook.py
- runtime_error_model.sql
- schema.yml
- some_model.sql
- working_model.sql
- dbt_project.yml
- macros
- .gitkeep
- after.py
- before.py
- before_b.py
- other_schema.yaml
- schema.yml
- some_model.sql
- dbt_project.yml
- macros
- .gitkeep
- model_with_array.py
- model_with_date.py
- complete_model.py
- context.py
- execute_sql.py
- lists.py
- write_to_source_twice.py
- other_model.sql
- schema.yml
- some_model.sql
- third_model.sql
- .gitignore
- dbt_project.yml
- macros
- .gitkeep
- schema.yml
- some_model.sql
- process_df.py
- my_utils.py
- after.py
- before.py
- after.py
- before.py
- dbt_project.yml
- macros
- raw_zendesk_ticket_data.csv
- time_series.csv
- my_notebook.ipynb
- after.py
- before.py
- check_extra.py
- agent_wait_time.sql
- schema.yaml
- zendesk_ticket_data.sql
- dbt_project.yml
- macros
- broken_model.py
- model_c.py
- model_e.ipynb
- model_c.sql
- model_e.sql
- model_a.sql
- model_b.sql
- model_d.sql
- schema.yml
- after.py
- before.py
- post_hook.py
- pre_hook.py
- .gitignore
- dbt_project.yml
- macros
- multiply_by_ten.sql
- .gitkeep
- query_other_model.py
- run_macro.py
- execute_sql_model_one.sql
- execute_sql_model_two.sql
- schema.yaml
- dbt_project.yml
- macros
- freshness.py
- schema.yml
- dbt_project.yml
- load_freshness_table.py
- macros
- .gitkeep
- model_b1.py
- model_b1.sql
- model_a1.sql
- model_c1.sql
- model_d1.sql
- model_e1.sql
- model_a2.sql
- model_b2.sql
- model_c2.sql
- model_d2.sql
- model_e2.sql
- model_f2.sql
- model_g2.sql
- model_h2.sql
- model_i2.sql
- model_j2.sql
- final.sql
- schema.yaml
- post_hook1.py
- post_hook2.py
- post_hook3.py
- .gitkeep
- .gitkeep
- .gitkeep
- .gitignore
- dbt_project.yml
- macros
- README.md
- .gitkeep
- no_write_model.py
- schema.yml
- dbt_project.yml
- macros
- model_d.py
- model_e.py
- model_f.py
- model_d.sql
- model_e.sql
- model_f.sql
- model_a.sql
- model_b.sql
- model_c.sql
- model_g.sql
- schema.yml
- add.py
- check_imports.py
- environment_type.py
- environment_type_2.py
- environment_type_3.py
- funny_hook.py
- joke_version.py
- local_hook.py
- post_hook_1.py
- post_hook_2.py
- pre_hook_1.py
- pre_hook_2.py
- sub.py
- types.py
- .gitignore
- dbt_project.yml
- fal_project.yml
- macros
- get_data.py
- get_data.sql
- process_data.sql
- regular_model.sql
- schema.yml
- post_hook.py
- .gitignore
- dbt_project.yml
- macros
- generate_alias_name.sql
- profiles.yml
- .gitignore
- docker-compose.yml
- docker-compose.yml
- postgresql.properties
- docker-compose.yml
- fal_adapter_steps.py
- cloud.feature
- commands.feature
- environments.feature
- python_model.feature
- source.feature
- sql_model.feature
- teleport.feature
- profiles.yml
- profiles.yml
- profiles.yml
- profiles.yml
- profiles.yml
- profiles.yml
- profiles.yml
- profiles.yml
- get_bool.py
- generate_alias_name.sql
- model_a.sql
- model_b.py
- model_c.py
- model_d.sql
- model_e.py
- schema.yml
- dbt_project.yml
- fal_project.yml
- generate_alias_name.sql
- model_c.py
- model_a.sql
- model_b.sql
- model_d.sql
- schema.yml
- get_bool.py
- dbt_project.yml
- model_a.py
- schema.yml
- dbt_project.yml
- fal_project.yml
- load_freshness_table.py
- __init__.py
- __version__.py
- connections.py
- impl.py
- load_db_profile.py
- wrappers.py
- athena.py
- bigquery.py
- duckdb.py
- postgres.py
- redshift.py
- snowflake.py
- trino.py
- __init__.py
- telemetry.py
- duckdb.py
- snowflake.py
- __init__.py
- environments.py
- yaml_helper.py
- __init__.py
- __version__.py
- adapter.py
- adapter_support.py
- connections.py
- impl.py
- teleport.py
- teleport_adapter_support.py
- __init__.py
- connections.py
- impl.py
- __init__.py
- impl.py
- info.py
- table.sql
- teleport_duckdb.sql
- teleport_snowflake.sql
- __init__.py
- dbt_project.yml
- table.sql
- __init__.py
- dbt_project.yml
- __init__.py
- model_generator.py
- module_check.py
- __init__.py
- args.py
- cli.py
- dbt_runner.py
- fal_runner.py
- flow_runner.py
- selectors.py
- __init__.py
- feature.py
- __init__.py
- yaml_helper.py
- __init__.py
- lib.py
- logger.py
- magics.py
- parse.py
- project.py
- version.py
- project.py
- __init__.py
- base.py
- conda.py
- virtual_env.py
- __init__.py
- bridge.py
- dependency_analysis.py
- isolated_runner.py
- __init__.py
- executor.py
- plan.py
- schedule.py
- tasks.py
- __init__.py
- telemetry.py
- __init__.py
- fal_script.py
- node_graph.py
- typing.py
- utils.py
- __init__.py
- utils.py
- test_node_graph.py
- test_selectors.py
- utils.py
- test.py
- .user.yml
- profiles.yml
- run_results.json
- model_empty_fal.sql
- model_empty_scripts.sql
- model_feature_store.sql
- model_no_fal.sql
- model_with_before_scripts.sql
- model_with_scripts.sql
- other_with_scripts.sql
- schema.yml
- .gitignore
- dbt_project.yml
- data.py
- test_plan.py
- test_schedule.py
- test_tasks.py
- utils.py
- test_dbt_runner.py
- __init__.py
- _test_telemetry.py
- conftest.py
- docker-compose.yml
- test_cli.py
- test_import.py
- test_module_check.py
- test_project.py
- test_regressions.py
- cliff.toml
- poetry.lock
- pyproject.toml
- README.md
- generate_typing_context.py
- .gitignore
- cliff.toml
- LICENSE
- README.md
- runner.py
# Installation Guide
1. Get the code
git clone https://github.com/fal-ai/dbt-fal
Downloads the entire project code from GitHub to your computer.
cd dbt-fal
Moves into the project folder you just downloaded.
2. Docker
Easy RecommendedPrerequisites
- Git Needed to download the project code from GitHub.
- Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
docker compose -f projects/adapter/cli_tests/docker-compose.yml up -d --build
Runs the command against the services defined in the compose file.
Run docker compose ps to check the containers are Up. If the README mentions a port, open http://localhost:PORT in your browser.
3. Node.js
EasyPrerequisites
cd docsite
This project's files live in a subfolder, so move into it first.
npm install
Downloads and installs the libraries listed in package.json.
npm start
Starts the development/run server.
After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.
4. Python
EasyPrerequisites
β οΈ This is a large repository, so this method may point to an internal sub-package rather than the actual core product. Check the full README as well.
pip install .
Installs the package published on PyPI directly β no need to clone the source.
jupyter notebook
Launches Jupyter in your browser so you can open and run the notebook (.ipynb) files.
If it runs without errors and prints output in the terminal, it worked.
// repository documentation
Was this content helpful?
(0 ratings)
