-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
79 lines (70 loc) · 2.33 KB
/
Copy pathpyproject.toml
File metadata and controls
79 lines (70 loc) · 2.33 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
# Python SDK for the Bird email platform (ADR-0045).
# Distribution name is `messagebird-sdk` on PyPI; the import package is `bird`.
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "messagebird-sdk"
description = "The official Python SDK for the Bird email platform."
readme = "README.md"
license = "MIT"
authors = [{ name = "Bird" }]
dynamic = ["version"]
requires-python = ">=3.10"
keywords = ["bird", "email", "webhooks", "sdk", "api"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Communications :: Email",
"Typing :: Typed",
]
dependencies = [
"pydantic>=2.0",
"httpx>=0.27",
]
[project.urls]
Homepage = "https://bird.com"
Documentation = "https://bird.com/docs/sdks/python"
"API Reference" = "https://bird.com/docs/api"
Repository = "https://github.com/messagebird/bird-sdk-python.git"
Issues = "https://github.com/messagebird/bird-sdk-python/issues"
[project.optional-dependencies]
dev = [
"pytest>=8",
"pytest-asyncio>=0.24",
"respx>=0.21",
"ruff>=0.6",
"pyright>=1.1",
"pyyaml>=6",
# Web frameworks used only by the homepage integration examples under
# examples/python/ — dev-only so they type-check (pyright) but never ship
# in the wheel (runtime deps stay httpx + pydantic).
"django>=4.2",
"flask>=3.0",
"fastapi>=0.111",
"starlette>=0.37",
]
[tool.hatch.version]
path = "src/bird/_version.py"
[tool.hatch.build.targets.wheel]
packages = ["src/bird"]
# Curate the sdist: ship the package, README, and LICENSE — not the internal agent
# docs (AGENTS.md / CLAUDE.md), tests, or the generator script.
[tool.hatch.build.targets.sdist]
include = ["/src/bird", "/README.md", "/LICENSE"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
[tool.ruff]
line-length = 100
target-version = "py310"
extend-exclude = ["src/bird/_generated.py"] # generated; never hand-edited
[tool.pyright]
include = ["src", "tests", "examples"]
ignore = ["src/bird/_generated.py"] # generated; not held to the hand-written type bar
pythonVersion = "3.10"