Documentation about loading packages in Python / Airflow
See original GitHub issueDescription
A guide is missing to answer the following questions.
- How does Python load packages?
- sys.path and a intelligent algorithm for determining the content of this variable
- How does Airflow modify this behavior?
- 3 new directories - https://github.com/apache/airflow/issues/8647
- When and how you can affect the module loading mechanism?
- PYTHONPATH
- Pip packages
- How to create python package with operators/plugins?
- Short guide
- link to Python Packaging User Guide
- How to use PYTHONPATH?
- A generic example and an example with Docker.
- How do you check the contents of the sys.path variable?
airflow info
command
- How to set configuration option with import e.g.
hostname_callback
,api_client
?
Best regards, Kamil
Issue Analytics
- State:
- Created 3 years ago
- Reactions:7
- Comments:8 (8 by maintainers)
Top Results From Across the Web
Modules Management — Airflow Documentation
Airflow allows you to use your own Python modules in the DAG and in the Airflow configuration. The following article will describe how...
Read more >Installing Python dependencies - AWS Documentation
A Python dependency is any package or distribution that is not included in the Apache Airflow base install for your Apache Airflow version...
Read more >Airflow docker install python packages: Airflow Tutorial P11
Airflow docker install python packages : Airflow Tutorial P11# Airflow #AirflowTutorial #Coder2j========== VIDEO CONTENT ==========Today I ...
Read more >Installation - Apache Airflow Documentation - Read the Docs
Airflow is published as apache-airflow package in PyPI. Installing it however might be sometimes tricky because Airflow is a bit of both a...
Read more >apache-airflow - PyPI
We publish Apache Airflow as apache-airflow package in PyPI. Installing it however might be sometimes tricky because Airflow is a bit of both...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The new file in the root directory -
docs/
sounds good to me.@rootcss I assigned you to this ticket.