mirror of
https://github.com/Textualize/textual-serve.git
synced 2025-10-17 02:50:37 +03:00
initial framework
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,4 +1,5 @@
|
||||
# Byte-compiled / optimized / DLL files
|
||||
.venv/
|
||||
__pycache__/
|
||||
*.py[cod]
|
||||
*$py.class
|
||||
|
||||
1
.python-version
Normal file
1
.python-version
Normal file
@@ -0,0 +1 @@
|
||||
3.12.3
|
||||
28
pyproject.toml
Normal file
28
pyproject.toml
Normal file
@@ -0,0 +1,28 @@
|
||||
[project]
|
||||
name = "textual-serve"
|
||||
version = "0.1.0"
|
||||
description = "Add your description here"
|
||||
authors = [
|
||||
{ name = "Will McGugan", email = "willmcgugan@gmail.com" }
|
||||
]
|
||||
dependencies = [
|
||||
"textual>=0.66.0",
|
||||
"aiohttp>=3.9.5",
|
||||
"aiohttp-jinja2>=1.6",
|
||||
]
|
||||
readme = "README.md"
|
||||
requires-python = ">= 3.8"
|
||||
|
||||
[build-system]
|
||||
requires = ["hatchling"]
|
||||
build-backend = "hatchling.build"
|
||||
|
||||
[tool.rye]
|
||||
managed = true
|
||||
dev-dependencies = []
|
||||
|
||||
[tool.hatch.metadata]
|
||||
allow-direct-references = true
|
||||
|
||||
[tool.hatch.build.targets.wheel]
|
||||
packages = ["src/textual_serve"]
|
||||
54
requirements-dev.lock
Normal file
54
requirements-dev.lock
Normal file
@@ -0,0 +1,54 @@
|
||||
# generated by rye
|
||||
# use `rye lock` or `rye sync` to update this lockfile
|
||||
#
|
||||
# last locked with the following flags:
|
||||
# pre: false
|
||||
# features: []
|
||||
# all-features: false
|
||||
# with-sources: false
|
||||
# generate-hashes: false
|
||||
|
||||
-e file:.
|
||||
aiohttp==3.9.5
|
||||
# via aiohttp-jinja2
|
||||
# via textual-serve
|
||||
aiohttp-jinja2==1.6
|
||||
# via textual-serve
|
||||
aiosignal==1.3.1
|
||||
# via aiohttp
|
||||
attrs==23.2.0
|
||||
# via aiohttp
|
||||
frozenlist==1.4.1
|
||||
# via aiohttp
|
||||
# via aiosignal
|
||||
idna==3.7
|
||||
# via yarl
|
||||
jinja2==3.1.4
|
||||
# via aiohttp-jinja2
|
||||
linkify-it-py==2.0.3
|
||||
# via markdown-it-py
|
||||
markdown-it-py==3.0.0
|
||||
# via mdit-py-plugins
|
||||
# via rich
|
||||
# via textual
|
||||
markupsafe==2.1.5
|
||||
# via jinja2
|
||||
mdit-py-plugins==0.4.1
|
||||
# via markdown-it-py
|
||||
mdurl==0.1.2
|
||||
# via markdown-it-py
|
||||
multidict==6.0.5
|
||||
# via aiohttp
|
||||
# via yarl
|
||||
pygments==2.18.0
|
||||
# via rich
|
||||
rich==13.7.1
|
||||
# via textual
|
||||
textual==0.66.0
|
||||
# via textual-serve
|
||||
typing-extensions==4.12.2
|
||||
# via textual
|
||||
uc-micro-py==1.0.3
|
||||
# via linkify-it-py
|
||||
yarl==1.9.4
|
||||
# via aiohttp
|
||||
54
requirements.lock
Normal file
54
requirements.lock
Normal file
@@ -0,0 +1,54 @@
|
||||
# generated by rye
|
||||
# use `rye lock` or `rye sync` to update this lockfile
|
||||
#
|
||||
# last locked with the following flags:
|
||||
# pre: false
|
||||
# features: []
|
||||
# all-features: false
|
||||
# with-sources: false
|
||||
# generate-hashes: false
|
||||
|
||||
-e file:.
|
||||
aiohttp==3.9.5
|
||||
# via aiohttp-jinja2
|
||||
# via textual-serve
|
||||
aiohttp-jinja2==1.6
|
||||
# via textual-serve
|
||||
aiosignal==1.3.1
|
||||
# via aiohttp
|
||||
attrs==23.2.0
|
||||
# via aiohttp
|
||||
frozenlist==1.4.1
|
||||
# via aiohttp
|
||||
# via aiosignal
|
||||
idna==3.7
|
||||
# via yarl
|
||||
jinja2==3.1.4
|
||||
# via aiohttp-jinja2
|
||||
linkify-it-py==2.0.3
|
||||
# via markdown-it-py
|
||||
markdown-it-py==3.0.0
|
||||
# via mdit-py-plugins
|
||||
# via rich
|
||||
# via textual
|
||||
markupsafe==2.1.5
|
||||
# via jinja2
|
||||
mdit-py-plugins==0.4.1
|
||||
# via markdown-it-py
|
||||
mdurl==0.1.2
|
||||
# via markdown-it-py
|
||||
multidict==6.0.5
|
||||
# via aiohttp
|
||||
# via yarl
|
||||
pygments==2.18.0
|
||||
# via rich
|
||||
rich==13.7.1
|
||||
# via textual
|
||||
textual==0.66.0
|
||||
# via textual-serve
|
||||
typing-extensions==4.12.2
|
||||
# via textual
|
||||
uc-micro-py==1.0.3
|
||||
# via linkify-it-py
|
||||
yarl==1.9.4
|
||||
# via aiohttp
|
||||
2
src/textual_serve/__init__.py
Normal file
2
src/textual_serve/__init__.py
Normal file
@@ -0,0 +1,2 @@
|
||||
def hello() -> str:
|
||||
return "Hello from textual-serve!"
|
||||
Reference in New Issue
Block a user