forked from nicolasguelfi/streamtex
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
124 lines (112 loc) · 3.77 KB
/
pyproject.toml
File metadata and controls
124 lines (112 loc) · 3.77 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
[build-system]
requires = ["setuptools>=68.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "streamtex"
version = "0.6.10"
description = "AI-powered content framework for Streamlit — create presentations, courses, and web-books with Claude or Cursor, no coding required."
readme = "README.md"
requires-python = ">=3.11"
license = "BUSL-1.1"
license-files = ["LICENSE"]
authors = [
{name = "Nicolas Guelfi", email = "nicolas.guelfi@laposte.net"},
]
keywords = [
"streamlit", "styled-components", "css-grid", "latex", "mermaid",
"presentation", "web-book", "course", "ai-assisted", "claude",
"cursor", "no-code", "generative-ai",
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Text Processing :: Markup",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Multimedia :: Graphics :: Presentation",
]
dependencies = [
"streamlit>=1.54.0",
"beautifulsoup4>=4.10.0",
"requests>=2.28.0",
"watchdog",
"graphviz>=0.21",
"matplotlib>=3.10.8",
"streamlit-mermaid>=0.3.0",
"mermaid-py>=0.5.0",
"python-dotenv>=1.2.1",
]
[project.scripts]
stx = "streamtex.cli.main:app"
[project.optional-dependencies]
inspector = ["streamlit-ace>=0.1.1"]
cli = [
"click>=8.0",
"rich>=13.0",
]
pdf = ["playwright>=1.40"]
ai = ["openai>=1.0", "google-genai>=1.0", "fal-client>=0.5", "Pillow>=10.0"]
ai-openai = ["openai>=1.0", "Pillow>=10.0"]
ai-google = ["google-genai>=1.0", "Pillow>=10.0"]
ai-fal = ["fal-client>=0.5", "Pillow>=10.0"]
[project.urls]
Homepage = "https://github.com/nicolasguelfi/streamtex"
Documentation = "https://github.com/nicolasguelfi/streamtex-docs"
"AI Guide" = "https://github.com/nicolasguelfi/streamtex/blob/main/AI_GUIDE.md"
"Claude Profiles" = "https://github.com/nicolasguelfi/streamtex-claude"
Repository = "https://github.com/nicolasguelfi/streamtex"
Changelog = "https://github.com/nicolasguelfi/streamtex/blob/main/CHANGELOG.md"
Issues = "https://github.com/nicolasguelfi/streamtex/issues"
Funding = "https://github.com/sponsors/nicolasguelfi"
[dependency-groups]
dev = [
"pytest>=7.0",
"ruff>=0.4.0",
"pre-commit>=3.0",
"click>=8.0",
"rich>=13.0",
"playwright>=1.58.0",
"openai>=2.26.0",
"google-genai>=1.66.0",
"fal-client>=0.13.1",
"build>=1.4.0",
"twine>=6.2.0",
]
[tool.setuptools.packages.find]
include = ["streamtex*"]
[tool.setuptools.package-data]
"streamtex.static" = ["*.css", "*.png"]
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["."]
addopts = "-m 'not live'"
markers = [
"live: tests that call external APIs (OpenAI, Google, fal.ai) — run with: uv run pytest -m live",
]
[tool.uv]
default-groups = ["dev"]
[tool.ruff]
target-version = "py311"
line-length = 120
[tool.ruff.lint]
select = ["E", "F", "I", "W"]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401", "I001", "E402"]
# Files with embedded HTML/CSS/JS/SVG strings that cannot be shortened
"streamtex/bib_preview.py" = ["E501"]
"streamtex/marker.py" = ["E501"]
"streamtex/collection.py" = ["E501"]
"streamtex/grid.py" = ["E501"]
"streamtex/link_preview.py" = ["E501"]
"streamtex/list.py" = ["E501"]
"streamtex/image.py" = ["E501"]
# Re-export file with intentional import organization by section
"streamtex/utils.py" = ["I001"]
# Test files: F841 = unused mock variables (legitimate pattern), E501 = long assertion strings, E741 = single-letter vars
"tests/**/*.py" = ["F841", "E501", "E741"]