1+ [build-system ]
2+ requires = [" setuptools>=61.0" , " wheel" ]
3+ build-backend = " setuptools.build_meta"
4+
5+ [project ]
6+ name = " function-stream"
7+ dynamic = [" version" ]
8+ description = " FunctionStream SDK is a powerful Python library for building and deploying serverless streaming functions that runs on Function Stream platform."
9+ readme = " README.md"
10+ license = {text = " Apache-2.0" }
11+ authors = [
12+ {name = " FunctionStream Org" }
13+ ]
14+ maintainers = [
15+ {name = " FunctionStream Org" }
16+ ]
17+ keywords = [" serverless" , " functions" , " pulsar" , " event-driven" , " streaming" ]
18+ classifiers = [
19+ " Development Status :: 4 - Beta" ,
20+ " Intended Audience :: Developers" ,
21+ " License :: OSI Approved :: Apache Software License" ,
22+ " Operating System :: OS Independent" ,
23+ " Programming Language :: Python :: 3" ,
24+ " Programming Language :: Python :: 3.9" ,
25+ " Programming Language :: Python :: 3.10" ,
26+ " Programming Language :: Python :: 3.11" ,
27+ " Programming Language :: Python :: 3.12" ,
28+ " Topic :: Software Development :: Libraries :: Python Modules" ,
29+ " Topic :: System :: Distributed Computing" ,
30+ " Topic :: Internet :: WWW/HTTP :: HTTP Servers" ,
31+ " Topic :: System :: Networking" ,
32+ ]
33+ requires-python = " >=3.9"
34+ dependencies = [
35+ " pulsar-client>=3.0.0" ,
36+ " pyyaml>=6.0" ,
37+ " aiohttp>=3.8.0" ,
38+ " pydantic>=2.0.0" ,
39+ ]
40+
41+ [project .optional-dependencies ]
42+ dev = [
43+ " pytest>=7.0.0" ,
44+ " pytest-asyncio>=0.21.0" ,
45+ " black>=22.0.0" ,
46+ " flake8>=5.0.0" ,
47+ " mypy>=1.0.0" ,
48+ " pre-commit>=3.0.0" ,
49+ ]
50+ test = [
51+ " pytest>=7.0.0" ,
52+ " pytest-asyncio>=0.21.0" ,
53+ " pytest-cov>=4.0.0" ,
54+ ]
55+ docs = [
56+ " sphinx>=6.0.0" ,
57+ " sphinx-rtd-theme>=1.0.0" ,
58+ " myst-parser>=1.0.0" ,
59+ ]
60+
61+ [project .urls ]
62+ Homepage = " https://github.com/functionstream/function-stream"
63+ Documentation = " https://github.com/functionstream/function-stream/tree/main/sdks/fs-python"
64+ Repository = " https://github.com/functionstream/function-stream"
65+ "Bug Tracker" = " https://github.com/functionstream/function-stream/issues"
66+ "Source Code" = " https://github.com/functionstream/function-stream"
67+
68+ [tool .setuptools .dynamic ]
69+ version = {attr = " function_stream.__version__" }
70+
71+ [tool .setuptools .packages .find ]
72+ where = [" ." ]
73+ include = [" function_stream*" ]
74+ exclude = [" tests*" , " examples*" ]
75+
76+ [tool .black ]
77+ line-length = 88
78+ target-version = [' py39' ]
79+ include = ' \.pyi?$'
80+ extend-exclude = '''
81+ /(
82+ # directories
83+ \.eggs
84+ | \.git
85+ | \.hg
86+ | \.mypy_cache
87+ | \.tox
88+ | \.venv
89+ | build
90+ | dist
91+ )/
92+ '''
93+
94+ [tool .isort ]
95+ profile = " black"
96+ multi_line_output = 3
97+ line_length = 88
98+ known_first_party = [" function_stream" ]
99+
100+ [tool .pytest .ini_options ]
101+ minversion = " 7.0"
102+ addopts = " -ra -q --strict-markers --strict-config"
103+ testpaths = [" tests" ]
104+ python_files = [" test_*.py" , " *_test.py" ]
105+ python_classes = [" Test*" ]
106+ python_functions = [" test_*" ]
107+ markers = [
108+ " slow: marks tests as slow (deselect with '-m \" not slow\" ')" ,
109+ " integration: marks tests as integration tests" ,
110+ " unit: marks tests as unit tests" ,
111+ ]
0 commit comments