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.
- {dmart-0.1.3 → dmart-0.1.6}/MANIFEST.in +1 -0
- {dmart-0.1.3/dmart.egg-info → dmart-0.1.6}/PKG-INFO +1 -2
- {dmart-0.1.3 → dmart-0.1.6/dmart.egg-info}/PKG-INFO +1 -2
- {dmart-0.1.3 → dmart-0.1.6}/dmart.egg-info/SOURCES.txt +5 -0
- {dmart-0.1.3 → dmart-0.1.6}/dmart.egg-info/requires.txt +0 -1
- dmart-0.1.6/info.json +1 -0
- dmart-0.1.6/publish.sh +43 -0
- dmart-0.1.6/requirements/core.txt +24 -0
- dmart-0.1.6/requirements/extra.txt +8 -0
- dmart-0.1.6/requirements/plugins.txt +7 -0
- dmart-0.1.6/requirements/test.txt +17 -0
- {dmart-0.1.3 → dmart-0.1.6}/setup.py +1 -1
- dmart-0.1.3/publish.sh +0 -32
- {dmart-0.1.3 → dmart-0.1.6}/.ruff.toml +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/alembic/__init__.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/alembic/env.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/api/__init__.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/api/info/__init__.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/api/info/router.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/api/managed/__init__.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/api/managed/router.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/api/managed/utils.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/api/public/__init__.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/api/public/router.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/api/qr/__init__.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/api/qr/router.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/api/user/__init__.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/api/user/router.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/api/user/service.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/bundler.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/config/__init__.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/config/channels.json +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/config/notification.json +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/config.env.sample +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/curl.sh +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/data_adapters/__init__.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/data_adapters/adapter.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/data_adapters/base_data_adapter.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/data_adapters/file/__init__.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/data_adapters/file/adapter.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/data_adapters/file/adapter_helpers.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/data_adapters/file/archive.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/data_adapters/file/create_index.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/data_adapters/file/create_users_folders.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/data_adapters/file/custom_validations.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/data_adapters/file/drop_index.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/data_adapters/file/health_check.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/data_adapters/file/redis_services.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/data_adapters/helpers.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/data_adapters/sql/__init__.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/data_adapters/sql/adapter.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/data_adapters/sql/adapter_helpers.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/data_adapters/sql/create_tables.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/data_adapters/sql/create_users_folders.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/data_adapters/sql/db_to_json_migration.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/data_adapters/sql/health_check_sql.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/data_adapters/sql/json_to_db_migration.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/data_adapters/sql/update_query_policies.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/data_generator.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/dmart.egg-info/dependency_links.txt +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/dmart.egg-info/entry_points.txt +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/dmart.egg-info/top_level.txt +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/dmart.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/get_settings.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/hypercorn_config.toml +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/languages/__init__.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/languages/arabic.json +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/languages/english.json +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/languages/kurdish.json +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/languages/loader.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/login_creds.sh +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/login_creds.sh.sample +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/main.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/manifest.sh +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/migrate.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/models/__init__.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/models/api.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/models/core.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/models/enums.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/password_gen.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/plugins/__init__.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/pylint.sh +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/pyrightconfig.json +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/pytests/__init__.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/pytests/api_user_models_erros_test.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/pytests/api_user_models_requests_test.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/pytests/archive_test.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/pytests/base_test.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/pytests/get_settings_test.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/pytests/json_to_db_migration_test.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/pytests/service_test.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/pytests/test_info.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/pytests/test_status.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/redis_connections.sh +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/reload.sh +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/run.sh +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/run_notification_campaign.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/scheduled_notification_handler.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/schema_migration.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/schema_modulate.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/set_admin_passwd.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/setup.cfg +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/sync.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/utils/__init__.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/utils/access_control.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/utils/async_request.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/utils/exporter.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/utils/firebase_notifier.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/utils/generate_email.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/utils/helpers.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/utils/hypercorn_config.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/utils/internal_error_code.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/utils/jwt.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/utils/logger.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/utils/middleware.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/utils/notification.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/utils/password_hashing.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/utils/plugin_manager.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/utils/query_policies_helper.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/utils/regex.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/utils/repository.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/utils/router_helper.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/utils/settings.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/utils/sms_notifier.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/utils/social_sso.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/utils/templates/activation.html.j2 +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/utils/templates/reminder.html.j2 +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/utils/ticket_sys_utils.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/utils/web_notifier.py +0 -0
- {dmart-0.1.3 → dmart-0.1.6}/websocket.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: dmart
|
|
3
|
-
Version: 0.1.
|
|
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
|
+
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
|
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
|
|
@@ -16,7 +16,7 @@ plugins_requires = parse_requirements('requirements/plugins.txt')
|
|
|
16
16
|
|
|
17
17
|
setup(
|
|
18
18
|
name="dmart",
|
|
19
|
-
version="0.1.
|
|
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
|
|
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
|