django-aiogram 4.0.0.dev0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. django_aiogram/__init__.py +64 -0
  2. django_aiogram/_singleton.py +22 -0
  3. django_aiogram/admin.py +380 -0
  4. django_aiogram/api.py +38 -0
  5. django_aiogram/apps.py +56 -0
  6. django_aiogram/config/__init__.py +15 -0
  7. django_aiogram/config/checks.py +759 -0
  8. django_aiogram/config/defaults.py +102 -0
  9. django_aiogram/config/enums.py +108 -0
  10. django_aiogram/config/settings.py +266 -0
  11. django_aiogram/consumer/__init__.py +13 -0
  12. django_aiogram/consumer/delivery.py +625 -0
  13. django_aiogram/consumer/routers.py +19 -0
  14. django_aiogram/consumer/webhook.py +154 -0
  15. django_aiogram/context.py +34 -0
  16. django_aiogram/eventlog/__init__.py +16 -0
  17. django_aiogram/eventlog/dbrouter.py +55 -0
  18. django_aiogram/eventlog/events.py +120 -0
  19. django_aiogram/eventlog/instrumentation.py +231 -0
  20. django_aiogram/eventlog/recorder.py +922 -0
  21. django_aiogram/eventlog/signals.py +84 -0
  22. django_aiogram/eventlog/writer.py +231 -0
  23. django_aiogram/exceptions.py +60 -0
  24. django_aiogram/healthcheck.py +412 -0
  25. django_aiogram/management/__init__.py +1 -0
  26. django_aiogram/management/commands/__init__.py +1 -0
  27. django_aiogram/management/commands/start_tgbot.py +308 -0
  28. django_aiogram/management/commands/tgbot_healthcheck.py +57 -0
  29. django_aiogram/management/commands/tgbot_prune_events.py +144 -0
  30. django_aiogram/management/commands/tgbot_reclaim.py +135 -0
  31. django_aiogram/management/commands/tgbot_webhook.py +87 -0
  32. django_aiogram/migrations/0001_initial.py +50 -0
  33. django_aiogram/migrations/0002_kind_id_index.py +32 -0
  34. django_aiogram/migrations/__init__.py +1 -0
  35. django_aiogram/models.py +79 -0
  36. django_aiogram/producer/__init__.py +13 -0
  37. django_aiogram/producer/client.py +1540 -0
  38. django_aiogram/producer/throttling.py +336 -0
  39. django_aiogram/py.typed +0 -0
  40. django_aiogram/redis.py +394 -0
  41. django_aiogram/wire/__init__.py +14 -0
  42. django_aiogram/wire/envelope.py +146 -0
  43. django_aiogram/wire/payloads.py +195 -0
  44. django_aiogram/wire/serializers.py +533 -0
  45. django_aiogram-4.0.0.dev0.dist-info/METADATA +145 -0
  46. django_aiogram-4.0.0.dev0.dist-info/RECORD +48 -0
  47. django_aiogram-4.0.0.dev0.dist-info/WHEEL +4 -0
  48. django_aiogram-4.0.0.dev0.dist-info/licenses/LICENSE +21 -0
@@ -0,0 +1,48 @@
1
+ django_aiogram/__init__.py,sha256=Gk-g2Qt1kNh3dTlDF_71EUrInVUoLenOw2B7Kell8Dg,2517
2
+ django_aiogram/_singleton.py,sha256=86CjXl6g55tRnlIU47VtHgdOAb1oYpgzPS0JxIeQj48,1103
3
+ django_aiogram/admin.py,sha256=wL0jvta-n4f3_9RqsbyJY3seaT-Eubug0PGKiJ-MJIE,17716
4
+ django_aiogram/api.py,sha256=hoqt_Q2BN19m7rgJodO7mrPVNd-yxi9pCPYDnFLMzB4,1433
5
+ django_aiogram/apps.py,sha256=0R4uxueU2BFQpHpmGn2ixiDE0uA754ukzYq0n8H_syc,2486
6
+ django_aiogram/context.py,sha256=3AzyRcPIuAtHzJJ9yNEZeGKTkU2tDSJlnbsgwOhhxrg,1293
7
+ django_aiogram/exceptions.py,sha256=82n5kXIlE2hivnU1d75FrvxS4mO_T7pf0BQE8huDwek,2368
8
+ django_aiogram/healthcheck.py,sha256=cAbGOgeFW-vbW-clVR40QzBboQP3jybdHkbECVlxeZI,18351
9
+ django_aiogram/models.py,sha256=rgEBzLFpUr1zP4QWNmiLwhc538ZNT2MqQF9_7giG4CE,4192
10
+ django_aiogram/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
11
+ django_aiogram/redis.py,sha256=syN3byUhlkTTAxfVkjw25nHKzTkxauJHqBdM7qWjXmc,17367
12
+ django_aiogram/config/__init__.py,sha256=58kt1_mOx-1n3y5Fv5t64i3CMG2bhtmIY6I9DsrbkTc,775
13
+ django_aiogram/config/checks.py,sha256=lZwkz95imknz7wNaZVeHCzgOAfCQq1xYfE9m5I9Yz9g,33483
14
+ django_aiogram/config/defaults.py,sha256=FepZmoNUGUf_LcwczV36n8ef8G4WVXGXldAAuSyQM9A,5123
15
+ django_aiogram/config/enums.py,sha256=2xG7a2wi42cdKiYmkdPfNZbOzsZXWp3koEM5O7k05Lo,3138
16
+ django_aiogram/config/settings.py,sha256=bxE7i9PW0OIw8qPu2DgQnY52od3ftUQSwovg8o6PuFo,11286
17
+ django_aiogram/consumer/__init__.py,sha256=TOnzpr6c6f5OsvWXkwk0_V1g2Ih_Lheh94L0T9Cpjug,637
18
+ django_aiogram/consumer/delivery.py,sha256=5O0MOB9doGGjWArsUxln2JnIAZwIExUTaJYCDuDAPmA,28384
19
+ django_aiogram/consumer/routers.py,sha256=raYxoe9hYVnjNlLXdXS9bTt8GKPydbRMZcyIE5S1exA,655
20
+ django_aiogram/consumer/webhook.py,sha256=fpVNJEyM9g_wwVEkhVbBPWpdsLEzGofQpcVLtdZChUc,6573
21
+ django_aiogram/eventlog/__init__.py,sha256=AFqqxz9EMZs3-Lz4pJwtyYA8msPTLIGN1f_AgI6e1OQ,861
22
+ django_aiogram/eventlog/dbrouter.py,sha256=jwM1incT7LZxfEv9Tp5VUrR5CawMaDCLuRdFSjezHoc,2214
23
+ django_aiogram/eventlog/events.py,sha256=Jajz6RhIdhEx4zqJduIB-mKFdvWreopsC0Z2XsXBzgE,4827
24
+ django_aiogram/eventlog/instrumentation.py,sha256=Lj56cyYs3ZEDiWHfnVokw6MYrbHLgAB2GI4WRqjUu2A,8747
25
+ django_aiogram/eventlog/recorder.py,sha256=TiKXy5HrCa0NySs2BdXv9pV2Atkpb_xMW5hrsFiO-DI,44687
26
+ django_aiogram/eventlog/signals.py,sha256=oF0m3QPSRNwG5nNhZzxlM8wWnI659IyWfeFpstn0Ug8,5147
27
+ django_aiogram/eventlog/writer.py,sha256=TvQE5_8sWG69zQMz5_srsd64EJsnHS6N7FZwGxpvaNA,10192
28
+ django_aiogram/management/__init__.py,sha256=62A9EzA70_3YopixwT8eL_q5x2cbERZVCaD-8NMCQGE,75
29
+ django_aiogram/management/commands/__init__.py,sha256=-v6NzWRLBG4b3FHeaMaBHMGSxhNx4tHryqwgfC4GIuo,89
30
+ django_aiogram/management/commands/start_tgbot.py,sha256=qVLwRUfwHpvGSqdyujWv5SQF5Xl01dwhmiHIyUO0gD8,14509
31
+ django_aiogram/management/commands/tgbot_healthcheck.py,sha256=fYU9HmyVlU2baPzXPcYIT37SMDgQhutA95-1gEqyKXw,2617
32
+ django_aiogram/management/commands/tgbot_prune_events.py,sha256=1zT0_LGNgHWeyz00fNFjw1hQXSq2hpKJrSiw8RVFOj8,6686
33
+ django_aiogram/management/commands/tgbot_reclaim.py,sha256=tcgxXrjK-Pftd9MVhig-i6xdGvrRERd9BNpMcDz3tAo,6506
34
+ django_aiogram/management/commands/tgbot_webhook.py,sha256=fJuFyiMXK7sXkw0l2VwZNE8q5XGBp4EQYc3M_CtQ3no,3926
35
+ django_aiogram/migrations/0001_initial.py,sha256=1gLSRMylJ6lPURgfVoZZiJv6zGThV1IyNwfcTVfdIr8,2423
36
+ django_aiogram/migrations/0002_kind_id_index.py,sha256=WnuUOT_xwg6MUUAqVST51CBoAxvyJux0RNKxFuOMN20,1241
37
+ django_aiogram/migrations/__init__.py,sha256=NSW6wTFoetE1RHAVi33X1b0zL9x8q4BtcgehNaOexd4,42
38
+ django_aiogram/producer/__init__.py,sha256=Rp4dapVoD8Joywz9bSMEWG5a3IzysZqGwEfJzgm2cOY,656
39
+ django_aiogram/producer/client.py,sha256=CQOyfu9q50awWV7yc9GVF7fqAk2RACdo3fRdQd4W0Mo,73457
40
+ django_aiogram/producer/throttling.py,sha256=j7ELexA8Vo5ZB_KlxWQudSamgcJ_5jOGiil55jnOu1c,14231
41
+ django_aiogram/wire/__init__.py,sha256=Y21NnbxmUg5iTYnaVhdKCsqBXMx7nlWn89FOzneiByA,691
42
+ django_aiogram/wire/envelope.py,sha256=1AXiIBvTJY9Oo2L4jZ29sOUMkLgYMvzHPLz76bx7pzY,5749
43
+ django_aiogram/wire/payloads.py,sha256=a01JlxwUrenDCKyuWmylDiYlmmuyldsqBGXP0tcEyQc,7810
44
+ django_aiogram/wire/serializers.py,sha256=SZSo6R0xGH_-nJj2ARrxQ-ixcQOS6SxgFjXLGB2RQKY,19807
45
+ django_aiogram-4.0.0.dev0.dist-info/METADATA,sha256=wmkRoLUA7eoGnv4OsYuJ6uMQb4ZxPbkvx4gXDEIWLg8,6888
46
+ django_aiogram-4.0.0.dev0.dist-info/WHEEL,sha256=zOwg4jB6zX2kU910N-cMawjivD6tO8NEWvE12je1bVk,87
47
+ django_aiogram-4.0.0.dev0.dist-info/licenses/LICENSE,sha256=w0lRgvc4c9JztjKgQnS5fWsm-keaiOiYsUYI18Jjxh4,1064
48
+ django_aiogram-4.0.0.dev0.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.32.0
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2023 Oleksii
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.