horsemeat 2.22.0__tar.gz → 2.22.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 (33) hide show
  1. horsemeat-2.22.2/PKG-INFO +13 -0
  2. {horsemeat-2.22.0 → horsemeat-2.22.2}/horsemeat/configwrapper.py +6 -2
  3. {horsemeat-2.22.0 → horsemeat-2.22.2}/horsemeat/version.py +1 -1
  4. {horsemeat-2.22.0 → horsemeat-2.22.2}/horsemeat/webapp/request.py +2 -2
  5. {horsemeat-2.22.0 → horsemeat-2.22.2}/horsemeat/webapp/scrubber.py +1 -1
  6. horsemeat-2.22.2/horsemeat.egg-info/PKG-INFO +13 -0
  7. horsemeat-2.22.0/PKG-INFO +0 -20
  8. horsemeat-2.22.0/horsemeat.egg-info/PKG-INFO +0 -20
  9. {horsemeat-2.22.0 → horsemeat-2.22.2}/MANIFEST.in +0 -0
  10. {horsemeat-2.22.0 → horsemeat-2.22.2}/README +0 -0
  11. {horsemeat-2.22.0 → horsemeat-2.22.2}/horsemeat/__init__.py +0 -0
  12. {horsemeat-2.22.0 → horsemeat-2.22.2}/horsemeat/model/__init__.py +0 -0
  13. {horsemeat-2.22.0 → horsemeat-2.22.2}/horsemeat/model/newsmessage.py +0 -0
  14. {horsemeat-2.22.0 → horsemeat-2.22.2}/horsemeat/model/session.py +0 -0
  15. {horsemeat-2.22.0 → horsemeat-2.22.2}/horsemeat/model/user.py +0 -0
  16. {horsemeat-2.22.0 → horsemeat-2.22.2}/horsemeat/pg.py +0 -0
  17. {horsemeat-2.22.0 → horsemeat-2.22.2}/horsemeat/scripts/make-frippery-project +0 -0
  18. {horsemeat-2.22.0 → horsemeat-2.22.2}/horsemeat/tests/__init__.py +0 -0
  19. {horsemeat-2.22.0 → horsemeat-2.22.2}/horsemeat/tests/test_configwrapper.py +0 -0
  20. {horsemeat-2.22.0 → horsemeat-2.22.2}/horsemeat/webapp/__init__.py +0 -0
  21. {horsemeat-2.22.0 → horsemeat-2.22.2}/horsemeat/webapp/bogusrequest.py +0 -0
  22. {horsemeat-2.22.0 → horsemeat-2.22.2}/horsemeat/webapp/dispatcher.py +0 -0
  23. {horsemeat-2.22.0 → horsemeat-2.22.2}/horsemeat/webapp/framework_templates/__init__.py +0 -0
  24. {horsemeat-2.22.0 → horsemeat-2.22.2}/horsemeat/webapp/frameworkhandlers.py +0 -0
  25. {horsemeat-2.22.0 → horsemeat-2.22.2}/horsemeat/webapp/handler.py +0 -0
  26. {horsemeat-2.22.0 → horsemeat-2.22.2}/horsemeat/webapp/response.py +0 -0
  27. {horsemeat-2.22.0 → horsemeat-2.22.2}/horsemeat.egg-info/SOURCES.txt +0 -0
  28. {horsemeat-2.22.0 → horsemeat-2.22.2}/horsemeat.egg-info/dependency_links.txt +0 -0
  29. {horsemeat-2.22.0 → horsemeat-2.22.2}/horsemeat.egg-info/requires.txt +0 -0
  30. {horsemeat-2.22.0 → horsemeat-2.22.2}/horsemeat.egg-info/top_level.txt +0 -0
  31. {horsemeat-2.22.0 → horsemeat-2.22.2}/requirements.txt +0 -0
  32. {horsemeat-2.22.0 → horsemeat-2.22.2}/setup.cfg +0 -0
  33. {horsemeat-2.22.0 → horsemeat-2.22.2}/setup.py +0 -0
@@ -0,0 +1,13 @@
1
+ Metadata-Version: 2.1
2
+ Name: horsemeat
3
+ Version: 2.22.2
4
+ Summary: Web framework for the damned. The mad.
5
+ Home-page: https://github.com/216software/horsemeat
6
+ Author: 216 Software, LLC
7
+ Author-email: info@216software.com
8
+ License: UNKNOWN
9
+ Platform: UNKNOWN
10
+ Classifier: Programming Language :: Python :: 3
11
+
12
+ UNKNOWN
13
+
@@ -483,7 +483,7 @@ class ConfigWrapper(object):
483
483
  @abc.abstractproperty
