panther 2.3.1__tar.gz → 2.3.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.
Files changed (59) hide show
  1. {panther-2.3.1 → panther-2.3.3}/PKG-INFO +1 -1
  2. {panther-2.3.1 → panther-2.3.3}/panther/__init__.py +1 -1
  3. {panther-2.3.1 → panther-2.3.3}/panther/response.py +1 -1
  4. {panther-2.3.1 → panther-2.3.3}/panther.egg-info/PKG-INFO +1 -1
  5. {panther-2.3.1 → panther-2.3.3}/LICENSE +0 -0
  6. {panther-2.3.1 → panther-2.3.3}/README.md +0 -0
  7. {panther-2.3.1 → panther-2.3.3}/panther/_load_configs.py +0 -0
  8. {panther-2.3.1 → panther-2.3.3}/panther/_utils.py +0 -0
  9. {panther-2.3.1 → panther-2.3.3}/panther/app.py +0 -0
  10. {panther-2.3.1 → panther-2.3.3}/panther/authentications.py +0 -0
  11. {panther-2.3.1 → panther-2.3.3}/panther/caching.py +0 -0
  12. {panther-2.3.1 → panther-2.3.3}/panther/cli/__init__.py +0 -0
  13. {panther-2.3.1 → panther-2.3.3}/panther/cli/create_command.py +0 -0
  14. {panther-2.3.1 → panther-2.3.3}/panther/cli/main.py +0 -0
  15. {panther-2.3.1 → panther-2.3.3}/panther/cli/monitor_command.py +0 -0
  16. {panther-2.3.1 → panther-2.3.3}/panther/cli/run_command.py +0 -0
  17. {panther-2.3.1 → panther-2.3.3}/panther/cli/template.py +2 -2
  18. {panther-2.3.1 → panther-2.3.3}/panther/cli/utils.py +0 -0
  19. {panther-2.3.1 → panther-2.3.3}/panther/configs.py +0 -0
  20. {panther-2.3.1 → panther-2.3.3}/panther/db/__init__.py +0 -0
  21. {panther-2.3.1 → panther-2.3.3}/panther/db/connection.py +0 -0
  22. {panther-2.3.1 → panther-2.3.3}/panther/db/models.py +0 -0
  23. {panther-2.3.1 → panther-2.3.3}/panther/db/queries/__init__.py +0 -0
  24. {panther-2.3.1 → panther-2.3.3}/panther/db/queries/mongodb_queries.py +0 -0
  25. {panther-2.3.1 → panther-2.3.3}/panther/db/queries/pantherdb_queries.py +0 -0
  26. {panther-2.3.1 → panther-2.3.3}/panther/db/queries/queries.py +0 -0
  27. {panther-2.3.1 → panther-2.3.3}/panther/db/utils.py +0 -0
  28. {panther-2.3.1 → panther-2.3.3}/panther/exceptions.py +0 -0
  29. {panther-2.3.1 → panther-2.3.3}/panther/file_handler.py +0 -0
  30. {panther-2.3.1 → panther-2.3.3}/panther/logger.py +0 -0
  31. {panther-2.3.1 → panther-2.3.3}/panther/main.py +0 -0
  32. {panther-2.3.1 → panther-2.3.3}/panther/middlewares/__init__.py +0 -0
  33. {panther-2.3.1 → panther-2.3.3}/panther/middlewares/base.py +0 -0
  34. {panther-2.3.1 → panther-2.3.3}/panther/middlewares/db.py +0 -0
  35. {panther-2.3.1 → panther-2.3.3}/panther/middlewares/monitoring.py +0 -0
  36. {panther-2.3.1 → panther-2.3.3}/panther/middlewares/redis.py +0 -0
  37. {panther-2.3.1 → panther-2.3.3}/panther/panel/__init__.py +0 -0
  38. {panther-2.3.1 → panther-2.3.3}/panther/panel/apis.py +0 -0
  39. {panther-2.3.1 → panther-2.3.3}/panther/panel/urls.py +0 -0
  40. {panther-2.3.1 → panther-2.3.3}/panther/panel/utils.py +0 -0
  41. {panther-2.3.1 → panther-2.3.3}/panther/permissions.py +0 -0
  42. {panther-2.3.1 → panther-2.3.3}/panther/request.py +0 -0
  43. {panther-2.3.1 → panther-2.3.3}/panther/routings.py +0 -0
  44. {panther-2.3.1 → panther-2.3.3}/panther/status.py +0 -0
  45. {panther-2.3.1 → panther-2.3.3}/panther/throttling.py +0 -0
  46. {panther-2.3.1 → panther-2.3.3}/panther/utils.py +0 -0
  47. {panther-2.3.1 → panther-2.3.3}/panther.egg-info/SOURCES.txt +0 -0
  48. {panther-2.3.1 → panther-2.3.3}/panther.egg-info/dependency_links.txt +0 -0
  49. {panther-2.3.1 → panther-2.3.3}/panther.egg-info/entry_points.txt +0 -0
  50. {panther-2.3.1 → panther-2.3.3}/panther.egg-info/requires.txt +0 -0
  51. {panther-2.3.1 → panther-2.3.3}/panther.egg-info/top_level.txt +0 -0
  52. {panther-2.3.1 → panther-2.3.3}/pyproject.toml +0 -0
  53. {panther-2.3.1 → panther-2.3.3}/setup.cfg +0 -0
  54. {panther-2.3.1 → panther-2.3.3}/setup.py +0 -0
  55. {panther-2.3.1 → panther-2.3.3}/tests/test_mongodb.py +0 -0
  56. {panther-2.3.1 → panther-2.3.3}/tests/test_pantherdb.py +0 -0
  57. {panther-2.3.1 → panther-2.3.3}/tests/test_routing.py +0 -0
  58. {panther-2.3.1 → panther-2.3.3}/tests/test_run.py +0 -0
  59. {panther-2.3.1 → panther-2.3.3}/tests/test_utils.py +0 -0
@@ -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,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():
@@ -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
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -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
  """
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes