refactor
This commit is contained in:
parent
bcea6da633
commit
cdd4b3ca1f
Binary file not shown.
|
@ -1,4 +1,4 @@
|
||||||
"""Main FastAPI application for Gentle Momentum Reader."""
|
"""Main FastAPI application for Slow Reader."""
|
||||||
|
|
||||||
import asyncio
|
import asyncio
|
||||||
import json
|
import json
|
||||||
|
@ -26,7 +26,7 @@ try:
|
||||||
except LookupError:
|
except LookupError:
|
||||||
nltk.download("punkt_tab")
|
nltk.download("punkt_tab")
|
||||||
|
|
||||||
app = FastAPI(title="Gentle Momentum Reader")
|
app = FastAPI(title="Slow Reader")
|
||||||
|
|
||||||
app.add_middleware(
|
app.add_middleware(
|
||||||
CORSMiddleware,
|
CORSMiddleware,
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"name": "gentle-momentum-reader-frontend",
|
"name": "slow-reader-frontend",
|
||||||
"version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
[project]
|
[project]
|
||||||
name = "gentle-momentum-reader"
|
name = "slow-reader"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
description = "A web-based reading tool that creates meaningful friction"
|
description = "A web-based reading tool that creates meaningful friction"
|
||||||
authors = [{name = "Developer", email = "dev@example.com"}]
|
authors = [{name = "Gal", email = "mail@velouria.dev"}]
|
||||||
requires-python = ">=3.11"
|
requires-python = ">=3.11"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"fastapi>=0.104.0",
|
"fastapi>=0.104.0",
|
||||||
|
@ -21,7 +21,7 @@ requires = ["hatchling"]
|
||||||
build-backend = "hatchling.build"
|
build-backend = "hatchling.build"
|
||||||
|
|
||||||
[tool.hatch.build.targets.wheel]
|
[tool.hatch.build.targets.wheel]
|
||||||
packages = ["src/gentle_momentum_reader"]
|
packages = ["src/slow_reader"]
|
||||||
|
|
||||||
[tool.ruff]
|
[tool.ruff]
|
||||||
line-length = 88
|
line-length = 88
|
||||||
|
|
Loading…
Reference in New Issue