square-authentication 10.0.2__tar.gz → 10.0.3__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.
- {square_authentication-10.0.2 → square_authentication-10.0.3}/PKG-INFO +2 -2
- {square_authentication-10.0.2 → square_authentication-10.0.3}/setup.py +2 -2
- {square_authentication-10.0.2 → square_authentication-10.0.3}/square_authentication/configuration.py +12 -4
- {square_authentication-10.0.2 → square_authentication-10.0.3}/square_authentication/data/config.sample.ini +3 -0
- {square_authentication-10.0.2 → square_authentication-10.0.3}/square_authentication/data/config.testing.sample.ini +3 -0
- {square_authentication-10.0.2 → square_authentication-10.0.3}/square_authentication.egg-info/PKG-INFO +2 -2
- {square_authentication-10.0.2 → square_authentication-10.0.3}/square_authentication.egg-info/requires.txt +1 -1
- {square_authentication-10.0.2 → square_authentication-10.0.3}/LICENSE +0 -0
- {square_authentication-10.0.2 → square_authentication-10.0.3}/README.md +0 -0
- {square_authentication-10.0.2 → square_authentication-10.0.3}/pyproject.toml +0 -0
- {square_authentication-10.0.2 → square_authentication-10.0.3}/setup.cfg +0 -0
- {square_authentication-10.0.2 → square_authentication-10.0.3}/square_authentication/__init__.py +0 -0
- {square_authentication-10.0.2 → square_authentication-10.0.3}/square_authentication/main.py +0 -0
- {square_authentication-10.0.2 → square_authentication-10.0.3}/square_authentication/messages.py +0 -0
- {square_authentication-10.0.2 → square_authentication-10.0.3}/square_authentication/pydantic_models/__init__.py +0 -0
- {square_authentication-10.0.2 → square_authentication-10.0.3}/square_authentication/pydantic_models/core.py +0 -0
- {square_authentication-10.0.2 → square_authentication-10.0.3}/square_authentication/pydantic_models/profile.py +0 -0
- {square_authentication-10.0.2 → square_authentication-10.0.3}/square_authentication/routes/__init__.py +0 -0
- {square_authentication-10.0.2 → square_authentication-10.0.3}/square_authentication/routes/core.py +0 -0
- {square_authentication-10.0.2 → square_authentication-10.0.3}/square_authentication/routes/profile.py +0 -0
- {square_authentication-10.0.2 → square_authentication-10.0.3}/square_authentication/routes/utility.py +0 -0
- {square_authentication-10.0.2 → square_authentication-10.0.3}/square_authentication/utils/__init__.py +0 -0
- {square_authentication-10.0.2 → square_authentication-10.0.3}/square_authentication/utils/core.py +0 -0
- {square_authentication-10.0.2 → square_authentication-10.0.3}/square_authentication/utils/encryption.py +0 -0
- {square_authentication-10.0.2 → square_authentication-10.0.3}/square_authentication/utils/routes/__init__.py +0 -0
- {square_authentication-10.0.2 → square_authentication-10.0.3}/square_authentication/utils/routes/core.py +0 -0
- {square_authentication-10.0.2 → square_authentication-10.0.3}/square_authentication/utils/routes/profile.py +0 -0
- {square_authentication-10.0.2 → square_authentication-10.0.3}/square_authentication/utils/routes/utility.py +0 -0
- {square_authentication-10.0.2 → square_authentication-10.0.3}/square_authentication/utils/token.py +0 -0
- {square_authentication-10.0.2 → square_authentication-10.0.3}/square_authentication.egg-info/SOURCES.txt +0 -0
- {square_authentication-10.0.2 → square_authentication-10.0.3}/square_authentication.egg-info/dependency_links.txt +0 -0
- {square_authentication-10.0.2 → square_authentication-10.0.3}/square_authentication.egg-info/top_level.txt +0 -0
- {square_authentication-10.0.2 → square_authentication-10.0.3}/tests/test_1.py +0 -0
- {square_authentication-10.0.2 → square_authentication-10.0.3}/tests/test_authentication.py +0 -0
- {square_authentication-10.0.2 → square_authentication-10.0.3}/tests/test_delete_user.py +0 -0
- {square_authentication-10.0.2 → square_authentication-10.0.3}/tests/test_email_verification.py +0 -0
- {square_authentication-10.0.2 → square_authentication-10.0.3}/tests/test_login.py +0 -0
- {square_authentication-10.0.2 → square_authentication-10.0.3}/tests/test_profile_management.py +0 -0
- {square_authentication-10.0.2 → square_authentication-10.0.3}/tests/test_token_management.py +0 -0
- {square_authentication-10.0.2 → square_authentication-10.0.3}/tests/test_update_profile.py +0 -0
- {square_authentication-10.0.2 → square_authentication-10.0.3}/tests/test_username.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: square_authentication
|
3
|
-
Version: 10.0.
|
3
|
+
Version: 10.0.3
|
4
4
|
Summary: authentication layer for my personal server.
|
5
5
|
Home-page: https://github.com/thepmsquare/square_authentication
|
6
6
|
Author: Parth Mukesh Mangtani
|
@@ -27,7 +27,7 @@ Requires-Dist: pyjwt>=2.8.0
|
|
27
27
|
Requires-Dist: requests>=2.32.3
|
28
28
|
Requires-Dist: cryptography>=42.0.7
|
29
29
|
Requires-Dist: square_commons>=3.0.0
|
30
|
-
Requires-Dist: square_logger>=
|
30
|
+
Requires-Dist: square_logger>=3.0.0
|
31
31
|
Requires-Dist: square_database_helper>=2.6.1
|
32
32
|
Requires-Dist: square_database_structure>=2.6.0
|
33
33
|
Requires-Dist: square_file_store_helper>=3.0.0
|
@@ -4,7 +4,7 @@ package_name = "square_authentication"
|
|
4
4
|
|
5
5
|
setup(
|
6
6
|
name=package_name,
|
7
|
-
version="10.0.
|
7
|
+
version="10.0.3",
|
8
8
|
packages=find_packages(),
|
9
9
|
package_data={
|
10
10
|
package_name: ["data/*"],
|
@@ -19,7 +19,7 @@ setup(
|
|
19
19
|
"requests>=2.32.3",
|
20
20
|
"cryptography>=42.0.7",
|
21
21
|
"square_commons>=3.0.0",
|
22
|
-
"square_logger>=
|
22
|
+
"square_logger>=3.0.0",
|
23
23
|
"square_database_helper>=2.6.1",
|
24
24
|
"square_database_structure>=2.6.0",
|
25
25
|
"square_file_store_helper>=3.0.0",
|
{square_authentication-10.0.2 → square_authentication-10.0.3}/square_authentication/configuration.py
RENAMED
@@ -93,6 +93,12 @@ try:
|
|
93
93
|
config_int_square_file_store_port = int(
|
94
94
|
ldict_configuration["SQUARE_FILE_STORE_HELPER"]["SQUARE_FILE_STORE_PORT"]
|
95
95
|
)
|
96
|
+
config_formatter_choice = ldict_configuration["SQUARE_LOGGER"]["FORMATTER_CHOICE"]
|
97
|
+
if config_formatter_choice not in ("human_readable", "json"):
|
98
|
+
raise ValueError(f"Invalid formatter choice: {config_formatter_choice}")
|
99
|
+
config_bool_enable_redaction = eval(
|
100
|
+
ldict_configuration["SQUARE_LOGGER"]["ENABLE_REDACTION"]
|
101
|
+
)
|
96
102
|
# ===========================================
|
97
103
|
|
98
104
|
# ===========================================
|
@@ -143,10 +149,12 @@ try:
|
|
143
149
|
|
144
150
|
# Initialize logger
|
145
151
|
global_object_square_logger = SquareLogger(
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
152
|
+
log_file_name=config_str_log_file_name,
|
153
|
+
log_level=config_int_log_level,
|
154
|
+
log_path=config_str_log_path,
|
155
|
+
log_backup_count=config_int_log_backup_count,
|
156
|
+
formatter_choice=config_formatter_choice,
|
157
|
+
enable_redaction=config_bool_enable_redaction,
|
150
158
|
)
|
151
159
|
global_object_square_database_helper = SquareDatabaseHelper(
|
152
160
|
param_str_square_database_ip=config_str_square_database_ip,
|
@@ -40,6 +40,9 @@ LOG_PATH = logs
|
|
40
40
|
# number of backup log files to keep during rotation
|
41
41
|
# if backupCount is zero, rollover never occurs.
|
42
42
|
LOG_BACKUP_COUNT = 3
|
43
|
+
# json or human_readable
|
44
|
+
FORMATTER_CHOICE = json
|
45
|
+
ENABLE_REDACTION = True
|
43
46
|
|
44
47
|
[SQUARE_DATABASE_HELPER]
|
45
48
|
|
@@ -40,6 +40,9 @@ LOG_PATH = logs
|
|
40
40
|
# number of backup log files to keep during rotation
|
41
41
|
# if backupCount is zero, rollover never occurs.
|
42
42
|
LOG_BACKUP_COUNT = 3
|
43
|
+
# json or human_readable
|
44
|
+
FORMATTER_CHOICE = json
|
45
|
+
ENABLE_REDACTION = True
|
43
46
|
|
44
47
|
[SQUARE_DATABASE_HELPER]
|
45
48
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: square_authentication
|
3
|
-
Version: 10.0.
|
3
|
+
Version: 10.0.3
|
4
4
|
Summary: authentication layer for my personal server.
|
5
5
|
Home-page: https://github.com/thepmsquare/square_authentication
|
6
6
|
Author: Parth Mukesh Mangtani
|
@@ -27,7 +27,7 @@ Requires-Dist: pyjwt>=2.8.0
|
|
27
27
|
Requires-Dist: requests>=2.32.3
|
28
28
|
Requires-Dist: cryptography>=42.0.7
|
29
29
|
Requires-Dist: square_commons>=3.0.0
|
30
|
-
Requires-Dist: square_logger>=
|
30
|
+
Requires-Dist: square_logger>=3.0.0
|
31
31
|
Requires-Dist: square_database_helper>=2.6.1
|
32
32
|
Requires-Dist: square_database_structure>=2.6.0
|
33
33
|
Requires-Dist: square_file_store_helper>=3.0.0
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{square_authentication-10.0.2 → square_authentication-10.0.3}/square_authentication/__init__.py
RENAMED
File without changes
|
File without changes
|
{square_authentication-10.0.2 → square_authentication-10.0.3}/square_authentication/messages.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{square_authentication-10.0.2 → square_authentication-10.0.3}/square_authentication/routes/core.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{square_authentication-10.0.2 → square_authentication-10.0.3}/square_authentication/utils/core.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{square_authentication-10.0.2 → square_authentication-10.0.3}/square_authentication/utils/token.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{square_authentication-10.0.2 → square_authentication-10.0.3}/tests/test_email_verification.py
RENAMED
File without changes
|
File without changes
|
{square_authentication-10.0.2 → square_authentication-10.0.3}/tests/test_profile_management.py
RENAMED
File without changes
|
{square_authentication-10.0.2 → square_authentication-10.0.3}/tests/test_token_management.py
RENAMED
File without changes
|
File without changes
|
File without changes
|