Change location of constants and dependencies
This commit is contained in:
parent
87fa53f6f8
commit
6849078d88
|
@ -1,3 +1,3 @@
|
|||
*/__pycache__
|
||||
**/__pycache__
|
||||
Design.org
|
||||
data/*.json
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
from json import load
|
||||
from pandas import json_normalize, DataFrame
|
||||
from .constants import FILES, COLUMNS
|
||||
from constants import FILES, COLUMNS
|
||||
|
||||
|
||||
def open_json(dataset) -> dict:
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
from json import dump
|
||||
from requests import get
|
||||
from .constants import FILES, URL
|
||||
from constants import FILES, URL
|
||||
|
||||
|
||||
def format_url(dataset) -> str:
|
||||
|
|
|
@ -7,8 +7,9 @@ pkgs.mkShell {
|
|||
# Dependencies
|
||||
pandas
|
||||
requests
|
||||
flask
|
||||
starlette
|
||||
altair
|
||||
folium
|
||||
pytest
|
||||
# Development tools
|
||||
black
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
from app.constants import files
|
||||
from constants import FILES, DATASETS, URL
|
||||
from app.preprocessing import create_dataframe
|
||||
from app.request_datasets import request_dataset
|
||||
from pandas import DataFrame
|
||||
from requests import get
|
||||
from os import remove
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue