-
Notifications
You must be signed in to change notification settings - Fork 2
/
Pipfile
executable file
·68 lines (63 loc) · 3.5 KB
/
Pipfile
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
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"
[packages]
jinja2 = ">=3.0.3"
pyyaml = ">=6.0"
types-pyyaml = ">=6.0.10"
pydantic = ">=1.8.2"
psycopg2-binary = ">=2.9.3"
pika = ">=1.2.1"
crontab = ">=0.23.0"
kafka-python = ">=2.0.2"
amqp = "5.1.1"
[dev-packages]
wheel = "*"
twine = "*"
setuptools = "*"
mypy = "==0.961"
pytest = "==6.2.5"
flake8 = ">=4.0.1"
flake8-blind-except = "==0.2.1"
flake8-logging-format = "==0.6.0"
flake8-self = "==0.2.2"
flake8-super-call = "==1.0.0"
#flake8-bugbear = "==20.11.1" # has bug
flake8-print = "==5.0.0"
pep8-naming = "==0.13.0" # flask plugin
pycodestyle = "==2.8.0"
[requires]
python_version = "3.8"
[scripts]
pack = "python3 setup.py sdist bdist_wheel"
upload_pypi = "twine upload dist/*"
check = "./run-check.sh"
prepare = "./run-prepare.sh"
example-rmq = "docker compose -f ./example/docker-compose.yml up rabbitmq"
example-mem-producer = "python3 ./example/example_producer.py --type mem"
example-mem-consumer-input = "python3 ./example/example_consumer.py --type mem --worker input_worker"
example-mem-consumer-retry = "python3 ./example/example_consumer.py --type mem --worker auto_retry_worker"
example-mem-consumer-after-cron = "python3 ./example/example_consumer.py --type mem --worker ender_after_cron_worker"
example-mem-consumer-after-input = "python3 ./example/example_consumer.py --type mem --worker ender_after_input_worker"
example-mem-consumer-cron = "python3 ./example/example_consumer.py --type mem --worker my_super_cron_worker"
example-mem-cron = "python3 ./example/example_cron_producer.py --type mem"
example-mem-csi = "python3 ./example/example_csi.py --type mem"
example-kafka-producer = "python3 ./example/example_producer.py --type kafka"
example-kafka-producer-dangerous-pack = "python3 ./example/example_producer.py --worker input_worker --type kafka --count 1000 --delay 0 --batch-count 100"
example-kafka-consumer-input = "python3 ./example/example_consumer.py --type kafka --worker input_worker"
example-kafka-consumer-after-cron = "python3 ./example/example_consumer.py --type kafka --worker ender_after_cron_worker"
example-kafka-consumer-after-input = "python3 ./example/example_consumer.py --type kafka --worker ender_after_input_worker"
example-kafka-consumer-cron = "python3 ./example/example_consumer.py --type kafka --worker my_super_cron_worker"
example-kafka-cron = "python3 ./example/example_cron_producer.py --type kafka"
example-kafka-csi = "python3 ./example/example_csi.py --type kafka"
example-rmq-producer = "python3 ./example/example_producer.py --type rmq"
example-rmq-producer-dangerous-pack = "python3 ./example/example_producer.py --worker input_worker --type rmq --count 10 --delay 0 --batch-count 100"
example-rmq-producer-dangerous-pack-slow = "python3 ./example/example_producer.py --worker input_worker --type rmq --count 100 --delay 100 --batch-count 100"
example-rmq-consumer-input = "python3 ./example/example_consumer.py --type rmq --worker input_worker"
example-rmq-consumer-retry = "python3 ./example/example_consumer.py --type rmq --worker auto_retry_worker"
example-rmq-consumer-after-cron = "python3 ./example/example_consumer.py --type rmq --worker ender_after_cron_worker"
example-rmq-consumer-after-input = "python3 ./example/example_consumer.py --type rmq --worker ender_after_input_worker"
example-rmq-consumer-cron = "python3 ./example/example_consumer.py --type rmq --worker my_super_cron_worker"
example-rmq-cron = "python3 ./example/example_cron_producer.py --type rmq"
example-rmq-csi = "python3 ./example/example_csi.py --type rmq"