Skip to content

Commit

Permalink
Add copyright header to source files
Browse files Browse the repository at this point in the history
  • Loading branch information
MKuranowski committed Jul 28, 2024
1 parent 3c1944d commit b3f1ea2
Show file tree
Hide file tree
Showing 19 changed files with 57 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pyroutelib3/distance.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# © Copyright 2024 Mikołaj Kuranowski
# SPDX-License-Identifier: GPL-3.0-or-later

import math

from .protocols import DistanceFunction, Position
Expand Down
3 changes: 3 additions & 0 deletions pyroutelib3/kd.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# © Copyright 2024 Mikołaj Kuranowski
# SPDX-License-Identifier: GPL-3.0-or-later

from dataclasses import dataclass
from typing import Generic, Iterable, List, Optional, Tuple

Expand Down
3 changes: 3 additions & 0 deletions pyroutelib3/nx.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# © Copyright 2024 Mikołaj Kuranowski
# SPDX-License-Identifier: GPL-3.0-or-later

from dataclasses import dataclass
from operator import itemgetter
from typing import Any, Callable, Iterable, Mapping, Optional, Protocol, Tuple
Expand Down
3 changes: 3 additions & 0 deletions pyroutelib3/osm/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# © Copyright 2024 Mikołaj Kuranowski
# SPDX-License-Identifier: GPL-3.0-or-later

from . import reader
from .graph import Graph, GraphNode
from .live_graph import LiveGraph
Expand Down
3 changes: 3 additions & 0 deletions pyroutelib3/osm/graph.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# © Copyright 2024 Mikołaj Kuranowski
# SPDX-License-Identifier: GPL-3.0-or-later

import gc
import sys
from dataclasses import dataclass, field
Expand Down
3 changes: 3 additions & 0 deletions pyroutelib3/osm/live_graph.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# © Copyright 2024 Mikołaj Kuranowski
# SPDX-License-Identifier: GPL-3.0-or-later

from logging import getLogger
from math import asinh, atan, degrees, pi, radians, sinh, tan
from os import PathLike
Expand Down
3 changes: 3 additions & 0 deletions pyroutelib3/osm/profile.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# © Copyright 2024 Mikołaj Kuranowski
# SPDX-License-Identifier: GPL-3.0-or-later

from dataclasses import dataclass, field
from enum import Enum
from typing import ClassVar, Dict, List, Mapping, Optional, Protocol, Tuple
Expand Down
3 changes: 3 additions & 0 deletions pyroutelib3/osm/reader.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# © Copyright 2024 Mikołaj Kuranowski
# SPDX-License-Identifier: GPL-3.0-or-later

import bz2
import gzip
import io
Expand Down
3 changes: 3 additions & 0 deletions pyroutelib3/osm/test_graph.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# © Copyright 2024 Mikołaj Kuranowski
# SPDX-License-Identifier: GPL-3.0-or-later

# pyright: reportPrivateUsage=false

from pathlib import Path
Expand Down
3 changes: 3 additions & 0 deletions pyroutelib3/osm/test_live_graph.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# © Copyright 2024 Mikołaj Kuranowski
# SPDX-License-Identifier: GPL-3.0-or-later

# pyright: reportPrivateUsage=false

import os
Expand Down
3 changes: 3 additions & 0 deletions pyroutelib3/osm/test_profile.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# © Copyright 2024 Mikołaj Kuranowski
# SPDX-License-Identifier: GPL-3.0-or-later

from unittest import TestCase

from .profile import (
Expand Down
3 changes: 3 additions & 0 deletions pyroutelib3/osm/test_reader.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# © Copyright 2024 Mikołaj Kuranowski
# SPDX-License-Identifier: GPL-3.0-or-later

from pathlib import Path
from unittest import TestCase

Expand Down
3 changes: 3 additions & 0 deletions pyroutelib3/protocols.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# © Copyright 2024 Mikołaj Kuranowski
# SPDX-License-Identifier: GPL-3.0-or-later

from typing import Callable, Iterable, Protocol, Tuple, TypeVar

Position = Tuple[float, float]
Expand Down
3 changes: 3 additions & 0 deletions pyroutelib3/router.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# © Copyright 2024 Mikołaj Kuranowski
# SPDX-License-Identifier: GPL-3.0-or-later

from dataclasses import dataclass, field
from heapq import heappop, heappush
from math import inf
Expand Down
3 changes: 3 additions & 0 deletions pyroutelib3/simple_graph.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# © Copyright 2024 Mikołaj Kuranowski
# SPDX-License-Identifier: GPL-3.0-or-later

from dataclasses import dataclass, field
from typing import Dict, Iterable, Tuple

Expand Down
3 changes: 3 additions & 0 deletions pyroutelib3/test_distance.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# © Copyright 2024 Mikołaj Kuranowski
# SPDX-License-Identifier: GPL-3.0-or-later

from unittest import TestCase

from .distance import euclidean_distance, haversine_earth_distance, taxicab_distance
Expand Down
3 changes: 3 additions & 0 deletions pyroutelib3/test_kd.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# © Copyright 2024 Mikołaj Kuranowski
# SPDX-License-Identifier: GPL-3.0-or-later

from unittest import TestCase

from .kd import KDTree
Expand Down
3 changes: 3 additions & 0 deletions pyroutelib3/test_nx.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# © Copyright 2024 Mikołaj Kuranowski
# SPDX-License-Identifier: GPL-3.0-or-later

from dataclasses import dataclass
from operator import itemgetter
from typing import Any, Dict
Expand Down
3 changes: 3 additions & 0 deletions pyroutelib3/test_router.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# © Copyright 2024 Mikołaj Kuranowski
# SPDX-License-Identifier: GPL-3.0-or-later

from unittest import TestCase

from .distance import euclidean_distance
Expand Down

0 comments on commit b3f1ea2

Please sign in to comment.