square-authentication 6.2.1__tar.gz → 6.2.2__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 (26) hide show
  1. {square_authentication-6.2.1 → square_authentication-6.2.2}/PKG-INFO +7 -3
  2. {square_authentication-6.2.1 → square_authentication-6.2.2}/README.md +5 -1
  3. {square_authentication-6.2.1 → square_authentication-6.2.2}/setup.py +2 -2
  4. {square_authentication-6.2.1 → square_authentication-6.2.2}/square_authentication/configuration.py +6 -1
  5. {square_authentication-6.2.1 → square_authentication-6.2.2}/square_authentication.egg-info/PKG-INFO +7 -3
  6. {square_authentication-6.2.1 → square_authentication-6.2.2}/square_authentication.egg-info/SOURCES.txt +2 -2
  7. {square_authentication-6.2.1 → square_authentication-6.2.2}/square_authentication.egg-info/requires.txt +1 -1
  8. {square_authentication-6.2.1 → square_authentication-6.2.2}/setup.cfg +0 -0
  9. {square_authentication-6.2.1 → square_authentication-6.2.2}/square_authentication/__init__.py +0 -0
  10. /square_authentication-6.2.1/square_authentication/data/config.ini → /square_authentication-6.2.2/square_authentication/data/config.sample.ini +0 -0
  11. /square_authentication-6.2.1/square_authentication/data/config.testing.ini → /square_authentication-6.2.2/square_authentication/data/config.testing.sample.ini +0 -0
  12. {square_authentication-6.2.1 → square_authentication-6.2.2}/square_authentication/main.py +0 -0
  13. {square_authentication-6.2.1 → square_authentication-6.2.2}/square_authentication/messages.py +0 -0
  14. {square_authentication-6.2.1 → square_authentication-6.2.2}/square_authentication/pydantic_models/__init__.py +0 -0
  15. {square_authentication-6.2.1 → square_authentication-6.2.2}/square_authentication/pydantic_models/core.py +0 -0
  16. {square_authentication-6.2.1 → square_authentication-6.2.2}/square_authentication/routes/__init__.py +0 -0
  17. {square_authentication-6.2.1 → square_authentication-6.2.2}/square_authentication/routes/core.py +0 -0
  18. {square_authentication-6.2.1 → square_authentication-6.2.2}/square_authentication/routes/profile.py +0 -0
  19. {square_authentication-6.2.1 → square_authentication-6.2.2}/square_authentication/routes/utility.py +0 -0
  20. {square_authentication-6.2.1 → square_authentication-6.2.2}/square_authentication/utils/__init__.py +0 -0
  21. {square_authentication-6.2.1 → square_authentication-6.2.2}/square_authentication/utils/encryption.py +0 -0
  22. {square_authentication-6.2.1 → square_authentication-6.2.2}/square_authentication/utils/token.py +0 -0
  23. {square_authentication-6.2.1 → square_authentication-6.2.2}/square_authentication.egg-info/dependency_links.txt +0 -0
  24. {square_authentication-6.2.1 → square_authentication-6.2.2}/square_authentication.egg-info/top_level.txt +0 -0
  25. {square_authentication-6.2.1 → square_authentication-6.2.2}/tests/test_1.py +0 -0
  26. {square_authentication-6.2.1 → square_authentication-6.2.2}/tests/test_username.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: square_authentication
3
- Version: 6.2.1
3
+ Version: 6.2.2
4
4
  Summary: authentication layer for my personal server.
5
5
  Home-page: https://github.com/thepmsquare/square_authentication
6
6
  Author: thePmSquare
@@ -19,7 +19,7 @@ Requires-Dist: bcrypt>=4.1.2
19
19
  Requires-Dist: pyjwt>=2.8.0
20
20
  Requires-Dist: requests>=2.32.3
21
21
  Requires-Dist: cryptography>=42.0.7
22
- Requires-Dist: square_commons>=1.0.0
22
+ Requires-Dist: square_commons>=2.1.0
23
23
  Requires-Dist: square_logger>=2.0.0
24
24
  Requires-Dist: square_database_helper>=2.0.0
25
25
  Requires-Dist: square_database_structure>=2.3.1
@@ -53,10 +53,14 @@ pip install square_authentication
53
53
 
54
54
  ## changelog
55
55
 
56
+ ### v6.2.2
57
+
58
+ - remove config.ini and config.testing.ini from version control.
59
+
56
60
  ### v6.2.1
57
61
 
58
62
  - core
59
- - tweak validation for username in register_username_v0 and update_username_v0.
63
+ - tweak validation for username in register_username_v0 and update_username_v0.
60
64
 
61
65
  ### v6.2.0
62
66
 
@@ -16,10 +16,14 @@ pip install square_authentication
16
16
 
17
17
  ## changelog
18
18
 
19
+ ### v6.2.2
20
+
21
+ - remove config.ini and config.testing.ini from version control.
22
+
19
23
  ### v6.2.1
20
24
 
21
25
  - core
22
- - tweak validation for username in register_username_v0 and update_username_v0.
26
+ - tweak validation for username in register_username_v0 and update_username_v0.
23
27
 
24
28
  ### v6.2.0
25
29
 
@@ -4,7 +4,7 @@ package_name = "square_authentication"
4
4
 
5
5
  setup(
6
6
  name=package_name,
7
- version="6.2.1",
7
+ version="6.2.2",
8
8
  packages=find_packages(),
9
9
  package_data={
10
10
  package_name: ["data/*"],
@@ -18,7 +18,7 @@ setup(
18
18
  "pyjwt>=2.8.0",
19
19
  "requests>=2.32.3",
20
20
  "cryptography>=42.0.7",
21
- "square_commons>=1.0.0",
21
+ "square_commons>=2.1.0",
22
22
  "square_logger>=2.0.0",
23
23
  "square_database_helper>=2.0.0",
24
24
  "square_database_structure>=2.3.1",
@@ -10,7 +10,12 @@ try:
10
10
  config_file_path = os.path.join(
11
11
  os.path.dirname(os.path.abspath(__file__)), "data", "config.ini"
12
12
  )
13
- ldict_configuration = ConfigReader(config_file_path).read_configuration()
13
+ config_sample_file_path = os.path.join(
14
+ os.path.dirname(os.path.abspath(__file__)), "data", "config.sample.ini"
15
+ )
16
+ ldict_configuration = ConfigReader(
17
+ config_file_path, config_sample_file_path
18
+ ).read_configuration()
14
19
 
15
20
  # get all vars and typecast
16
21
  # ===========================================
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: square_authentication
3
- Version: 6.2.1
3
+ Version: 6.2.2
4
4
  Summary: authentication layer for my personal server.
5
5
  Home-page: https://github.com/thepmsquare/square_authentication
6
6
  Author: thePmSquare
@@ -19,7 +19,7 @@ Requires-Dist: bcrypt>=4.1.2
19
19
  Requires-Dist: pyjwt>=2.8.0
20
20
  Requires-Dist: requests>=2.32.3
21
21
  Requires-Dist: cryptography>=42.0.7
22
- Requires-Dist: square_commons>=1.0.0
22
+ Requires-Dist: square_commons>=2.1.0
23
23
  Requires-Dist: square_logger>=2.0.0
24
24
  Requires-Dist: square_database_helper>=2.0.0
25
25
  Requires-Dist: square_database_structure>=2.3.1
@@ -53,10 +53,14 @@ pip install square_authentication
53
53
 
54
54
  ## changelog
55
55
 
56
+ ### v6.2.2
57
+
58
+ - remove config.ini and config.testing.ini from version control.
59
+
56
60
  ### v6.2.1
57
61
 
58
62
  - core
59
- - tweak validation for username in register_username_v0 and update_username_v0.
63
+ - tweak validation for username in register_username_v0 and update_username_v0.
60
64
 
61
65
  ### v6.2.0
62
66
 
@@ -9,8 +9,8 @@ square_authentication.egg-info/SOURCES.txt
9
9
  square_authentication.egg-info/dependency_links.txt
10
10
  square_authentication.egg-info/requires.txt
11
11
  square_authentication.egg-info/top_level.txt
12
- square_authentication/data/config.ini
13
- square_authentication/data/config.testing.ini
12
+ square_authentication/data/config.sample.ini
13
+ square_authentication/data/config.testing.sample.ini
14
14
  square_authentication/pydantic_models/__init__.py
15
15
  square_authentication/pydantic_models/core.py
16
16
  square_authentication/routes/__init__.py
@@ -6,7 +6,7 @@ bcrypt>=4.1.2
6
6
  pyjwt>=2.8.0
7
7
  requests>=2.32.3
8
8
  cryptography>=42.0.7
9
- square_commons>=1.0.0
9
+ square_commons>=2.1.0
10
10
  square_logger>=2.0.0
11
11
  square_database_helper>=2.0.0
12
12
  square_database_structure>=2.3.1