django-socket 0.2.0__tar.gz → 0.2.1__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. {django_socket-0.2.0 → django_socket-0.2.1}/PKG-INFO +13 -1
  2. {django_socket-0.2.0 → django_socket-0.2.1}/README.md +4 -0
  3. {django_socket-0.2.0 → django_socket-0.2.1}/django_socket.egg-info/PKG-INFO +13 -1
  4. {django_socket-0.2.0 → django_socket-0.2.1}/pyproject.toml +18 -1
  5. {django_socket-0.2.0 → django_socket-0.2.1}/LICENSE +0 -0
  6. {django_socket-0.2.0 → django_socket-0.2.1}/django_socket/__init__.py +0 -0
  7. {django_socket-0.2.0 → django_socket-0.2.1}/django_socket/apps.py +0 -0
  8. {django_socket-0.2.0 → django_socket-0.2.1}/django_socket/asgi.py +0 -0
  9. {django_socket-0.2.0 → django_socket-0.2.1}/django_socket/auth.py +0 -0
  10. {django_socket-0.2.0 → django_socket-0.2.1}/django_socket/authentication.py +0 -0
  11. {django_socket-0.2.0 → django_socket-0.2.1}/django_socket/checks.py +0 -0
  12. {django_socket-0.2.0 → django_socket-0.2.1}/django_socket/dispatch.py +0 -0
  13. {django_socket-0.2.0 → django_socket-0.2.1}/django_socket/events.py +0 -0
  14. {django_socket-0.2.0 → django_socket-0.2.1}/django_socket/groups.py +0 -0
  15. {django_socket-0.2.0 → django_socket-0.2.1}/django_socket/management/__init__.py +0 -0
  16. {django_socket-0.2.0 → django_socket-0.2.1}/django_socket/management/commands/__init__.py +0 -0
  17. {django_socket-0.2.0 → django_socket-0.2.1}/django_socket/management/commands/runserver.py +0 -0
  18. {django_socket-0.2.0 → django_socket-0.2.1}/django_socket/management/commands/ws.py +0 -0
  19. {django_socket-0.2.0 → django_socket-0.2.1}/django_socket/middleware.py +0 -0
  20. {django_socket-0.2.0 → django_socket-0.2.1}/django_socket/patch.py +0 -0
  21. {django_socket-0.2.0 → django_socket-0.2.1}/django_socket/py.typed +0 -0
  22. {django_socket-0.2.0 → django_socket-0.2.1}/django_socket/ratelimit.py +0 -0
  23. {django_socket-0.2.0 → django_socket-0.2.1}/django_socket/routing.py +0 -0
  24. {django_socket-0.2.0 → django_socket-0.2.1}/django_socket/static/django_socket/client.js +0 -0
  25. {django_socket-0.2.0 → django_socket-0.2.1}/django_socket/templatetags/__init__.py +0 -0
  26. {django_socket-0.2.0 → django_socket-0.2.1}/django_socket/templatetags/django_socket.py +0 -0
  27. {django_socket-0.2.0 → django_socket-0.2.1}/django_socket/testing.py +0 -0
  28. {django_socket-0.2.0 → django_socket-0.2.1}/django_socket/websocket.py +0 -0
  29. {django_socket-0.2.0 → django_socket-0.2.1}/django_socket.egg-info/SOURCES.txt +0 -0
  30. {django_socket-0.2.0 → django_socket-0.2.1}/django_socket.egg-info/dependency_links.txt +0 -0
  31. {django_socket-0.2.0 → django_socket-0.2.1}/django_socket.egg-info/requires.txt +0 -0
  32. {django_socket-0.2.0 → django_socket-0.2.1}/django_socket.egg-info/top_level.txt +0 -0
  33. {django_socket-0.2.0 → django_socket-0.2.1}/setup.cfg +0 -0
  34. {django_socket-0.2.0 → django_socket-0.2.1}/tests/test_asgi_app.py +0 -0
  35. {django_socket-0.2.0 → django_socket-0.2.1}/tests/test_auth.py +0 -0
  36. {django_socket-0.2.0 → django_socket-0.2.1}/tests/test_authentication.py +0 -0
  37. {django_socket-0.2.0 → django_socket-0.2.1}/tests/test_backpressure.py +0 -0
  38. {django_socket-0.2.0 → django_socket-0.2.1}/tests/test_dispatch.py +0 -0
  39. {django_socket-0.2.0 → django_socket-0.2.1}/tests/test_groups.py +0 -0
  40. {django_socket-0.2.0 → django_socket-0.2.1}/tests/test_integracion.py +0 -0
  41. {django_socket-0.2.0 → django_socket-0.2.1}/tests/test_json.py +0 -0
  42. {django_socket-0.2.0 → django_socket-0.2.1}/tests/test_middleware_ratelimit.py +0 -0
  43. {django_socket-0.2.0 → django_socket-0.2.1}/tests/test_redis_layer.py +0 -0
  44. {django_socket-0.2.0 → django_socket-0.2.1}/tests/test_routing.py +0 -0
  45. {django_socket-0.2.0 → django_socket-0.2.1}/tests/test_testing.py +0 -0
  46. {django_socket-0.2.0 → django_socket-0.2.1}/tests/test_websocket.py +0 -0
@@ -1,21 +1,29 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: django-socket
3
- Version: 0.2.0
3
+ Version: 0.2.1
4
4
  Summary: WebSockets for Django: one decorator, one async function, one line in INSTALLED_APPS.
5
5
  License-Expression: MIT
6
6
  Project-URL: Homepage, https://github.com/ramon3198/django-socket
7
7
  Project-URL: Documentation, https://github.com/ramon3198/django-socket#readme
8
8
  Project-URL: Changelog, https://github.com/ramon3198/django-socket/blob/main/CHANGELOG.md
9
9
  Project-URL: Issues, https://github.com/ramon3198/django-socket/issues
10
+ Classifier: Development Status :: 4 - Beta
10
11
  Classifier: Environment :: Web Environment
11
12
  Classifier: Framework :: Django
12
13
  Classifier: Framework :: Django :: 4.2
13
14
  Classifier: Framework :: Django :: 5.0
14
15
  Classifier: Framework :: Django :: 5.1
15
16
  Classifier: Framework :: Django :: 5.2
17
+ Classifier: Framework :: Django :: 6.0
18
+ Classifier: Framework :: Django :: 6.1
16
19
  Classifier: Intended Audience :: Developers
17
20
  Classifier: Programming Language :: Python :: 3
21
+ Classifier: Programming Language :: Python :: 3.10
22
+ Classifier: Programming Language :: Python :: 3.11
23
+ Classifier: Programming Language :: Python :: 3.12
24
+ Classifier: Programming Language :: Python :: 3.13
18
25
  Classifier: Topic :: Internet :: WWW/HTTP
26
+ Classifier: Typing :: Typed
19
27
  Requires-Python: >=3.10
20
28
  Description-Content-Type: text/markdown
21
29
  License-File: LICENSE
@@ -1197,6 +1205,10 @@ python manage.py migrate
1197
1205
  python manage.py runserver
1198
1206
  ```
1199
1207
 
1208
+ - `http://127.0.0.1:8000/ejemplos/` — **four patterns people actually build**,
1209
+ each one runnable in the page: background task progress, per-user
1210
+ notifications, presence, and a live dashboard. The commented source is in
1211
+ [`ejemplos/sockets.py`](ejemplos/sockets.py).
1200
1212
  - `http://127.0.0.1:8000/sala/general/` — chat, open it in two tabs. To see the
1201
1213
  reconnect, stop the server and start it again.
1202
1214
  - `chat/sockets.py` — every example in one file.
@@ -1162,6 +1162,10 @@ python manage.py migrate
1162
1162
  python manage.py runserver
1163
1163
  ```
1164
1164
 
1165
+ - `http://127.0.0.1:8000/ejemplos/` — **four patterns people actually build**,
1166
+ each one runnable in the page: background task progress, per-user
1167
+ notifications, presence, and a live dashboard. The commented source is in
1168
+ [`ejemplos/sockets.py`](ejemplos/sockets.py).
1165
1169
  - `http://127.0.0.1:8000/sala/general/` — chat, open it in two tabs. To see the
1166
1170
  reconnect, stop the server and start it again.
1167
1171
  - `chat/sockets.py` — every example in one file.
@@ -1,21 +1,29 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: django-socket
3
- Version: 0.2.0
3
+ Version: 0.2.1
4
4
  Summary: WebSockets for Django: one decorator, one async function, one line in INSTALLED_APPS.
