aboutsummaryrefslogtreecommitdiffstats
path: root/fnme
diff options
context:
space:
mode:
authorAlex Schofield <git@ajschof.me>2026-05-03 19:55:31 +0100
committerAlex Schofield <git@ajschof.me>2026-05-03 19:55:31 +0100
commit4264ced9fa14b689acc18169b2c1cae72d3ce667 (patch)
tree93fd19349e0f60ca4d8708ead9014a3cb9e9c50a /fnme
parentd0e905285691d73f2cf7e45a88dbadf631620f0a (diff)
downloadfuelnearme-4264ced9fa14b689acc18169b2c1cae72d3ce667.tar.gz
fuelnearme-4264ced9fa14b689acc18169b2c1cae72d3ce667.zip
fix import paths & update pyproject.toml
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