-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathpyproject.toml
36 lines (32 loc) · 1.22 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
[tool.poetry]
name = "dash-earthquakes"
version = "0.1.0"
description = "A Plotly Dash application showing earthquake data from the USGS website"
license = "MIT"
authors = ["Giacomo Debidda <[email protected]>"]
homepage = "https://github.com/jackdbd/dash-earthquakes"
repository = "https://github.com/jackdbd/dash-earthquakes"
keywords = ['dashboard', 'mapbox', 'python', 'usgs']
[tool.poetry.dependencies]
arrow = "^1.2.2"
chart-studio = "^1.1.0"
dash = "^2.3.1"
gunicorn = "^20.1.0"
pandas = "^1.4.2"
python = "^3.8"
python-dotenv = "^0.20.0"
[tool.poetry.dev-dependencies]
black = "^22.3.0"
poethepoet = "^0.13.1"
pytest = "^7.1.1"
[tool.poe.tasks]
container_build = 'docker build ./ -t dash-earthquakes:latest'
container_explore = 'dive dash-earthquakes:latest'
container_run = 'docker run -it -p 8090:5000 --env MAPBOX_ACCESS_TOKEN=$MAPBOX_ACCESS_TOKEN --env PLOTLY_API_KEY=$PLOTLY_API_KEY --env PLOTLY_USERNAME=$PLOTLY_USERNAME dash-earthquakes:latest'
container_scan = 'trivy image --severity MEDIUM,HIGH,CRITICAL -f table dash-earthquakes:latest'
dev = 'poetry run python app.py'
format = 'poetry run black .'
test = 'pytest --verbose'
[build-system]
requires = ["poetry-core>=1.0.0a5"]
build-backend = "poetry.core.masonry.api"