diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 7e772fc..926c7f1 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -18,7 +18,7 @@ concurrency:
cancel-in-progress: true
env:
- PHOTOLINGO_ENVIRONMENT: local
+ LINGUAPHOTO_ENVIRONMENT: local
JWT_SECRET: test
AWS_ACCESS_KEY_ID: test
AWS_SECRET_ACCESS_KEY: test
diff --git a/MANIFEST.in b/MANIFEST.in
index b2e8e40..63d9323 100644
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -1 +1 @@
-recursive-include photolingo/ *.py *.txt py.typed MANIFEST.in
+recursive-include linguaphoto/ *.py *.txt py.typed MANIFEST.in
diff --git a/README.md b/README.md
index 90d581b..3b26972 100644
--- a/README.md
+++ b/README.md
@@ -1 +1 @@
-# photolingo
+# LinguaPhoto
diff --git a/frontend/public/index.html b/frontend/public/index.html
index 48e98d5..a5734dd 100644
--- a/frontend/public/index.html
+++ b/frontend/public/index.html
@@ -16,7 +16,7 @@
-
photolingo
+ LinguaPhoto
diff --git a/frontend/src/components/nav/TopNavbar.tsx b/frontend/src/components/nav/TopNavbar.tsx
index 646a155..9b1c9cb 100644
--- a/frontend/src/components/nav/TopNavbar.tsx
+++ b/frontend/src/components/nav/TopNavbar.tsx
@@ -14,7 +14,7 @@ const TopNavbar = () => {
- PhotoLingo
+ LinguaPhoto
diff --git a/frontend/src/pages/Home.tsx b/frontend/src/pages/Home.tsx
index 71840b3..c129e49 100644
--- a/frontend/src/pages/Home.tsx
+++ b/frontend/src/pages/Home.tsx
@@ -11,7 +11,7 @@ const Home = () => {
>
- PhotoLingo
+ LinguaPhoto
Visual language learning for everyone!
diff --git a/photolingo/__init__.py b/linguaphoto/__init__.py
similarity index 100%
rename from photolingo/__init__.py
rename to linguaphoto/__init__.py
diff --git a/photolingo/crud/__init__.py b/linguaphoto/crud/__init__.py
similarity index 100%
rename from photolingo/crud/__init__.py
rename to linguaphoto/crud/__init__.py
diff --git a/photolingo/crud/base.py b/linguaphoto/crud/base.py
similarity index 100%
rename from photolingo/crud/base.py
rename to linguaphoto/crud/base.py
diff --git a/photolingo/crud/robots.py b/linguaphoto/crud/robots.py
similarity index 100%
rename from photolingo/crud/robots.py
rename to linguaphoto/crud/robots.py
diff --git a/photolingo/crud/users.py b/linguaphoto/crud/users.py
similarity index 100%
rename from photolingo/crud/users.py
rename to linguaphoto/crud/users.py
diff --git a/photolingo/crypto.py b/linguaphoto/crypto.py
similarity index 100%
rename from photolingo/crypto.py
rename to linguaphoto/crypto.py
diff --git a/photolingo/db.py b/linguaphoto/db.py
similarity index 100%
rename from photolingo/db.py
rename to linguaphoto/db.py
diff --git a/photolingo/main.py b/linguaphoto/main.py
similarity index 100%
rename from photolingo/main.py
rename to linguaphoto/main.py
diff --git a/photolingo/model.py b/linguaphoto/model.py
similarity index 100%
rename from photolingo/model.py
rename to linguaphoto/model.py
diff --git a/photolingo/py.typed b/linguaphoto/py.typed
similarity index 100%
rename from photolingo/py.typed
rename to linguaphoto/py.typed
diff --git a/photolingo/requirements-dev.txt b/linguaphoto/requirements-dev.txt
similarity index 100%
rename from photolingo/requirements-dev.txt
rename to linguaphoto/requirements-dev.txt
diff --git a/photolingo/requirements.txt b/linguaphoto/requirements.txt
similarity index 100%
rename from photolingo/requirements.txt
rename to linguaphoto/requirements.txt
diff --git a/photolingo/routers/__init__.py b/linguaphoto/routers/__init__.py
similarity index 100%
rename from photolingo/routers/__init__.py
rename to linguaphoto/routers/__init__.py
diff --git a/photolingo/routers/part.py b/linguaphoto/routers/part.py
similarity index 100%
rename from photolingo/routers/part.py
rename to linguaphoto/routers/part.py
diff --git a/photolingo/routers/robot.py b/linguaphoto/routers/robot.py
similarity index 100%
rename from photolingo/routers/robot.py
rename to linguaphoto/routers/robot.py
diff --git a/photolingo/routers/users.py b/linguaphoto/routers/users.py
similarity index 100%
rename from photolingo/routers/users.py
rename to linguaphoto/routers/users.py
diff --git a/photolingo/settings/__init__.py b/linguaphoto/settings/__init__.py
similarity index 100%
rename from photolingo/settings/__init__.py
rename to linguaphoto/settings/__init__.py
diff --git a/photolingo/settings/configs/local.yaml b/linguaphoto/settings/configs/local.yaml
similarity index 100%
rename from photolingo/settings/configs/local.yaml
rename to linguaphoto/settings/configs/local.yaml
diff --git a/photolingo/settings/configs/production.yaml b/linguaphoto/settings/configs/production.yaml
similarity index 100%
rename from photolingo/settings/configs/production.yaml
rename to linguaphoto/settings/configs/production.yaml
diff --git a/photolingo/settings/environment.py b/linguaphoto/settings/environment.py
similarity index 100%
rename from photolingo/settings/environment.py
rename to linguaphoto/settings/environment.py
diff --git a/photolingo/utils/__init__.py b/linguaphoto/utils/__init__.py
similarity index 100%
rename from photolingo/utils/__init__.py
rename to linguaphoto/utils/__init__.py
diff --git a/photolingo/utils/email.py b/linguaphoto/utils/email.py
similarity index 100%
rename from photolingo/utils/email.py
rename to linguaphoto/utils/email.py
diff --git a/pyproject.toml b/pyproject.toml
index ed75e68..455bfe6 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -67,7 +67,7 @@ dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
[tool.ruff.lint.isort]
-known-first-party = ["photolingo", "tests"]
+known-first-party = ["linguaphoto", "tests"]
combine-as-imports = true
[tool.ruff.lint.pydocstyle]
diff --git a/setup.py b/setup.py
index fbd5522..e3c7725 100644
--- a/setup.py
+++ b/setup.py
@@ -10,26 +10,26 @@
long_description: str = f.read()
-with open("photolingo/requirements.txt", "r", encoding="utf-8") as f:
+with open("linguaphoto/requirements.txt", "r", encoding="utf-8") as f:
requirements: list[str] = f.read().splitlines()
-with open("photolingo/requirements-dev.txt", "r", encoding="utf-8") as f:
+with open("linguaphoto/requirements-dev.txt", "r", encoding="utf-8") as f:
requirements_dev: list[str] = f.read().splitlines()
-with open("photolingo/__init__.py", "r", encoding="utf-8") as fh:
+with open("linguaphoto/__init__.py", "r", encoding="utf-8") as fh:
version_re = re.search(r"^__version__ = \"([^\"]*)\"", fh.read(), re.MULTILINE)
-assert version_re is not None, "Could not find version in photolingo/__init__.py"
+assert version_re is not None, "Could not find version in linguaphoto/__init__.py"
version: str = version_re.group(1)
setup(
- name="photolingo",
+ name="linguaphoto",
version=version,
- description="The photolingo project",
+ description="The linguaphoto project",
author="Benjamin Bolte",
- url="https://github.com/kscalelabs/photolingo",
+ url="https://github.com/kscalelabs/linguaphoto",
long_description=long_description,
long_description_content_type="text/markdown",
python_requires=">=3.11",
diff --git a/tests/test_users.py b/tests/test_users.py
index 9245b47..7550b6c 100644
--- a/tests/test_users.py
+++ b/tests/test_users.py
@@ -5,8 +5,8 @@
from fastapi.testclient import TestClient
from pytest_mock.plugin import MockType
-from photolingo.db import create_tables
-from photolingo.utils.email import OneTimePassPayload
+from linguaphoto.db import create_tables
+from linguaphoto.utils.email import OneTimePassPayload
def test_user_auth_functions(app_client: TestClient, mock_send_email: MockType) -> None: