tina4-python 0.2.73__tar.gz → 0.2.74__tar.gz

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 (46) hide show
  1. {tina4_python-0.2.73 → tina4_python-0.2.74}/PKG-INFO +15 -1
  2. {tina4_python-0.2.73 → tina4_python-0.2.74}/README.md +422 -410
  3. {tina4_python-0.2.73 → tina4_python-0.2.74}/pyproject.toml +35 -33
  4. {tina4_python-0.2.73 → tina4_python-0.2.74}/tina4_python/Auth.py +193 -193
  5. {tina4_python-0.2.73 → tina4_python-0.2.74}/tina4_python/Constant.py +42 -42
  6. {tina4_python-0.2.73 → tina4_python-0.2.74}/tina4_python/Database.py +557 -557
  7. {tina4_python-0.2.73 → tina4_python-0.2.74}/tina4_python/DatabaseResult.py +104 -104
  8. {tina4_python-0.2.73 → tina4_python-0.2.74}/tina4_python/Debug.py +91 -91
  9. {tina4_python-0.2.73 → tina4_python-0.2.74}/tina4_python/Env.py +37 -37
  10. {tina4_python-0.2.73 → tina4_python-0.2.74}/tina4_python/Localization.py +42 -42
  11. {tina4_python-0.2.73 → tina4_python-0.2.74}/tina4_python/Messages.py +30 -30
  12. {tina4_python-0.2.73 → tina4_python-0.2.74}/tina4_python/MiddleWare.py +75 -75
  13. {tina4_python-0.2.73 → tina4_python-0.2.74}/tina4_python/Migration.py +99 -99
  14. {tina4_python-0.2.73 → tina4_python-0.2.74}/tina4_python/ORM.py +520 -520
  15. {tina4_python-0.2.73 → tina4_python-0.2.74}/tina4_python/Queue.py +495 -495
  16. {tina4_python-0.2.73 → tina4_python-0.2.74}/tina4_python/Request.py +21 -18
  17. {tina4_python-0.2.73 → tina4_python-0.2.74}/tina4_python/Response.py +98 -98
  18. {tina4_python-0.2.73 → tina4_python-0.2.74}/tina4_python/Router.py +387 -385
  19. {tina4_python-0.2.73 → tina4_python-0.2.74}/tina4_python/Session.py +252 -252
  20. {tina4_python-0.2.73 → tina4_python-0.2.74}/tina4_python/ShellColors.py +20 -20
  21. {tina4_python-0.2.73 → tina4_python-0.2.74}/tina4_python/Swagger.py +228 -228
  22. {tina4_python-0.2.73 → tina4_python-0.2.74}/tina4_python/Template.py +91 -91
  23. {tina4_python-0.2.73 → tina4_python-0.2.74}/tina4_python/Webserver.py +408 -392
  24. tina4_python-0.2.74/tina4_python/Websocket.py +39 -0
  25. {tina4_python-0.2.73 → tina4_python-0.2.74}/tina4_python/__init__.py +361 -349
  26. {tina4_python-0.2.73 → tina4_python-0.2.74}/tina4_python/messages.pot +83 -83
  27. tina4_python-0.2.74/tina4_python/public/js/reconnecting-websocket.js +365 -0
  28. {tina4_python-0.2.73 → tina4_python-0.2.74}/tina4_python/public/js/tina4helper.js +397 -397
  29. {tina4_python-0.2.73 → tina4_python-0.2.74}/tina4_python/public/swagger/index.html +90 -90
  30. {tina4_python-0.2.73 → tina4_python-0.2.74}/tina4_python/public/swagger/oauth2-redirect.html +63 -63
  31. {tina4_python-0.2.73 → tina4_python-0.2.74}/tina4_python/templates/errors/403.twig +10 -10
  32. {tina4_python-0.2.73 → tina4_python-0.2.74}/tina4_python/templates/errors/404.twig +10 -10
  33. {tina4_python-0.2.73 → tina4_python-0.2.74}/tina4_python/templates/errors/500.twig +11 -11
  34. {tina4_python-0.2.73 → tina4_python-0.2.74}/tina4_python/translations/en/LC_MESSAGES/messages.po +80 -80
  35. {tina4_python-0.2.73 → tina4_python-0.2.74}/tina4_python/translations/fr/LC_MESSAGES/messages.po +84 -84
  36. {tina4_python-0.2.73 → tina4_python-0.2.74}/tina4_python/public/css/readme.md +0 -0
  37. {tina4_python-0.2.73 → tina4_python-0.2.74}/tina4_python/public/favicon.ico +0 -0
  38. {tina4_python-0.2.73 → tina4_python-0.2.74}/tina4_python/public/images/403.png +0 -0
  39. {tina4_python-0.2.73 → tina4_python-0.2.74}/tina4_python/public/images/404.png +0 -0
  40. {tina4_python-0.2.73 → tina4_python-0.2.74}/tina4_python/public/images/500.png +0 -0
  41. {tina4_python-0.2.73 → tina4_python-0.2.74}/tina4_python/public/images/logo.png +0 -0
  42. {tina4_python-0.2.73 → tina4_python-0.2.74}/tina4_python/public/images/readme.md +0 -0
  43. {tina4_python-0.2.73 → tina4_python-0.2.74}/tina4_python/public/js/readme.md +0 -0
  44. {tina4_python-0.2.73 → tina4_python-0.2.74}/tina4_python/templates/readme.md +0 -0
  45. {tina4_python-0.2.73 → tina4_python-0.2.74}/tina4_python/translations/en/LC_MESSAGES/messages.mo +0 -0
  46. {tina4_python-0.2.73 → tina4_python-0.2.74}/tina4_python/translations/fr/LC_MESSAGES/messages.mo +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: tina4-python
3
- Version: 0.2.73
3
+ Version: 0.2.74
4
4
  Summary: Tina4Python - This is not another framework for Python
5
5
  Author: Andre van Zuydam
6
6
  Author-email: andrevanzuydam@gmail.com
@@ -16,8 +16,10 @@ Requires-Dist: cryptography (>=42.0.5,<43.0.0)
16
16
  Requires-Dist: libsass (>=0.22.0,<0.23.0)
17
17
  Requires-Dist: litequeue (>=0.9,<0.10)
18
18
  Requires-Dist: mypy (>=0.991,<0.992)
19
+ Requires-Dist: poetry-plugin-export (>=1.9.0,<2.0.0)
19
20
  Requires-Dist: pyjwt (>=2.8.0,<3.0.0)
20
21
  Requires-Dist: python-dotenv (>=1.0.1,<2.0.0)
22
+ Requires-Dist: simple-websocket (>=1.1.0,<2.0.0)
21
23
  Requires-Dist: watchdog (>=4.0.0,<5.0.0)
22
24
  Description-Content-Type: text/markdown
23
25
 
@@ -432,3 +434,15 @@ docker run -d --hostname=my-kafka --name=some-kafka -p 9092:9092 apache/kafka
432
434
  docker run -d --hostname=my-rabbit --name=some-rabbit -p 15672:15672 -p 5672:5672 rabbitmq:3
433
435
  ```
434
436
 
437
+ ## Websocket Testing
438
+
439
+ ```bash
440
+ brew install websocat
441
+ ```
442
+
443
+ ```python
444
+ websocat http://localhost:7145/websocket
445
+ ```
446
+
447
+
448
+