panther 4.2.2__py3-none-any.whl → 4.2.3__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.
panther/__init__.py CHANGED
@@ -1,6 +1,6 @@
1
1
  from panther.main import Panther # noqa: F401
2
2
 
3
- __version__ = '4.2.2'
3
+ __version__ = '4.2.3'
4
4
 
5
5
 
6
6
  def version():
panther/db/utils.py CHANGED
@@ -29,7 +29,7 @@ def log_query(func):
29
29
  def check_connection(func):
30
30
  async def wrapper(*args, **kwargs):
31
31
  if config.QUERY_ENGINE is None:
32
- msg = "You don't have active database connection, Check your middlewares"
32
+ msg = "You don't have active database connection, Check your DATABASE block in configs"
33
33
  raise NotImplementedError(msg)
34
34
  return await func(*args, **kwargs)
35
35
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: panther
3
- Version: 4.2.2
3
+ Version: 4.2.3
4
4
  Summary: Fast & Friendly, Web Framework For Building Async APIs
5
5
  Home-page: https://github.com/alirn76/panther
6
6
  Author: Ali RajabNezhad
@@ -13,20 +13,20 @@ Classifier: Programming Language :: Python :: 3.12
13
13
  Requires-Python: >=3.10
14
14
  Description-Content-Type: text/markdown
15
15
  License-File: LICENSE
16
- Requires-Dist: httptools ~=0.6
17
- Requires-Dist: pantherdb ==2.1.0
18
- Requires-Dist: pydantic ~=2.6
19
- Requires-Dist: rich ~=13.7
20
- Requires-Dist: uvicorn ~=0.27
16
+ Requires-Dist: httptools ~=0.6.1
17
+ Requires-Dist: pantherdb ~=2.1.0
18
+ Requires-Dist: pydantic ~=2.7.4
19
+ Requires-Dist: rich ~=13.7.1
20
+ Requires-Dist: uvicorn ~=0.27.1
21
21
  Requires-Dist: pytz ~=2024.1
22
22
  Provides-Extra: full
23
23
  Requires-Dist: redis ==5.0.1 ; extra == 'full'
24
- Requires-Dist: motor ~=3.3 ; extra == 'full'
24
+ Requires-Dist: motor ~=3.5.0 ; extra == 'full'
25
25
  Requires-Dist: bpython ~=0.24 ; extra == 'full'
26
26
  Requires-Dist: ruff ~=0.1.9 ; extra == 'full'
27
- Requires-Dist: python-jose ~=3.3 ; extra == 'full'
27
+ Requires-Dist: python-jose ~=3.3.0 ; extra == 'full'
28
28
  Requires-Dist: websockets ~=12.0 ; extra == 'full'
29
- Requires-Dist: cryptography ~=42.0 ; extra == 'full'
29
+ Requires-Dist: cryptography ~=42.0.8 ; extra == 'full'
30
30
  Requires-Dist: watchfiles ~=0.21.0 ; extra == 'full'
31
31
 
32
32
 
@@ -56,7 +56,7 @@ Requires-Dist: watchfiles ~=0.21.0 ; extra == 'full'
56
56
  - Support Custom **Middlewares**
57
57
  - Support Custom **Throttling**
58
58
  - Support **Function-Base** and **Class-Base** APIs
59
- - It's One Of The **Fastest Python Framework**
59
+ - It's One Of The **Fastest Python Framework** ([Benchmark](https://www.techempower.com/benchmarks/#section=test&runid=d3364379-1bf7-465f-bcb1-e9c65b4840f9&hw=ph&test=fortune&l=zik0zj-6bi))
60
60
  ---
61
61
 
62
62
  ### Supported by
@@ -1,4 +1,4 @@
1
- panther/__init__.py,sha256=Sv6vixQQrNOJFV4kgGUL-pMtNbXp7MrXCoCs7BYP6p0,110
1
+ panther/__init__.py,sha256=Nnh-BbkFDE8VPq-rwqN77nqyR2APRJ19ZXjzrBrNX6c,110
2
2
  panther/_load_configs.py,sha256=AVkoixkUFkBQiTmrLrwCmg0eiPW2U_Uw2EGNEGQRfnI,9281
3
3
  panther/_utils.py,sha256=j0rwIxTf0rtcZAAD-1nGE-_bWpvinyKtnwt3uO0hMmY,4330
4
4
  panther/app.py,sha256=e2eb4sXIaBje5vpcm4pbvvEO_sj83pLfBHCIZJFFX38,8222
@@ -37,7 +37,7 @@ panther/db/__init__.py,sha256=w9lEL0vRqb18Qx_iUJipUR_fi5GQ5uVX0DWycx14x08,50
37
37
  panther/db/connections.py,sha256=rps48Ic2r3SV2HD3df1OU7C4Pv8j98PVXU1O_FqF9Ak,4210
38
38
  panther/db/cursor.py,sha256=jJ6bhz_Zljt3-AoeVdi563e2q3MSDJPP33WVbQk-goE,1287
39
39
  panther/db/models.py,sha256=GRbKXJiwnxQJ_SjuPfXPzA5miH_djZNTPPyqiRp5DI8,2561
40
- panther/db/utils.py,sha256=frSekBisjeHUHTiucgeiJNOGdrNcf3mjodupyeZjyKk,1575
40
+ panther/db/utils.py,sha256=ZZa3TMkuRtssl5ZRItFLonyxvMFsTq4fmTD4BblhLDA,1589
41
41
  panther/db/queries/__init__.py,sha256=uF4gvBjLBJ-Yl3WLqoZEVNtHCVhFRKW3_Vi44pJxDNI,45
42
42
  panther/db/queries/base_queries.py,sha256=8HhdlsSW-lgz3-IrZYfOtHNC3TBWbCNErDR4XE718AY,3764
43
43
  panther/db/queries/mongodb_queries.py,sha256=4CQRdmgmKFIpnv6xijS0BMJO-Sf5beyuzmw8Z9jLtnA,5599
@@ -49,9 +49,9 @@ panther/panel/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
49
49
  panther/panel/apis.py,sha256=COsbwKZyTgyHvHYbpDfusifAH9ojMS3z1KhZCt9M-Ms,2428
50
50
  panther/panel/urls.py,sha256=JiV-H4dWE-m_bfaTTVxzOxTvJmOWhyLOvcbM7xU3Bn4,240
51
51
  panther/panel/utils.py,sha256=0Rv79oR5IEqalqwpRKQHMn1p5duVY5mxMqDKiA5mWx4,437
52
- panther-4.2.2.dist-info/LICENSE,sha256=2aF1hL2aC0zRPjzUkSxJUzZbn2_uLoOkn7DHjzZni-I,1524
53
- panther-4.2.2.dist-info/METADATA,sha256=WuUnOJAvGmczG9Mq0UJu0dKjaFLDqL6Vqvvh0cceGD0,6376
54
- panther-4.2.2.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
55
- panther-4.2.2.dist-info/entry_points.txt,sha256=6GPxYFGuzVfNB4YpHFJvYex6iWah5_tLnirAHwj2Qsg,51
56
- panther-4.2.2.dist-info/top_level.txt,sha256=VbBs02JGXTIoHMzsX-eLOk2MCbBZzQbLhWiYpI7xI2g,8
57
- panther-4.2.2.dist-info/RECORD,,
52
+ panther-4.2.3.dist-info/LICENSE,sha256=2aF1hL2aC0zRPjzUkSxJUzZbn2_uLoOkn7DHjzZni-I,1524
53
+ panther-4.2.3.dist-info/METADATA,sha256=eVG_pGFx9YD_x49hTbwe9XVg-7AzfCOrxPcc-LOIeXs,6532
54
+ panther-4.2.3.dist-info/WHEEL,sha256=y4mX-SOX4fYIkonsAGA5N0Oy-8_gI4FXw5HNI1xqvWg,91
55
+ panther-4.2.3.dist-info/entry_points.txt,sha256=6GPxYFGuzVfNB4YpHFJvYex6iWah5_tLnirAHwj2Qsg,51
56
+ panther-4.2.3.dist-info/top_level.txt,sha256=VbBs02JGXTIoHMzsX-eLOk2MCbBZzQbLhWiYpI7xI2g,8
57
+ panther-4.2.3.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.43.0)
2
+ Generator: setuptools (70.2.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5