Slide 82
Slide 82 text
#pyconjp_5
Extras でインストール対象を指定
82
# pyproject.toml から抜粋
# データソースごとに Extra を設定
[tool.poetry.extras]
gcs = ["google-cloud-storage", "protobuf"]
redash = ["psycopg2", "SQLAlchemy"]
dbt-bigquery = [
"dbt-core", "dbt-bigquery", "google-cloud-bigquery",
"protobuf", "networkx"
]
s3 = ["boto3", "boto3-stubs"]