panther 2.3.1__py3-none-any.whl → 2.3.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__ = '2.3.1'
3
+ __version__ = '2.3.3'
4
4
 
5
5
 
6
6
  def version():
panther/cli/template.py CHANGED
@@ -45,7 +45,7 @@ InfoThrottling = Throttling(rate=5, duration=timedelta(minutes=1))
45
45
 
46
46
  app_urls_py = """from app.apis import hello_world_api, info_api
47
47
 
48
- url_routing = {
48
+ urls = {
49
49
  '/': hello_world_api,
50
50
  'info/': info_api,
51
51
  }
@@ -101,7 +101,7 @@ app = Panther(__name__)
101
101
 
102
102
  urls_py = """from app.urls import urls as app_urls
103
103
 
104
- urls = {
104
+ url_routing = {
105
105
  '/': app_urls,
106
106
  }
107
107
  """
panther/response.py CHANGED
@@ -36,7 +36,7 @@ class Response:
36
36
  @property
37
37
  def headers(self) -> dict:
38
38
  return {
39
- 'content_type': self.content_type,
39
+ 'content-type': self.content_type,
40
40
  'access-control-allow-origin': '*',
41
41
  } | (self._headers or {})
42
42
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: panther
3
- Version: 2.3.1
3
+ Version: 2.3.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
@@ -1,4 +1,4 @@
1
- panther/__init__.py,sha256=Lg4EWEPm84UforgO3VNSpfHXMjsgiSVPVAZOGTm9158,110
1
+ panther/__init__.py,sha256=HHDOCz3EGOTC29fDLIWbXS-QxRx9NJwMoMI9FVVyONY,110
2
2
  panther/_load_configs.py,sha256=ZvEwmr-0STQetr8YA69l6yDz8bl5MYbMtUR9TnnHbPY,5660
3
3
  panther/_utils.py,sha256=b_XLlj6-LMrRk7EqfPrCMW4eHZigkJVeldsLwu5HRAg,3945
4
4
  panther/app.py,sha256=oq7ZFBMiXw95nPoPKMT4OIEPXqibry6twqpmvVfQ5rE,8252
@@ -11,7 +11,7 @@ panther/logger.py,sha256=aWUY9QtwjvrENpJuBmySx2b1MNn_zbwE5G8yFHMYSmM,2602
11
11
  panther/main.py,sha256=Ejq_AlEWTlYfAPMLUyvrDnyoVs-2cbJe352yBbWl95c,6940
12
12
  panther/permissions.py,sha256=2Pqbrm7Hm2Bu59i0rwsbotjV5w8ZJzeLD-QMWvKOLWg,357
13
13
  panther/request.py,sha256=x_O0c7aUIBAnGV33wVAoScWXWqCPF_3BwFb10fx9ekE,4466
14
- panther/response.py,sha256=uWCd44dguCvimyXGus9k_3bGFQ3rYdloY5yrpBkYOH4,2460
14
+ panther/response.py,sha256=CQALMSlVGVVkuaX4ffVPIQiyS9TPi2uuTQCQ3ZBtRik,2460
15
15
  panther/routings.py,sha256=df79D1T5GjtjyISxIVD9za90g9mqqBSynges2Pj_76g,5171
16
16
  panther/status.py,sha256=5mruGJV23VlZo8f6OHLzBLkRRd_dTxKg-4XdYTma7fg,2674
17
17
  panther/throttling.py,sha256=mVa_mGv6w_Ad7LLtV4eG5QpDwwNsk4QjFFi0mIHQBnE,231
@@ -21,7 +21,7 @@ panther/cli/create_command.py,sha256=n4iTJNwKZUmv8fQSjyytQwVKhwbePcshwyEbQxD4wvQ
21
21
  panther/cli/main.py,sha256=2VhJjYSdKd3AgeH9XLr36-H9sPKdGRozIVqrIgDiv04,886
22
22
  panther/cli/monitor_command.py,sha256=IiPjB3UbV5KtPC7mVJnHnKyavIVOeI4aWDP_5LZ0pPE,2076
23
23
  panther/cli/run_command.py,sha256=c-yWKN_Ocfd45mRJubzD-FIoj84cwm9bjXgRjAIPbx0,1511
24
- panther/cli/template.py,sha256=eCtjHl_yXieJ3G2itffs2QsaNlnOgro9swBe_QX85yI,3057
24
+ panther/cli/template.py,sha256=voVWIVUcE5hvQ98TLBWvKdmt7t7JC5hLaaqCNlDM68I,3057
25
25
  panther/cli/utils.py,sha256=7VP0qGXtBajcp4-cacWtxypY-28FZXISctVbfpGhmxQ,8630
26
26
  panther/db/__init__.py,sha256=w9lEL0vRqb18Qx_iUJipUR_fi5GQ5uVX0DWycx14x08,50
27
27
  panther/db/connection.py,sha256=vGUpg256_JuuX0IsFDlyPlPPrZbWvsgc8e_LENK-BLo,2273
@@ -40,9 +40,9 @@ panther/panel/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
40
40
  panther/panel/apis.py,sha256=CTPTycvV4wq00B9lfUMdYa6eiHifWPreAUV9X_wMQTY,1844
41
41
  panther/panel/urls.py,sha256=BQkWqSJBPP3VEQYeorKSHIRx-PUl21Y7Z6NFylmhs1I,192
42
42
  panther/panel/utils.py,sha256=AxP2m2J9YNdRYBNPAF_4UyvzDUt6e_9T_6UKDxKoPjg,441
43
- panther-2.3.1.dist-info/LICENSE,sha256=2aF1hL2aC0zRPjzUkSxJUzZbn2_uLoOkn7DHjzZni-I,1524
44
- panther-2.3.1.dist-info/METADATA,sha256=K5_sJNDiuuYF7BO5tbkoKu4GPOd17UYz7gRA5nfbTuQ,8598
45
- panther-2.3.1.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
46
- panther-2.3.1.dist-info/entry_points.txt,sha256=6GPxYFGuzVfNB4YpHFJvYex6iWah5_tLnirAHwj2Qsg,51
47
- panther-2.3.1.dist-info/top_level.txt,sha256=VbBs02JGXTIoHMzsX-eLOk2MCbBZzQbLhWiYpI7xI2g,8
48
- panther-2.3.1.dist-info/RECORD,,
43
+ panther-2.3.3.dist-info/LICENSE,sha256=2aF1hL2aC0zRPjzUkSxJUzZbn2_uLoOkn7DHjzZni-I,1524
44
+ panther-2.3.3.dist-info/METADATA,sha256=9T4PfyWl2W8ArMDt-eslTloeZiF8h88PXDAvtYN5g4I,8598
45
+ panther-2.3.3.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
46
+ panther-2.3.3.dist-info/entry_points.txt,sha256=6GPxYFGuzVfNB4YpHFJvYex6iWah5_tLnirAHwj2Qsg,51
47
+ panther-2.3.3.dist-info/top_level.txt,sha256=VbBs02JGXTIoHMzsX-eLOk2MCbBZzQbLhWiYpI7xI2g,8
48
+ panther-2.3.3.dist-info/RECORD,,