aboutsummaryrefslogtreecommitdiffstats
path: root/fnme
diff options
context:
space:
mode:
Diffstat (limited to 'fnme')
-rw-r--r--fnme/cli.py9
-rw-r--r--fnme/data.py3
-rw-r--r--fnme/station.py3
3 files changed, 9 insertions, 6 deletions
diff --git a/fnme/cli.py b/fnme/cli.py
index d93d9f4..d9ef508 100644
--- a/fnme/cli.py
+++ b/fnme/cli.py
@@ -2,12 +2,13 @@ import argparse
import sys
from typing import Any, Dict, List
-from constants import SORT_KV
-from data import get_latest_data
-from geo import get_location
-from station import filter_df, sort_stations
from tabulate import tabulate
+from fnme.constants import SORT_KV
+from fnme.data import get_latest_data
+from fnme.geo import get_location
+from fnme.station import filter_df, sort_stations
+
def parse_args() -> argparse.Namespace:
parser = argparse.ArgumentParser()
diff --git a/fnme/data.py b/fnme/data.py
index 369d80f..bdec6df 100644
--- a/fnme/data.py
+++ b/fnme/data.py
@@ -3,7 +3,8 @@ from typing import Optional
import pandas as pd
import requests
-from constants import ENDPOINT, HEADERS
+
+from fnme.constants import ENDPOINT, HEADERS
def get_latest_data() -> tuple[pd.DataFrame, Optional[str]]:
diff --git a/fnme/station.py b/fnme/station.py
index e5112c3..c971173 100644
--- a/fnme/station.py
+++ b/fnme/station.py
@@ -4,7 +4,8 @@ from typing import Any, Dict, List, Tuple
import numpy as np
import pandas as pd
-from constants import SORT_KV
+
+from fnme.constants import SORT_KV
def filter_df(
git.ajschof.me — hosted by ajschofield — powered by cgit