epok-toolkit 1.0.0__tar.gz → 1.1.0__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.

Potentially problematic release.


This version of epok-toolkit might be problematic. Click here for more details.

Files changed (24) hide show
  1. {epok_toolkit-1.0.0/epok_toolkit.egg-info → epok_toolkit-1.1.0}/PKG-INFO +1 -1
  2. epok_toolkit-1.1.0/epok_toolkit/messaging/__init__.py +1 -0
  3. {epok_toolkit-1.0.0 → epok_toolkit-1.1.0}/epok_toolkit/messaging/whatsapp_instanced.py +3 -1
  4. {epok_toolkit-1.0.0 → epok_toolkit-1.1.0/epok_toolkit.egg-info}/PKG-INFO +1 -1
  5. {epok_toolkit-1.0.0 → epok_toolkit-1.1.0}/pyproject.toml +1 -1
  6. epok_toolkit-1.0.0/epok_toolkit/messaging/__init__.py +0 -1
  7. {epok_toolkit-1.0.0 → epok_toolkit-1.1.0}/LICENSE +0 -0
  8. {epok_toolkit-1.0.0 → epok_toolkit-1.1.0}/MANIFEST.in +0 -0
  9. {epok_toolkit-1.0.0 → epok_toolkit-1.1.0}/README.md +0 -0
  10. {epok_toolkit-1.0.0 → epok_toolkit-1.1.0}/epok_toolkit/__init__.py +0 -0
  11. {epok_toolkit-1.0.0 → epok_toolkit-1.1.0}/epok_toolkit/apps.py +0 -0
  12. {epok_toolkit-1.0.0 → epok_toolkit-1.1.0}/epok_toolkit/default_settings.py +0 -0
  13. {epok_toolkit-1.0.0 → epok_toolkit-1.1.0}/epok_toolkit/email/__init__.py +0 -0
  14. {epok_toolkit-1.0.0 → epok_toolkit-1.1.0}/epok_toolkit/email/email_async.py +0 -0
  15. {epok_toolkit-1.0.0 → epok_toolkit-1.1.0}/epok_toolkit/email/engine.py +0 -0
  16. {epok_toolkit-1.0.0 → epok_toolkit-1.1.0}/epok_toolkit/email/templates.py +0 -0
  17. {epok_toolkit-1.0.0 → epok_toolkit-1.1.0}/epok_toolkit/messaging/whatsapp.py +0 -0
  18. {epok_toolkit-1.0.0 → epok_toolkit-1.1.0}/epok_toolkit/pdf/__init__.py +0 -0
  19. {epok_toolkit-1.0.0 → epok_toolkit-1.1.0}/epok_toolkit/pdf/ticket_pdf.py +0 -0
  20. {epok_toolkit-1.0.0 → epok_toolkit-1.1.0}/epok_toolkit.egg-info/SOURCES.txt +0 -0
  21. {epok_toolkit-1.0.0 → epok_toolkit-1.1.0}/epok_toolkit.egg-info/dependency_links.txt +0 -0
  22. {epok_toolkit-1.0.0 → epok_toolkit-1.1.0}/epok_toolkit.egg-info/requires.txt +0 -0
  23. {epok_toolkit-1.0.0 → epok_toolkit-1.1.0}/epok_toolkit.egg-info/top_level.txt +0 -0
  24. {epok_toolkit-1.0.0 → epok_toolkit-1.1.0}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: epok-toolkit
3
- Version: 1.0.0
3
+ Version: 1.1.0
4
4
  Summary: A toolkit for building Django applications with Celery support
5
5
  Author-email: Fernando Leon Franco <fernanlee2131@gmail.com>
6
6
  License: MIT
@@ -0,0 +1 @@
1
+ from .whatsapp_instanced import send_text
@@ -17,6 +17,8 @@ client = WhatsappClient(api_key=API_KEY, server_url=SERVER_URL, instance_name=IN
17
17
  max_retries=3,
18
18
  ignore_result=True, # <-- ¡importante!
19
19
  )
20
- def send_whatsapp_message(number: str, message: str):
20
+ def send_whatsapp_message_async(number: str, message: str):
21
21
  return client.send_text(number, message)
22
22
 
23
+ def send_text(number: str, message: str):
24
+ send_whatsapp_message_async.delay(number, message)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: epok-toolkit
3
- Version: 1.0.0
3
+ Version: 1.1.0
4
4
  Summary: A toolkit for building Django applications with Celery support
5
5
  Author-email: Fernando Leon Franco <fernanlee2131@gmail.com>
6
6
  License: MIT
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "epok-toolkit"
7
- version = "1.0.0"
7
+ version = "1.1.0"
8
8
  description = "A toolkit for building Django applications with Celery support"
9
9
  authors = [
10
10
  { name="Fernando Leon Franco", email="fernanlee2131@gmail.com" }
@@ -1 +0,0 @@
1
- from .whatsapp_instanced import send_whatsapp_message
File without changes
File without changes
File without changes
File without changes