-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
162 lines (149 loc) · 4.57 KB
/
Copy pathpyproject.toml
File metadata and controls
162 lines (149 loc) · 4.57 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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["python_alfresco_api"]
include = [
"examples/**/*",
"docs/**/*",
"config/**/*",
"tests/**/*",
"scripts/**/*"
]
[tool.hatch.build.targets.sdist]
only-include = [
"python_alfresco_api",
"examples",
"docs",
"config",
"openapi",
"tests",
"scripts",
"README.md",
"LICENSE",
"CHANGELOG.md",
"pyproject.toml",
".gitattributes",
"run_tests.py",
"sample-dot-env.txt",
]
exclude = [
"venv-3.14/**",
"venv/**",
".venv/**",
"venv-*/**",
]
[project]
name = "python-alfresco-api"
version = "1.2.1"
description = "Python Client for all Alfresco Content Services REST APIs, with Pydantic v2 Models, and Event Support"
authors = [
{name = "Steve Reiner", email = "example@example.com"}
]
readme = {file = "README.md", content-type = "text/markdown"}
license = {text = "Apache-2.0"}
requires-python = ">=3.10"
keywords = ["alfresco", "content-management", "rest-api", "ecm", "document-management"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Office/Business :: Office Suites",
]
# Core runtime dependencies (previously requirements.txt)
dependencies = [
"httpx>=0.25.0",
"requests>=2.31.0",
"aiohttp>=3.8.0",
"pydantic>=2.0.0,<3.0.0",
"attrs>=23.1.0",
"python-dateutil>=2.8.0",
"typing-extensions>=4.7.0",
"PyYAML>=6.0",
"stomp.py>=8.1.0", # ActiveMQ integration
"ujson>=5.7.0", # fast JSON parsing
"requests-oauthlib>=1.3.0", # OAuth support
"yarl>=1.9.0",
]
[project.optional-dependencies]
# Development / testing / docs (previously requirements-dev.txt): uv pip install -e ".[dev]"
dev = [
"pytest>=7.4.0",
"pytest-asyncio>=0.21.0",
"pytest-mock>=3.12.0",
"pytest-cov>=4.1.0",
"requests-mock>=1.11.0",
"coverage>=7.3.0",
"black>=23.0.0",
"mypy>=1.5.0",
"flake8>=6.0.0",
"isort>=5.12.0",
"build>=0.10.0",
"twine>=4.0.0",
"wheel>=0.41.0",
"setuptools>=68.0.0",
"sphinx>=7.1.0",
"mkdocs>=1.5.0",
"mkdocs-material>=9.0.0",
"ipython>=8.15.0",
]
# Model/client code generation (previously requirements-codegen.txt): uv pip install -e ".[codegen]"
codegen = [
"datamodel-code-generator[http]>=0.21.0", # Pydantic model generation
"openapi-python-client>=0.15.0", # HTTP client generation
"openapi-spec-validator>=0.6.0",
"openapi3>=1.8.0",
"openapi-schema-validator>=0.6.0",
"jq>=1.6.0", # JSON processing in scripts
]
[project.urls]
Homepage = "https://github.com/stevereiner/python-alfresco-api"
Repository = "https://github.com/stevereiner/python-alfresco-api"
Documentation = "https://github.com/stevereiner/python-alfresco-api/docs"
"Bug Tracker" = "https://github.com/stevereiner/python-alfresco-api/issues"
[tool.black]
line-length = 100
target-version = ['py310']
[tool.mypy]
python_version = "3.10"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
ignore_missing_imports = true
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
python_files = ["test_*.py", "*_test.py"]
python_functions = ["test_*"]
addopts = "-v --tb=short --ignore=tests/test_event_detection.py --ignore=tests/test_event_gateway_comprehensive.py --ignore=tests/test_current_architecture.py --ignore=tests/test_enhanced_coverage.py --ignore=tests/test_mcp_integration.py --ignore=tests/test_event_community_enterprise.py --ignore=tests/test_integration_live_server.py"
markers = [
"event: marks tests as event system tests (may require ActiveMQ/Event Gateway)",
"integration: marks tests as integration tests requiring live Alfresco server",
"asyncio: marks tests as async tests",
]
[tool.coverage.run]
source = ["python_alfresco_api"]
omit = [
"tests/*",
"python_alfresco_api/models/*",
"scripts/*",
"examples/*",
"run_tests.py"
]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"raise AssertionError",
"raise NotImplementedError",
]