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.
- horsemeat-2.22.2/PKG-INFO +13 -0
- {horsemeat-2.22.0 → horsemeat-2.22.2}/horsemeat/configwrapper.py +6 -2
- {horsemeat-2.22.0 → horsemeat-2.22.2}/horsemeat/version.py +1 -1
- {horsemeat-2.22.0 → horsemeat-2.22.2}/horsemeat/webapp/request.py +2 -2
- {horsemeat-2.22.0 → horsemeat-2.22.2}/horsemeat/webapp/scrubber.py +1 -1
- horsemeat-2.22.2/horsemeat.egg-info/PKG-INFO +13 -0
- horsemeat-2.22.0/PKG-INFO +0 -20
- horsemeat-2.22.0/horsemeat.egg-info/PKG-INFO +0 -20
- {horsemeat-2.22.0 → horsemeat-2.22.2}/MANIFEST.in +0 -0
- {horsemeat-2.22.0 → horsemeat-2.22.2}/README +0 -0
- {horsemeat-2.22.0 → horsemeat-2.22.2}/horsemeat/__init__.py +0 -0
- {horsemeat-2.22.0 → horsemeat-2.22.2}/horsemeat/model/__init__.py +0 -0
- {horsemeat-2.22.0 → horsemeat-2.22.2}/horsemeat/model/newsmessage.py +0 -0
- {horsemeat-2.22.0 → horsemeat-2.22.2}/horsemeat/model/session.py +0 -0
- {horsemeat-2.22.0 → horsemeat-2.22.2}/horsemeat/model/user.py +0 -0
- {horsemeat-2.22.0 → horsemeat-2.22.2}/horsemeat/pg.py +0 -0
- {horsemeat-2.22.0 → horsemeat-2.22.2}/horsemeat/scripts/make-frippery-project +0 -0
- {horsemeat-2.22.0 → horsemeat-2.22.2}/horsemeat/tests/__init__.py +0 -0
- {horsemeat-2.22.0 → horsemeat-2.22.2}/horsemeat/tests/test_configwrapper.py +0 -0
- {horsemeat-2.22.0 → horsemeat-2.22.2}/horsemeat/webapp/__init__.py +0 -0
- {horsemeat-2.22.0 → horsemeat-2.22.2}/horsemeat/webapp/bogusrequest.py +0 -0
- {horsemeat-2.22.0 → horsemeat-2.22.2}/horsemeat/webapp/dispatcher.py +0 -0
- {horsemeat-2.22.0 → horsemeat-2.22.2}/horsemeat/webapp/framework_templates/__init__.py +0 -0
- {horsemeat-2.22.0 → horsemeat-2.22.2}/horsemeat/webapp/frameworkhandlers.py +0 -0
- {horsemeat-2.22.0 → horsemeat-2.22.2}/horsemeat/webapp/handler.py +0 -0
- {horsemeat-2.22.0 → horsemeat-2.22.2}/horsemeat/webapp/response.py +0 -0
- {horsemeat-2.22.0 → horsemeat-2.22.2}/horsemeat.egg-info/SOURCES.txt +0 -0
- {horsemeat-2.22.0 → horsemeat-2.22.2}/horsemeat.egg-info/dependency_links.txt +0 -0
- {horsemeat-2.22.0 → horsemeat-2.22.2}/horsemeat.egg-info/requires.txt +0 -0
- {horsemeat-2.22.0 → horsemeat-2.22.2}/horsemeat.egg-info/top_level.txt +0 -0
- {horsemeat-2.22.0 → horsemeat-2.22.2}/requirements.txt +0 -0
- {horsemeat-2.22.0 → horsemeat-2.22.2}/setup.cfg +0 -0
- {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
|
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"]
|
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):
|
@@ -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
|
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
|
217
|
+
>>> print(req.parsed_body['flavor'][0]) # doctest: +SKIP
|
218
218
|
Jalapeño
|
219
219
|
|
220
220
|
>>> 'novalue' in req.parsed_body # doctest: +SKIP
|
@@ -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
|
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
|