5
5
  License-Expression: MIT
6
6
  Project-URL: Homepage, https://github.com/ramon3198/django-socket
7
7
  Project-URL: Documentation, https://github.com/ramon3198/django-socket#readme
8
8
  Project-URL: Changelog, https://github.com/ramon3198/django-socket/blob/main/CHANGELOG.md
9
9
  Project-URL: Issues, https://github.com/ramon3198/django-socket/issues
10
+ Classifier: Development Status :: 4 - Beta
10
11
  Classifier: Environment :: Web Environment
11
12
  Classifier: Framework :: Django
12
13
  Classifier: Framework :: Django :: 4.2
13
14
  Classifier: Framework :: Django :: 5.0
14
15
  Classifier: Framework :: Django :: 5.1
15
16
  Classifier: Framework :: Django :: 5.2
17
+ Classifier: Framework :: Django :: 6.0
18
+ Classifier: Framework :: Django :: 6.1
16
19
  Classifier: Intended Audience :: Developers
17
20
  Classifier: Programming Language :: Python :: 3
21
+ Classifier: Programming Language :: Python :: 3.10
22
+ Classifier: Programming Language :: Python :: 3.11
23
+ Classifier: Programming Language :: Python :: 3.12
24
+ Classifier: Programming Language :: Python :: 3.13
18
25
  Classifier: Topic :: Internet :: WWW/HTTP
26
+ Classifier: Typing :: Typed
19
27
  Requires-Python: >=3.10
20
28
  Description-Content-Type: text/markdown
21
29
  License-File: LICENSE
@@ -1197,6 +1205,10 @@ python manage.py migrate
1197
1205
  python manage.py runserver
1198
1206
  ```
1199
1207
 
1208
+ - `http://127.0.0.1:8000/ejemplos/` — **four patterns people actually build**,
1209
+ each one runnable in the page: background task progress, per-user
1210
+ notifications, presence, and a live dashboard. The commented source is in
1211
+ [`ejemplos/sockets.py`](ejemplos/sockets.py).
1200
1212
  - `http://127.0.0.1:8000/sala/general/` — chat, open it in two tabs. To see the
1201
1213
  reconnect, stop the server and start it again.
1202
1214
  - `chat/sockets.py` — every example in one file.
@@ -4,21 +4,38 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "django-socket"
7
- version = "0.2.0"
7
+ version = "0.2.1"
8
8
  description = "WebSockets for Django: one decorator, one async function, one line in INSTALLED_APPS."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.10"
11
11
  license = "MIT"
12
12
  classifiers = [
13
+ # Los directorios de paquetes (Django Packages entre ellos) leen estos
14
+ # classifiers, no los campos modernos de metadatos. Sin las lineas de
15
+ # "Python :: 3.x" la rejilla comparativa muestra literalmente
16
+ # "Python 3? No", que es peor que no aparecer.
17
+ #
18
+ # No va el classifier de licencia a proposito: PEP 639 lo sustituye por el
19
+ # campo `license = "MIT"` de arriba, y setuptools rechaza tener los dos.
20
+ # Algun directorio todavia lee el antiguo y mostrara "UNKNOWN"; se aguanta,
21
+ # el moderno es el correcto y PyPI lo muestra bien.
22
+ "Development Status :: 4 - Beta",
13
23
  "Environment :: Web Environment",
14
24
  "Framework :: Django",
15
25
  "Framework :: Django :: 4.2",
16
26
  "Framework :: Django :: 5.0",
17
27
  "Framework :: Django :: 5.1",
18
28
  "Framework :: Django :: 5.2",
29
+ "Framework :: Django :: 6.0",
30
+ "Framework :: Django :: 6.1",
19
31
  "Intended Audience :: Developers",
20
32
  "Programming Language :: Python :: 3",
33
+ "Programming Language :: Python :: 3.10",
34
+ "Programming Language :: Python :: 3.11",
35
+ "Programming Language :: Python :: 3.12",
36
+ "Programming Language :: Python :: 3.13",
21
37
  "Topic :: Internet :: WWW/HTTP",
38
+ "Typing :: Typed",
22
39
  ]
23
40
  dependencies = [
24
41
  "django>=4.2",
File without changes
File without changes