alhajjaj commited on
Commit
c5a6c31
·
verified ·
1 Parent(s): 3b2849f

Upload pyproject.toml with huggingface_hub

Browse files
Files changed (1) hide show
  1. pyproject.toml +115 -0
pyproject.toml ADDED
@@ -0,0 +1,115 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [build-system]
2
+ requires = ["hatchling>=1.24"]
3
+ build-backend = "hatchling.build"
4
+
5
+ [project]
6
+ name = "warraqa"
7
+ version = "1.0.0"
8
+ description = "Warraqa (ورّاقة) — Document Scribe Agent. Converts PDFs and Word/PowerPoint files to clean Markdown with self-scoring."
9
+ readme = "README.md"
10
+ requires-python = ">=3.10"
11
+ license = { file = "LICENSE" }
12
+ authors = [
13
+ { name = "AALAM Studio", email = "contact@aalam.consulting" },
14
+ ]
15
+ maintainers = [
16
+ { name = "AALAM Studio", email = "contact@aalam.consulting" },
17
+ ]
18
+ keywords = [
19
+ "markdown",
20
+ "pdf",
21
+ "docx",
22
+ "pptx",
23
+ "ocr",
24
+ "document-conversion",
25
+ "marker",
26
+ "pymupdf",
27
+ "markitdown",
28
+ "rag",
29
+ "knowledge-base",
30
+ ]
31
+ classifiers = [
32
+ # PolyForm Noncommercial is not OSI-approved, so we use the closest
33
+ # "Other/Proprietary License" classifier and surface the real terms
34
+ # via `License-File`. See LICENSE for full text.
35
+ "License :: Other/Proprietary License",
36
+ "Development Status :: 5 - Production/Stable",
37
+ "Intended Audience :: End Users/Desktop",
38
+ "Intended Audience :: Science/Research",
39
+ "Intended Audience :: Education",
40
+ "Operating System :: Microsoft :: Windows",
41
+ "Operating System :: POSIX :: Linux",
42
+ "Operating System :: MacOS",
43
+ "Programming Language :: Python :: 3",
44
+ "Programming Language :: Python :: 3.10",
45
+ "Programming Language :: Python :: 3.11",
46
+ "Programming Language :: Python :: 3.12",
47
+ "Programming Language :: Python :: 3.13",
48
+ "Topic :: Office/Business",
49
+ "Topic :: Text Processing :: Markup :: Markdown",
50
+ "Topic :: Scientific/Engineering :: Artificial Intelligence",
51
+ ]
52
+ dependencies = [
53
+ # Core conversion engines
54
+ "marker-pdf",
55
+ "pymupdf4llm",
56
+ "markitdown[all]",
57
+ # Configuration + console
58
+ "pyyaml",
59
+ "rich",
60
+ # File detection
61
+ "python-magic-bin; sys_platform == 'win32'",
62
+ "python-magic; sys_platform != 'win32'",
63
+ # Folder watching
64
+ "watchdog",
65
+ # Legacy .doc / .ppt pre-conversion (Windows + MS Office)
66
+ "pywin32; sys_platform == 'win32'",
67
+ ]
68
+
69
+ [project.optional-dependencies]
70
+ dev = [
71
+ "ruff>=0.5",
72
+ "pytest>=8",
73
+ ]
74
+
75
+ [project.urls]
76
+ Homepage = "https://github.com/AALAM-Studio/warraqa"
77
+ Repository = "https://github.com/AALAM-Studio/warraqa"
78
+ Issues = "https://github.com/AALAM-Studio/warraqa/issues"
79
+ Changelog = "https://github.com/AALAM-Studio/warraqa/blob/main/CHANGELOG.md"
80
+ "Commercial License" = "https://www.aalam.consulting/"
81
+
82
+ [project.scripts]
83
+ warraqa = "warraqa.cli:main"
84
+
85
+ [tool.hatch.build.targets.wheel]
86
+ packages = ["warraqa"]
87
+
88
+ [tool.hatch.build.targets.sdist]
89
+ include = [
90
+ "warraqa/**",
91
+ "config.yaml",
92
+ "README.md",
93
+ "LICENSE",
94
+ "CHANGELOG.md",
95
+ "CONTRIBUTING.md",
96
+ "SECURITY.md",
97
+ "CITATION.cff",
98
+ ]
99
+
100
+ # --- Linting ---
101
+ [tool.ruff]
102
+ line-length = 100
103
+ target-version = "py310"
104
+
105
+ [tool.ruff.lint]
106
+ select = [
107
+ "E", # pycodestyle errors
108
+ "F", # pyflakes
109
+ "I", # isort
110
+ "B", # bugbear
111
+ "UP", # pyupgrade
112
+ ]
113
+ ignore = [
114
+ "E501", # line too long — long log messages are fine
115
+ ]