dmart 0.1.3__tar.gz → 0.1.6__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 (130) hide show
  1. {dmart-0.1.3 → dmart-0.1.6}/MANIFEST.in +1 -0
  2. {dmart-0.1.3/dmart.egg-info → dmart-0.1.6}/PKG-INFO +1 -2
  3. {dmart-0.1.3 → dmart-0.1.6/dmart.egg-info}/PKG-INFO +1 -2
  4. {dmart-0.1.3 → dmart-0.1.6}/dmart.egg-info/SOURCES.txt +5 -0
  5. {dmart-0.1.3 → dmart-0.1.6}/dmart.egg-info/requires.txt +0 -1
  6. dmart-0.1.6/info.json +1 -0
  7. dmart-0.1.6/publish.sh +43 -0
  8. dmart-0.1.6/requirements/core.txt +24 -0
  9. dmart-0.1.6/requirements/extra.txt +8 -0
  10. dmart-0.1.6/requirements/plugins.txt +7 -0
  11. dmart-0.1.6/requirements/test.txt +17 -0
  12. {dmart-0.1.3 → dmart-0.1.6}/setup.py +1 -1
  13. dmart-0.1.3/publish.sh +0 -32
  14. {dmart-0.1.3 → dmart-0.1.6}/.ruff.toml +0 -0
  15. {dmart-0.1.3 → dmart-0.1.6}/alembic/__init__.py +0 -0
  16. {dmart-0.1.3 → dmart-0.1.6}/alembic/env.py +0 -0
  17. {dmart-0.1.3 → dmart-0.1.6}/api/__init__.py +0 -0
  18. {dmart-0.1.3 → dmart-0.1.6}/api/info/__init__.py +0 -0
  19. {dmart-0.1.3 → dmart-0.1.6}/api/info/router.py +0 -0
  20. {dmart-0.1.3 → dmart-0.1.6}/api/managed/__init__.py +0 -0
  21. {dmart-0.1.3 → dmart-0.1.6}/api/managed/router.py +0 -0
  22. {dmart-0.1.3 → dmart-0.1.6}/api/managed/utils.py +0 -0
  23. {dmart-0.1.3 → dmart-0.1.6}/api/public/__init__.py +0 -0
  24. {dmart-0.1.3 → dmart-0.1.6}/api/public/router.py +0 -0
  25. {dmart-0.1.3 → dmart-0.1.6}/api/qr/__init__.py +0 -0
  26. {dmart-0.1.3 → dmart-0.1.6}/api/qr/router.py +0 -0
  27. {dmart-0.1.3 → dmart-0.1.6}/api/user/__init__.py +0 -0
  28. {dmart-0.1.3 → dmart-0.1.6}/api/user/router.py +0 -0
  29. {dmart-0.1.3 → dmart-0.1.6}/api/user/service.py +0 -0
  30. {dmart-0.1.3 → dmart-0.1.6}/bundler.py +0 -0
  31. {dmart-0.1.3 → dmart-0.1.6}/config/__init__.py +0 -0
  32. {dmart-0.1.3 → dmart-0.1.6}/config/channels.json +0 -0
  33. {dmart-0.1.3 → dmart-0.1.6}/config/notification.json +0 -0
  34. {dmart-0.1.3 → dmart-0.1.6}/config.env.sample +0 -0
  35. {dmart-0.1.3 → dmart-0.1.6}/curl.sh +0 -0
  36. {dmart-0.1.3 → dmart-0.1.6}/data_adapters/__init__.py +0 -0
  37. {dmart-0.1.3 → dmart-0.1.6}/data_adapters/adapter.py +0 -0
  38. {dmart-0.1.3 → dmart-0.1.6}/data_adapters/base_data_adapter.py +0 -0
  39. {dmart-0.1.3 → dmart-0.1.6}/data_adapters/file/__init__.py +0 -0
  40. {dmart-0.1.3 → dmart-0.1.6}/data_adapters/file/adapter.py +0 -0
  41. {dmart-0.1.3 → dmart-0.1.6}/data_adapters/file/adapter_helpers.py +0 -0
  42. {dmart-0.1.3 → dmart-0.1.6}/data_adapters/file/archive.py +0 -0
  43. {dmart-0.1.3 → dmart-0.1.6}/data_adapters/file/create_index.py +0 -0
  44. {dmart-0.1.3 → dmart-0.1.6}/data_adapters/file/create_users_folders.py +0 -0
  45. {dmart-0.1.3 → dmart-0.1.6}/data_adapters/file/custom_validations.py +0 -0
  46. {dmart-0.1.3 → dmart-0.1.6}/data_adapters/file/drop_index.py +0 -0
  47. {dmart-0.1.3 → dmart-0.1.6}/data_adapters/file/health_check.py +0 -0
  48. {dmart-0.1.3 → dmart-0.1.6}/data_adapters/file/redis_services.py +0 -0
  49. {dmart-0.1.3 → dmart-0.1.6}/data_adapters/helpers.py +0 -0
  50. {dmart-0.1.3 → dmart-0.1.6}/data_adapters/sql/__init__.py +0 -0
  51. {dmart-0.1.3 → dmart-0.1.6}/data_adapters/sql/adapter.py +0 -0
  52. {dmart-0.1.3 → dmart-0.1.6}/data_adapters/sql/adapter_helpers.py +0 -0
  53. {dmart-0.1.3 → dmart-0.1.6}/data_adapters/sql/create_tables.py +0 -0
  54. {dmart-0.1.3 → dmart-0.1.6}/data_adapters/sql/create_users_folders.py +0 -0
  55. {dmart-0.1.3 → dmart-0.1.6}/data_adapters/sql/db_to_json_migration.py +0 -0
  56. {dmart-0.1.3 → dmart-0.1.6}/data_adapters/sql/health_check_sql.py +0 -0
  57. {dmart-0.1.3 → dmart-0.1.6}/data_adapters/sql/json_to_db_migration.py +0 -0
  58. {dmart-0.1.3 → dmart-0.1.6}/data_adapters/sql/update_query_policies.py +0 -0
  59. {dmart-0.1.3 → dmart-0.1.6}/data_generator.py +0 -0
  60. {dmart-0.1.3 → dmart-0.1.6}/dmart.egg-info/dependency_links.txt +0 -0
  61. {dmart-0.1.3 → dmart-0.1.6}/dmart.egg-info/entry_points.txt +0 -0
  62. {dmart-0.1.3 → dmart-0.1.6}/dmart.egg-info/top_level.txt +0 -0
  63. {dmart-0.1.3 → dmart-0.1.6}/dmart.py +0 -0
  64. {dmart-0.1.3 → dmart-0.1.6}/get_settings.py +0 -0
  65. {dmart-0.1.3 → dmart-0.1.6}/hypercorn_config.toml +0 -0
  66. {dmart-0.1.3 → dmart-0.1.6}/languages/__init__.py +0 -0
  67. {dmart-0.1.3 → dmart-0.1.6}/languages/arabic.json +0 -0
  68. {dmart-0.1.3 → dmart-0.1.6}/languages/english.json +0 -0
  69. {dmart-0.1.3 → dmart-0.1.6}/languages/kurdish.json +0 -0
  70. {dmart-0.1.3 → dmart-0.1.6}/languages/loader.py +0 -0
  71. {dmart-0.1.3 → dmart-0.1.6}/login_creds.sh +0 -0
  72. {dmart-0.1.3 → dmart-0.1.6}/login_creds.sh.sample +0 -0
  73. {dmart-0.1.3 → dmart-0.1.6}/main.py +0 -0
  74. {dmart-0.1.3 → dmart-0.1.6}/manifest.sh +0 -0
  75. {dmart-0.1.3 → dmart-0.1.6}/migrate.py +0 -0
  76. {dmart-0.1.3 → dmart-0.1.6}/models/__init__.py +0 -0
  77. {dmart-0.1.3 → dmart-0.1.6}/models/api.py +0 -0
  78. {dmart-0.1.3 → dmart-0.1.6}/models/core.py +0 -0
  79. {dmart-0.1.3 → dmart-0.1.6}/models/enums.py +0 -0
  80. {dmart-0.1.3 → dmart-0.1.6}/password_gen.py +0 -0
  81. {dmart-0.1.3 → dmart-0.1.6}/plugins/__init__.py +0 -0
  82. {dmart-0.1.3 → dmart-0.1.6}/pylint.sh +0 -0
  83. {dmart-0.1.3 → dmart-0.1.6}/pyrightconfig.json +0 -0
  84. {dmart-0.1.3 → dmart-0.1.6}/pytests/__init__.py +0 -0
  85. {dmart-0.1.3 → dmart-0.1.6}/pytests/api_user_models_erros_test.py +0 -0
  86. {dmart-0.1.3 → dmart-0.1.6}/pytests/api_user_models_requests_test.py +0 -0
  87. {dmart-0.1.3 → dmart-0.1.6}/pytests/archive_test.py +0 -0
  88. {dmart-0.1.3 → dmart-0.1.6}/pytests/base_test.py +0 -0
  89. {dmart-0.1.3 → dmart-0.1.6}/pytests/get_settings_test.py +0 -0
  90. {dmart-0.1.3 → dmart-0.1.6}/pytests/json_to_db_migration_test.py +0 -0
  91. {dmart-0.1.3 → dmart-0.1.6}/pytests/service_test.py +0 -0
  92. {dmart-0.1.3 → dmart-0.1.6}/pytests/test_info.py +0 -0
  93. {dmart-0.1.3 → dmart-0.1.6}/pytests/test_status.py +0 -0
  94. {dmart-0.1.3 → dmart-0.1.6}/redis_connections.sh +0 -0
  95. {dmart-0.1.3 → dmart-0.1.6}/reload.sh +0 -0
  96. {dmart-0.1.3 → dmart-0.1.6}/run.sh +0 -0
  97. {dmart-0.1.3 → dmart-0.1.6}/run_notification_campaign.py +0 -0
  98. {dmart-0.1.3 → dmart-0.1.6}/scheduled_notification_handler.py +0 -0
  99. {dmart-0.1.3 → dmart-0.1.6}/schema_migration.py +0 -0
  100. {dmart-0.1.3 → dmart-0.1.6}/schema_modulate.py +0 -0
  101. {dmart-0.1.3 → dmart-0.1.6}/set_admin_passwd.py +0 -0
  102. {dmart-0.1.3 → dmart-0.1.6}/setup.cfg +0 -0
  103. {dmart-0.1.3 → dmart-0.1.6}/sync.py +0 -0
  104. {dmart-0.1.3 → dmart-0.1.6}/utils/__init__.py +0 -0
  105. {dmart-0.1.3 → dmart-0.1.6}/utils/access_control.py +0 -0
  106. {dmart-0.1.3 → dmart-0.1.6}/utils/async_request.py +0 -0
  107. {dmart-0.1.3 → dmart-0.1.6}/utils/exporter.py +0 -0
  108. {dmart-0.1.3 → dmart-0.1.6}/utils/firebase_notifier.py +0 -0
  109. {dmart-0.1.3 → dmart-0.1.6}/utils/generate_email.py +0 -0
  110. {dmart-0.1.3 → dmart-0.1.6}/utils/helpers.py +0 -0
  111. {dmart-0.1.3 → dmart-0.1.6}/utils/hypercorn_config.py +0 -0
  112. {dmart-0.1.3 → dmart-0.1.6}/utils/internal_error_code.py +0 -0
  113. {dmart-0.1.3 → dmart-0.1.6}/utils/jwt.py +0 -0
  114. {dmart-0.1.3 → dmart-0.1.6}/utils/logger.py +0 -0
  115. {dmart-0.1.3 → dmart-0.1.6}/utils/middleware.py +0 -0
  116. {dmart-0.1.3 → dmart-0.1.6}/utils/notification.py +0 -0
  117. {dmart-0.1.3 → dmart-0.1.6}/utils/password_hashing.py +0 -0
  118. {dmart-0.1.3 → dmart-0.1.6}/utils/plugin_manager.py +0 -0
  119. {dmart-0.1.3 → dmart-0.1.6}/utils/query_policies_helper.py +0 -0
  120. {dmart-0.1.3 → dmart-0.1.6}/utils/regex.py +0 -0
  121. {dmart-0.1.3 → dmart-0.1.6}/utils/repository.py +0 -0
  122. {dmart-0.1.3 → dmart-0.1.6}/utils/router_helper.py +0 -0
  123. {dmart-0.1.3 → dmart-0.1.6}/utils/settings.py +0 -0
  124. {dmart-0.1.3 → dmart-0.1.6}/utils/sms_notifier.py +0 -0
  125. {dmart-0.1.3 → dmart-0.1.6}/utils/social_sso.py +0 -0
  126. {dmart-0.1.3 → dmart-0.1.6}/utils/templates/activation.html.j2 +0 -0
  127. {dmart-0.1.3 → dmart-0.1.6}/utils/templates/reminder.html.j2 +0 -0
  128. {dmart-0.1.3 → dmart-0.1.6}/utils/ticket_sys_utils.py +0 -0
  129. {dmart-0.1.3 → dmart-0.1.6}/utils/web_notifier.py +0 -0
  130. {dmart-0.1.3 → dmart-0.1.6}/websocket.py +0 -0
@@ -4,4 +4,5 @@ include *.sh
4
4
  include *.sample
5
5
  recursive-include config *.json
6
6
  recursive-include languages *.json
7
+ recursive-include requirements *.txt
7
8
  recursive-include utils/templates *
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dmart
3
- Version: 0.1.3
3
+ Version: 0.1.6
4
4
  Requires-Python: >=3.10
5
5
  Requires-Dist: fastapi
6
6
  Requires-Dist: pydantic
@@ -24,7 +24,6 @@ Requires-Dist: greenlet
24
24
  Requires-Dist: alembic
25
25
  Requires-Dist: jinja2
26
26
  Requires-Dist: pytest-cov
27
- Requires-Dist: argon2
28
27
  Requires-Dist: argon2-cffi
29
28
  Requires-Dist: orjson
30
29
  Provides-Extra: extra
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dmart
3
- Version: 0.1.3
3
+ Version: 0.1.6
4
4
  Requires-Python: >=3.10
5
5
  Requires-Dist: fastapi
6
6
  Requires-Dist: pydantic
@@ -24,7 +24,6 @@ Requires-Dist: greenlet
24
24
  Requires-Dist: alembic
25
25
  Requires-Dist: jinja2
26
26
  Requires-Dist: pytest-cov
27
- Requires-Dist: argon2
28
27
  Requires-Dist: argon2-cffi
29
28
  Requires-Dist: orjson
30
29
  Provides-Extra: extra
@@ -7,6 +7,7 @@ data_generator.py
7
7
  dmart.py
8
8
  get_settings.py
9
9
  hypercorn_config.toml
10
+ info.json
10
11
  login_creds.sh
11
12
  login_creds.sh.sample
12
13
  main.py
@@ -94,6 +95,10 @@ pytests/json_to_db_migration_test.py
94
95
  pytests/service_test.py
95
96
  pytests/test_info.py
96
97
  pytests/test_status.py
98
+ requirements/core.txt
99
+ requirements/extra.txt
100
+ requirements/plugins.txt
101
+ requirements/test.txt
97
102
  utils/__init__.py
98
103
  utils/access_control.py
99
104
  utils/async_request.py
@@ -20,7 +20,6 @@ greenlet
20
20
  alembic
21
21
  jinja2
22
22
  pytest-cov
23
- argon2
24
23
  argon2-cffi
25
24
  orjson
26
25
 
dmart-0.1.6/info.json ADDED
@@ -0,0 +1 @@
1
+ {"branch": "soheyb_cxb", "version": "2cef047b", "tag": "v1.4.0-42-g2cef047b", "version_date": "'Sun Jan 11 22:45:30 2026 +0000'"}
dmart-0.1.6/publish.sh ADDED
@@ -0,0 +1,43 @@
1
+ #!/bin/bash
2
+ set -e
3
+
4
+ # Change to the directory of the script
5
+ cd "$(dirname "$0")"
6
+
7
+ # Clean up previous builds
8
+ echo "Cleaning up dist/, build/, and temporary files..."
9
+ rm -rf dist/ build/ *.egg-info dmart info.json
10
+
11
+ # Install dependencies
12
+ # "download and install the deps" as requested
13
+ echo "Installing dependencies..."
14
+ python3 -m pip install --upgrade pip build twine
15
+ python3 -m pip install .
16
+ if [ -d "requirements" ]; then
17
+ for req in requirements/*.txt; do
18
+ if [ -f "$req" ] && [[ "$req" != *"test.txt" ]]; then
19
+ python3 -m pip install -r "$req"
20
+ fi
21
+ done
22
+ fi
23
+
24
+ # Create standalone bundle using PyInstaller
25
+ # This fulfills the request to "bundle the dmart packages with required pkgs"
26
+ # Running it before 'build' ensures info.json is included in the python package
27
+ echo "Creating standalone bundle..."
28
+ python3 bundler.py
29
+
30
+ # Build the dmart package (wheel and sdist)
31
+ echo "Building dmart wheel and sdist..."
32
+ python3 -m build
33
+
34
+ # Move the bundle to dist/
35
+ if [ -f "dmart" ]; then
36
+ mv dmart dist/
37
+ fi
38
+
39
+ # Upload to PyPI
40
+ # We only upload the newly built dmart package files (.whl and .tar.gz)
41
+ # Twine typically only handles these formats; standalone binaries are not uploaded to PyPI
42
+ echo "Uploading to PyPI..."
43
+ twine upload --non-interactive dist/*.whl dist/*.tar.gz
@@ -0,0 +1,24 @@
1
+ fastapi
2
+ pydantic
3
+ pydantic[email]
4
+ concurrent-log-handler
5
+ hypercorn
6
+ pyjwt
7
+ redis
8
+ aiofiles
9
+ aiohttp
10
+ python-multipart
11
+ jsonschema
12
+ email-validator
13
+ asgi-correlation-id
14
+ pydantic-settings
15
+ fastapi-sso
16
+ sqlmodel
17
+ psycopg[binary]
18
+ asyncpg
19
+ greenlet
20
+ alembic
21
+ jinja2
22
+ pytest-cov
23
+ argon2-cffi
24
+ orjson
@@ -0,0 +1,8 @@
1
+ jsf
2
+ types-psutil
3
+ types-pyinstaller
4
+ pyinstaller
5
+ jinja2
6
+ duckdb
7
+ segno
8
+ jq
@@ -0,0 +1,7 @@
1
+ weasyprint
2
+ pypdf
3
+ dicttoxml
4
+ pdf2image
5
+ firebase-admin
6
+ pillow
7
+ ldap3
@@ -0,0 +1,17 @@
1
+ check-jsonschema
2
+ httpx
3
+ pytest
4
+ pytest-ordering
5
+ pytest-asyncio
6
+ pytest-mock
7
+ pytest-httpx
8
+ pyright
9
+ ruff
10
+ mypy
11
+ types-aiofiles
12
+ types-ldap3
13
+ types-jsonschema
14
+ types-psutil
15
+ types-requests
16
+ types-PyYAML
17
+ types-ujson
@@ -16,7 +16,7 @@ plugins_requires = parse_requirements('requirements/plugins.txt')
16
16
 
17
17
  setup(
18
18
  name="dmart",
19
- version="0.1.3",
19
+ version="0.1.6",
20
20
  packages=find_packages(),
21
21
  py_modules=["dmart", "main", "sync", "bundler", "migrate", "password_gen", "get_settings", "data_generator", "schema_modulate", "schema_migration", "set_admin_passwd", "run_notification_campaign", "scheduled_notification_handler", "websocket"],
22
22
  install_requires=install_requires,
dmart-0.1.3/publish.sh DELETED
@@ -1,32 +0,0 @@
1
- #!/bin/bash
2
- set -e
3
-
4
- # Change to the directory of the script
5
- cd "$(dirname "$0")"
6
-
7
- # Clean up previous builds
8
- echo "Cleaning up dist/ and build/..."
9
- rm -rf dist/ build/ *.egg-info
10
-
11
- # Install dependencies
12
- # "download and install the deps" as requested
13
- #echo "Installing dependencies..."
14
- #pip install --upgrade pip build twine
15
- #pip install .
16
- #if [ -d "requirements" ]; then
17
- # for req in requirements/*.txt; do
18
- # if [ -f "$req" ] && [[ "$req" != *"test.txt" ]]; then
19
- # pip install -r "$req"
20
- # fi
21
- # done
22
- #fi
23
-
24
- # Build only the dmart package
25
- # python3 -m build creates sdist and wheel for the current package only
26
- echo "Building dmart..."
27
- python3 -m build
28
-
29
- # Upload to PyPI
30
- # Using dist/* to upload only the newly built dmart package
31
- echo "Uploading to PyPI..."
32
- twine upload --non-interactive dist/*
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes