diff --git a/pyproject.toml b/pyproject.toml index 7f3bc4a..f0b96a8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,7 +3,7 @@ requires = ["hatchling", "hatch-regex-commit"] build-backend = "hatchling.build" [project] -name = "pyuptimekuma" +name = "pythonkuma" dynamic = ["version"] description = "Simple Python wrapper for Uptime Kuma" readme = "README.md" @@ -28,16 +28,16 @@ dev = [ ] [project.urls] -Source = "https://github.com/tr4nt0r/python-uptimekuma" +Source = "https://github.com/tr4nt0r/pythonkuma" [tool.hatch.version] source = "regex_commit" commit_extra_args = ["-e"] -path = "pyuptimekuma/__init__.py" +path = "pythonkuma/__init__.py" [tool.hatch.build.targets.sdist] include = [ - "/pyuptimekuma", + "/pythonkuma", ] [tool.ruff] @@ -51,7 +51,7 @@ ignore = ["TRY003", "N818"] [tool.ruff.lint.isort] force-sort-within-sections = true -known-first-party = ["pyuptimekuma"] +known-first-party = ["pythonkuma"] combine-as-imports = true split-on-trailing-comma = false diff --git a/pyuptimekuma/__init__.py b/pythonkuma/__init__.py similarity index 100% rename from pyuptimekuma/__init__.py rename to pythonkuma/__init__.py diff --git a/pyuptimekuma/const.py b/pythonkuma/const.py similarity index 100% rename from pyuptimekuma/const.py rename to pythonkuma/const.py diff --git a/pyuptimekuma/decorator.py b/pythonkuma/decorator.py similarity index 98% rename from pyuptimekuma/decorator.py rename to pythonkuma/decorator.py index 3b9ff59..c8dc18d 100644 --- a/pyuptimekuma/decorator.py +++ b/pythonkuma/decorator.py @@ -5,8 +5,7 @@ import aiohttp -from pyuptimekuma import exceptions - +from . import exceptions from .const import LOGGER from .models import UptimeKumaApiResponse diff --git a/pyuptimekuma/exceptions.py b/pythonkuma/exceptions.py similarity index 100% rename from pyuptimekuma/exceptions.py rename to pythonkuma/exceptions.py diff --git a/pyuptimekuma/models.py b/pythonkuma/models.py similarity index 100% rename from pyuptimekuma/models.py rename to pythonkuma/models.py diff --git a/pyuptimekuma/py.typed b/pythonkuma/py.typed similarity index 100% rename from pyuptimekuma/py.typed rename to pythonkuma/py.typed diff --git a/pyuptimekuma/uptimekuma.py b/pythonkuma/uptimekuma.py similarity index 100% rename from pyuptimekuma/uptimekuma.py rename to pythonkuma/uptimekuma.py