Skip to content

Commit

Permalink
rename to linguaphoto
Browse files Browse the repository at this point in the history
  • Loading branch information
codekansas committed Jun 10, 2024
1 parent d093775 commit 88ceaf8
Show file tree
Hide file tree
Showing 31 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1 +1 @@
recursive-include photolingo/ *.py *.txt py.typed MANIFEST.in
recursive-include linguaphoto/ *.py *.txt py.typed MANIFEST.in
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# photolingo
# LinguaPhoto
2 changes: 1 addition & 1 deletion frontend/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<script src="https://cdn.jsdelivr.net/npm/react-bootstrap@next/dist/react-bootstrap.min.js" crossorigin></script>
<script>var Alert = ReactBootstrap.Alert;</script>

<title>photolingo</title>
<title>LinguaPhoto</title>
</head>

<body>
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/nav/TopNavbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const TopNavbar = () => {
<Navbar className="bg-body-tertiary justify-content-between" expand="lg">
<Container>
<Navbar.Brand as={Link} to="/">
PhotoLingo
LinguaPhoto
</Navbar.Brand>
<Navbar.Toggle />
<Navbar.Collapse className="justify-content-end">
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/pages/Home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const Home = () => {
>
<Row className="align-items-center">
<Col lg={4} md={8} sm={12}>
<h1 className="display-4">PhotoLingo</h1>
<h1 className="display-4">LinguaPhoto</h1>
<p className="lead">Visual language learning for everyone!</p>
<Row className="mt-3">
<GoogleAuthComponent />
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
14 changes: 7 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions tests/test_users.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 88ceaf8

Please sign in to comment.