-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
97 lines (94 loc) · 3.53 KB
/
Copy pathsetup.py
File metadata and controls
97 lines (94 loc) · 3.53 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
"""
Setup for nui-python-shared-utils package.
"""
from setuptools import setup, find_packages
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
setup(
name="nui-python-shared-utils",
use_scm_version=True,
setup_requires=["setuptools-scm>=8.0"],
author="NUI Markets",
author_email="develop@nuimarkets.com",
description="Shared Python utilities for AWS Lambda, CLI tools, and agents with Slack, Elasticsearch, and monitoring integrations",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/nuimarkets/nui-python-shared-utils",
project_urls={
"Bug Tracker": "https://github.com/nuimarkets/nui-python-shared-utils/issues",
"Documentation": "https://github.com/nuimarkets/nui-python-shared-utils/blob/main/README.md",
"Source": "https://github.com/nuimarkets/nui-python-shared-utils",
},
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: System :: Monitoring",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Environment :: Console",
"Framework :: AWS CDK",
],
packages=find_packages(),
package_data={
"nui_shared_utils": ["slack_setup/*.yaml"],
},
install_requires=[
"boto3>=1.20.0",
"pytz>=2021.3",
"click>=8.0.0",
"pyyaml>=6.0",
],
extras_require={
"elasticsearch": ["elasticsearch>=7.17.0,<8.0.0"],
"database": ["pymysql>=1.0.0", "psycopg2-binary>=2.9.0"],
"slack": ["slack-sdk>=3.19.0"],
"powertools": [
"aws-lambda-powertools>=3.6.0,<4.0.0",
"coloredlogs>=15.0",
],
"jwt": ["rsa>=4.9"],
# Pinned to the published PyPI release (no direct-URL deps, PyPI rejects
# those on upload). Kept out of "all": opt-in.
"snowflake": [
"snowflake-sql-api>=0.1.1,<0.2.0",
],
# Anthropic (Claude) helper. anthropic[bedrock] covers both auth modes
# (API key + Bedrock IAM). Kept out of "all" (same as snowflake): the
# SDK is specialized and opt-in. Keep in sync with pyproject.toml.
"llm": ["anthropic[bedrock]>=0.45.0,<1.0.0"],
"all": [
"elasticsearch>=7.17.0,<8.0.0",
"pymysql>=1.0.0",
"psycopg2-binary>=2.9.0",
"slack-sdk>=3.19.0",
"aws-lambda-powertools>=3.6.0,<4.0.0",
"coloredlogs>=15.0",
"rsa>=4.9",
],
"dev": [
"pytest>=7.0.0",
"pytest-cov>=4.0.0",
"pytest-mock>=3.10.0",
"moto>=4.0.0",
"black>=22.0.0",
"mypy>=0.990",
"boto3-stubs[essential]>=1.20.0",
"types-PyYAML>=6.0.0",
"types-pytz>=2021.3.0",
"twine>=4.0.0",
"build>=0.8.0",
"rsa>=4.9",
"cryptography>=41.0.0",
"anthropic[bedrock]>=0.45.0,<1.0.0",
],
},
python_requires=">=3.9",
keywords="aws lambda utilities slack elasticsearch monitoring serverless python shared",
)