Spaces:
Runtime error
Runtime error
Create Pyproject .TOML
Browse files- Pyproject .TOML +59 -0
Pyproject .TOML
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[build-system]
|
| 2 |
+
requires = ["hatchling"]
|
| 3 |
+
build-backend = "hatchling.build"
|
| 4 |
+
|
| 5 |
+
[project]
|
| 6 |
+
name = "lex-mcp"
|
| 7 |
+
version = "0.1.0"
|
| 8 |
+
description = "Assistente jurídico via MCP + Hugging Face Hub — busca modelos, explora datasets de jurisprudência, analisa textos legais e roda inferência NLP ao vivo."
|
| 9 |
+
readme = "README.md"
|
| 10 |
+
license = { text = "Apache-2.0" }
|
| 11 |
+
requires-python = ">=3.10"
|
| 12 |
+
keywords = ["legal", "nlp", "mcp", "huggingface", "jurisprudência", "direito", "model-context-protocol"]
|
| 13 |
+
classifiers = [
|
| 14 |
+
"Development Status :: 3 - Alpha",
|
| 15 |
+
"Intended Audience :: Legal Industry",
|
| 16 |
+
"Intended Audience :: Developers",
|
| 17 |
+
"Topic :: Scientific/Engineering :: Artificial Intelligence",
|
| 18 |
+
"Natural Language :: Portuguese (Brazilian)",
|
| 19 |
+
"Programming Language :: Python :: 3.10",
|
| 20 |
+
"Programming Language :: Python :: 3.11",
|
| 21 |
+
"Programming Language :: Python :: 3.12",
|
| 22 |
+
]
|
| 23 |
+
|
| 24 |
+
dependencies = [
|
| 25 |
+
"fastmcp>=0.4.0",
|
| 26 |
+
"huggingface-hub>=0.23.0",
|
| 27 |
+
"datasets>=2.19.0",
|
| 28 |
+
"httpx>=0.27.0",
|
| 29 |
+
]
|
| 30 |
+
|
| 31 |
+
[project.optional-dependencies]
|
| 32 |
+
dev = [
|
| 33 |
+
"pytest>=8.0",
|
| 34 |
+
"pytest-asyncio>=0.23",
|
| 35 |
+
"ruff>=0.4",
|
| 36 |
+
"mypy>=1.10",
|
| 37 |
+
]
|
| 38 |
+
|
| 39 |
+
[project.scripts]
|
| 40 |
+
lex-mcp = "server:mcp.run"
|
| 41 |
+
|
| 42 |
+
[project.urls]
|
| 43 |
+
Homepage = "https://huggingface.co/spaces/youruser/lex-mcp"
|
| 44 |
+
Issues = "https://github.com/youruser/lex-mcp/issues"
|
| 45 |
+
|
| 46 |
+
[tool.hatch.build.targets.wheel]
|
| 47 |
+
packages = ["."]
|
| 48 |
+
|
| 49 |
+
[tool.ruff]
|
| 50 |
+
line-length = 100
|
| 51 |
+
target-version = "py310"
|
| 52 |
+
|
| 53 |
+
[tool.ruff.lint]
|
| 54 |
+
select = ["E", "F", "I", "UP"]
|
| 55 |
+
|
| 56 |
+
[tool.mypy]
|
| 57 |
+
python_version = "3.10"
|
| 58 |
+
strict = true
|
| 59 |
+
ignore_missing_imports = true
|