484
484
  def dispatcher_class(self):
485
485
 
486
- print "you have to define this in the subclass!"
486
+ print("you have to define this in the subclass!")
487
487
 
488
488
  raise NotImplementedError
489
489
 
@@ -497,7 +497,11 @@ class ConfigWrapper(object):
497
497
 
498
498
  @property
499
499
  def num_webapp_workers(self):
500
- return self.config_dictionary["app"]["num_webapp_workers"]
500
+ return self.config_dictionary["app"].get("num_webapp_workers", 1)
501
+
502
+ @property
503
+ def webapp_timeout_secs(self):
504
+ return self.config_dictionary["app"].get("webapp_timeout", 30)
501
505
 
502
506
 
503
507
  class MissingConfig(KeyError):
@@ -22,4 +22,4 @@ hasn't been installed yet.
22
22
 
23
23
  """
24
24
 
25
- __version__ = '2.22.0'
25
+ __version__ = '2.22.2'
@@ -76,7 +76,7 @@ class Request(collections.MutableMapping):
76
76
  >>> req.parsed_QS['flavor'][0] == u'Jalapeño' # doctest: +SKIP
77
77
  True
78
78
 
79
- >>> print req.parsed_QS['flavor'][0] # doctest: +SKIP
79
+ >>> print(req.parsed_QS['flavor'][0]) # doctest: +SKIP
80
80
  Jalapeño
81
81
 
82
82
  """
@@ -214,7 +214,7 @@ class Request(collections.MutableMapping):
214
214
  >>> req.parsed_body['flavor'][0] == u'Jalape\xf1o' # doctest: +SKIP
215
215
  True
216
216
 
217
- >>> print req.parsed_body['flavor'][0] # doctest: +SKIP
217
+ >>> print(req.parsed_body['flavor'][0]) # doctest: +SKIP
218
218
  Jalapeño
219
219
 
220
220
  >>> 'novalue' in req.parsed_body # doctest: +SKIP
@@ -84,7 +84,7 @@ class Scrubber(object):
84
84
  >>> try:
85
85
  ... Scrubber.validate_email_address('a@b')
86
86
  ... except Exception as ex:
87
- ... print "bad email!"
87
+ ... print("bad email!")
88
88
  bad email!
89
89
 
90
90
  """
@@ -0,0 +1,13 @@
1
+ Metadata-Version: 2.1
2
+ Name: horsemeat
3
+ Version: 2.22.2
4
+ Summary: Web framework for the damned. The mad.
5
+ Home-page: https://github.com/216software/horsemeat
6
+ Author: 216 Software, LLC
7
+ Author-email: info@216software.com
8
+ License: UNKNOWN
9
+ Platform: UNKNOWN
10
+ Classifier: Programming Language :: Python :: 3
11
+
12
+ UNKNOWN
13
+
horsemeat-2.22.0/PKG-INFO DELETED
@@ -1,20 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: horsemeat
3
- Version: 2.22.0
4
- Summary: Web framework for the damned. The mad.
5
- Home-page: https://github.com/216software/horsemeat
6
- Author: 216 Software, LLC
7
- Author-email: info@216software.com
8
- Classifier: Programming Language :: Python :: 3
9
- Requires-Dist: Jinja2>=2.6
10
- Requires-Dist: PyYAML>=3.10
11
- Requires-Dist: Werkzeug>=0.10.1
12
- Requires-Dist: decorator>=3.4.0
13
- Requires-Dist: psycopg2>=2.7
14
- Requires-Dist: gunicorn
15
- Dynamic: author
16
- Dynamic: author-email
17
- Dynamic: classifier
18
- Dynamic: home-page
19
- Dynamic: requires-dist
20
- Dynamic: summary
@@ -1,20 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: horsemeat
3
- Version: 2.22.0
4
- Summary: Web framework for the damned. The mad.
5
- Home-page: https://github.com/216software/horsemeat
6
- Author: 216 Software, LLC
7
- Author-email: info@216software.com
8
- Classifier: Programming Language :: Python :: 3
9
- Requires-Dist: Jinja2>=2.6
10
- Requires-Dist: PyYAML>=3.10
11
- Requires-Dist: Werkzeug>=0.10.1
12
- Requires-Dist: decorator>=3.4.0
13
- Requires-Dist: psycopg2>=2.7
14
- Requires-Dist: gunicorn
15
- Dynamic: author
16
- Dynamic: author-email
17
- Dynamic: classifier
18
- Dynamic: home-page
19
- Dynamic: requires-dist
20
- Dynamic: summary
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes