pyquoks 1.3.1__py3-none-any.whl → 1.3.2.1__py3-none-any.whl

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.
pyquoks/data.py CHANGED
@@ -87,6 +87,8 @@ class IConfigProvider:
87
87
  match data_type.__name__:
88
88
  case "int":
89
89
  setattr(self, setting, int(getattr(self, setting)))
90
+ case "float":
91
+ setattr(self, setting, float(getattr(self, setting)))
90
92
  case "bool":
91
93
  if getattr(self, setting) not in (str(True), str(False)):
92
94
  setattr(self, setting, None)
@@ -324,14 +326,10 @@ class IDatabaseManager:
324
326
  check_same_thread=False,
325
327
  )
326
328
 
327
- self._cursor = self.cursor()
328
- self._db_cursor.execute(self._SQL)
329
+ cursor = self.cursor()
330
+ cursor.execute(self._SQL)
329
331
  self.commit()
330
332
 
331
- @property
332
- def _db_cursor(self) -> sqlite3.Cursor:
333
- return self._cursor
334
-
335
333
  _PATH: str = utils.get_path("db/")
336
334
  """
337
335
  Path to the directory with databases
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyquoks
3
- Version: 1.3.1
3
+ Version: 1.3.2.1
4
4
  Summary: Пакет PyPI для часто используемых модулей в проектах diquoks
5
5
  Home-page: https://diquoks.ru
6
6
  Author: Denis Titovets
@@ -13,15 +13,15 @@ Description-Content-Type: text/markdown
13
13
  License-File: LICENSE
14
14
  Requires-Dist: blinker==1.9.0
15
15
  Requires-Dist: certifi==2025.10.5
16
- Requires-Dist: charset-normalizer==3.4.3
16
+ Requires-Dist: charset-normalizer==3.4.4
17
17
  Requires-Dist: click==8.3.0
18
18
  Requires-Dist: colorama==0.4.6
19
19
  Requires-Dist: Flask==3.1.2
20
- Requires-Dist: idna==3.10
20
+ Requires-Dist: idna==3.11
21
21
  Requires-Dist: itsdangerous==2.2.0
22
22
  Requires-Dist: Jinja2==3.1.6
23
23
  Requires-Dist: MarkupSafe==3.0.3
24
- Requires-Dist: pillow==11.3.0
24
+ Requires-Dist: pillow==12.0.0
25
25
  Requires-Dist: requests==2.32.5
26
26
  Requires-Dist: urllib3==2.5.0
27
27
  Requires-Dist: waitress==3.0.2
@@ -0,0 +1,10 @@
1
+ pyquoks/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
+ pyquoks/data.py,sha256=lwdhIS2zls5UqN7hn4shL3NBHDUxDUk8R7CicbQqM20,15724
3
+ pyquoks/localhost.py,sha256=2sl1CovYrnIzBYW-eKDIYOfi5bUsSVTAdQobzAHpIys,828
4
+ pyquoks/models.py,sha256=kdduuHgh8RLe8_S5Lmv3jS6hqsZG-oYQhPTgk2C11ug,4171
5
+ pyquoks/utils.py,sha256=lcHZyIFIflGMqAhDkqm8GWOUFwb2f-IHgIPZxEiHBz0,484
6
+ pyquoks-1.3.2.1.dist-info/licenses/LICENSE,sha256=eEd8UIYxvKUY7vqrV1XTFo70_FQdiW6o1fznseCXRJs,1095
7
+ pyquoks-1.3.2.1.dist-info/METADATA,sha256=FvyQo98t33VtfExAHVdUf1nCmOcQFsYcA9Wf3NY8Cz8,1804
8
+ pyquoks-1.3.2.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
9
+ pyquoks-1.3.2.1.dist-info/top_level.txt,sha256=4Eqn44TCCp-D8V6To92e8-KKr49ZGf0dCcsdRQmPkhc,8
10
+ pyquoks-1.3.2.1.dist-info/RECORD,,
@@ -1,10 +0,0 @@
1
- pyquoks/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- pyquoks/data.py,sha256=3cN7aJ2KA76obAd-HSicAoi-iBdWWA0UoVGjoA-Zm04,15712
3
- pyquoks/localhost.py,sha256=2sl1CovYrnIzBYW-eKDIYOfi5bUsSVTAdQobzAHpIys,828
4
- pyquoks/models.py,sha256=kdduuHgh8RLe8_S5Lmv3jS6hqsZG-oYQhPTgk2C11ug,4171
5
- pyquoks/utils.py,sha256=lcHZyIFIflGMqAhDkqm8GWOUFwb2f-IHgIPZxEiHBz0,484
6
- pyquoks-1.3.1.dist-info/licenses/LICENSE,sha256=eEd8UIYxvKUY7vqrV1XTFo70_FQdiW6o1fznseCXRJs,1095
7
- pyquoks-1.3.1.dist-info/METADATA,sha256=vdMarZ4P0WjHFerCe5cDYNz7u6Sb_X7Uxb9A-r7TxHg,1802
8
- pyquoks-1.3.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
9
- pyquoks-1.3.1.dist-info/top_level.txt,sha256=4Eqn44TCCp-D8V6To92e8-KKr49ZGf0dCcsdRQmPkhc,8
10
- pyquoks-1.3.1.dist-info/RECORD,,