-
Notifications
You must be signed in to change notification settings - Fork 16
/
pyproject.toml
69 lines (62 loc) · 2.18 KB
/
pyproject.toml
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
[tool.poetry]
name = "splunk-connect-for-snmp"
version = "1.12.1"
description = ""
authors = ["omrozowicz-splunk <omrozowicz@splunk.com>"]
license = "Apache-2.0"
include = ["splunk_connect_for_snmp/profiles/*.yaml"]
[tool.poetry.scripts]
traps = 'splunk_connect_for_snmp.traps:main'
inventory-loader = 'splunk_connect_for_snmp.inventory.loader:load'
run-walk = 'splunk_connect_for_snmp.walk:run_walk'
[tool.pytest.ini_options]
log_cli = true
log_cli_level = "DEBUG"
log_cli_format = "%(asctime)s [%(levelname)8s] %(message)s (%(filename)s:%(lineno)s)"
log_cli_date_format = "%Y-%m-%d %H:%M:%S"
testpaths = ["test"]
python_files = ["test_*.py"]
[tool.poetry.dependencies]
python = ">=3.8,<3.12"
pymongo = {extras = ["srv"], version = "^4.0.0"}
requests = {extras = ["crypto"], version = "^2.31.0"}
celery = {extras = ["tblib"], version = "5.4.0"}
pydantic = "^1.9.0"
opentelemetry-api = "^1.6.2"
opentelemetry-sdk = "^1.6.2"
opentelemetry-instrumentation-celery = "*"
opentelemetry-instrumentation-logging = "*"
opentelemetry-exporter-jaeger-thrift = "^1.10.0"
pyrate-limiter = "^2.10.0"
requests-cache = "^1.0.0"
requests-ratelimiter = "^0.7.0"
mongoengine = "^0.29.0"
celery-redbeat = {git = "https://github.com/splunk/redbeat", branch = "main"}
PyYAML = "^6.0"
#Note this is temporary PR to upstream project is issued
wait-for-dep = {extras = ["redis"], git="https://github.com/omrozowicz-splunk/wait-for-dep.git"}
mongolock = "^1.3.4"
pika = "^1.2.0"
JSON-log-formatter ="^0.5.1"
"ruamel.yaml" = "^0.18.0"
pysnmplib = {git = "https://github.com/pysnmp/pysnmp.git", branch = "main"}
urllib3 = "^1.26.17"
jsonschema = "4.23.0"
[tool.poetry.group.dev.dependencies]
pytest = "^8.0.0"
pytest-cov = "^5.0.0"
mike = "^2.0.0"
mkdocs = "^1.2.2"
mkdocs-material = "^9.0.0"
python-dotenv = "^1.0.0"
mkdocs-video = "^1.5.0"
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"
#Run BEAT
#poetry run celery -A splunk_connect_for_snmp.poller beat --loglevel=INFO
#RUN Worker
#poetry run celery -A splunk_connect_for_snmp.poller worker --loglevel=INFO
#
#docker run --rm -d -p 27017:27017 --name example-mongo mongo:latest
#docker run --rm -d -p 5672:5672 --hostname my-rabbit --name some-rabbit rabbitmq:3