-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
129 lines (120 loc) · 2.99 KB
/
Copy pathpyproject.toml
File metadata and controls
129 lines (120 loc) · 2.99 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
# Distribution name on PyPI. Note: an unrelated 2018-vintage package named
# `bcli` ("EC2 Cluster Creator") squats on that name on PyPI, so we publish
# under `bc-cli` instead. The Python import name (`import bcli`) and the
# installed CLI binary (`bcli`) are unaffected — only `pip install` /
# `uv tool install` use this name.
name = "bc-cli"
version = "0.6.1"
description = "Python SDK and CLI for Microsoft Dynamics 365 Business Central APIs"
readme = "README.md"
license = "Apache-2.0"
license-files = ["LICENSE", "NOTICE"]
requires-python = ">=3.11"
authors = [{ name = "Igor" }]
keywords = ["business-central", "dynamics-365", "odata", "cli", "sdk", "etl", "dlt"]
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Office/Business :: Financial :: Accounting",
]
dependencies = [
"httpx>=0.27",
"keyring>=25.0",
"msal>=1.28",
"pydantic>=2.0",
"pyyaml>=6.0",
"rich>=13.0",
"typer>=0.12",
"tomlkit>=0.13",
]
[project.urls]
Homepage = "https://github.com/igor-ctrl/bcli"
Repository = "https://github.com/igor-ctrl/bcli"
Issues = "https://github.com/igor-ctrl/bcli/issues"
Documentation = "https://github.com/igor-ctrl/bcli/tree/main/docs"
[project.scripts]
bcli = "bcli_cli.app:main"
bcli-mcp = "bcli_mcp:main"
[project.optional-dependencies]
# Backward-compatible no-op extra for existing install commands.
cli = []
etl = [
"dlt[parquet,filesystem,s3]>=1.0",
]
telemetry = [
"azure-monitor-opentelemetry>=1.6",
]
extract = [
"bc-cli[extract-claude]",
"bc-cli[extract-openai]",
]
extract-claude = [
"anthropic>=0.40",
"pypdf>=4.0",
]
extract-openai = [
"openai>=1.50",
"pypdf>=4.0",
]
ask = [
"bc-cli[ask-claude]",
"bc-cli[ask-openai]",
]
ask-claude = [
"anthropic>=0.40",
]
ask-openai = [
"openai>=1.50",
]
mcp = [
"mcp>=1.0",
]
polaris = [
"bc-cli[etl]",
"pyarrow>=16.0",
"pyiceberg[s3fs]>=0.7",
]
dev = [
"bc-cli[etl]",
"bc-cli[mcp]",
"bc-cli[extract]",
"bc-cli[ask]",
"pytest>=8.0",
"pytest-asyncio>=0.23",
"pytest-httpx>=0.30",
"ruff>=0.5",
]
[tool.hatch.build.targets.wheel]
packages = ["src/bcli", "src/bcli_cli", "src/bcli_mcp"]
[tool.hatch.build.targets.wheel.force-include]
"packs" = "bcli/packs/_builtin"
[tool.hatch.build.targets.sdist]
include = [
"src/",
"packs/",
"tests/",
"examples/",
"docs/",
"README.md",
"LICENSE",
"NOTICE",
"CHANGELOG.md",
"pyproject.toml",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"
[tool.ruff]
src = ["src"]
line-length = 100