horsemeat 2.22.1__tar.gz → 2.22.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 (32) hide show
  1. {horsemeat-2.22.1 → horsemeat-2.22.3}/PKG-INFO +1 -1
  2. horsemeat-2.22.3/README +6 -0
  3. {horsemeat-2.22.1 → horsemeat-2.22.3}/horsemeat/configwrapper.py +5 -1
  4. {horsemeat-2.22.1 → horsemeat-2.22.3}/horsemeat/version.py +1 -1
  5. {horsemeat-2.22.1 → horsemeat-2.22.3}/horsemeat/webapp/request.py +2 -2
  6. {horsemeat-2.22.1 → horsemeat-2.22.3}/horsemeat/webapp/response.py +1 -1
  7. {horsemeat-2.22.1 → horsemeat-2.22.3}/horsemeat.egg-info/PKG-INFO +1 -1
  8. horsemeat-2.22.1/README +0 -3
  9. {horsemeat-2.22.1 → horsemeat-2.22.3}/MANIFEST.in +0 -0
  10. {horsemeat-2.22.1 → horsemeat-2.22.3}/horsemeat/__init__.py +0 -0
  11. {horsemeat-2.22.1 → horsemeat-2.22.3}/horsemeat/model/__init__.py +0 -0
  12. {horsemeat-2.22.1 → horsemeat-2.22.3}/horsemeat/model/newsmessage.py +0 -0
  13. {horsemeat-2.22.1 → horsemeat-2.22.3}/horsemeat/model/session.py +0 -0
  14. {horsemeat-2.22.1 → horsemeat-2.22.3}/horsemeat/model/user.py +0 -0
  15. {horsemeat-2.22.1 → horsemeat-2.22.3}/horsemeat/pg.py +0 -0
  16. {horsemeat-2.22.1 → horsemeat-2.22.3}/horsemeat/scripts/make-frippery-project +0 -0
  17. {horsemeat-2.22.1 → horsemeat-2.22.3}/horsemeat/tests/__init__.py +0 -0
  18. {horsemeat-2.22.1 → horsemeat-2.22.3}/horsemeat/tests/test_configwrapper.py +0 -0
  19. {horsemeat-2.22.1 → horsemeat-2.22.3}/horsemeat/webapp/__init__.py +0 -0
  20. {horsemeat-2.22.1 → horsemeat-2.22.3}/horsemeat/webapp/bogusrequest.py +0 -0
  21. {horsemeat-2.22.1 → horsemeat-2.22.3}/horsemeat/webapp/dispatcher.py +0 -0
  22. {horsemeat-2.22.1 → horsemeat-2.22.3}/horsemeat/webapp/framework_templates/__init__.py +0 -0
  23. {horsemeat-2.22.1 → horsemeat-2.22.3}/horsemeat/webapp/frameworkhandlers.py +0 -0
  24. {horsemeat-2.22.1 → horsemeat-2.22.3}/horsemeat/webapp/handler.py +0 -0
  25. {horsemeat-2.22.1 → horsemeat-2.22.3}/horsemeat/webapp/scrubber.py +0 -0
  26. {horsemeat-2.22.1 → horsemeat-2.22.3}/horsemeat.egg-info/SOURCES.txt +0 -0
  27. {horsemeat-2.22.1 → horsemeat-2.22.3}/horsemeat.egg-info/dependency_links.txt +0 -0
  28. {horsemeat-2.22.1 → horsemeat-2.22.3}/horsemeat.egg-info/requires.txt +0 -0
  29. {horsemeat-2.22.1 → horsemeat-2.22.3}/horsemeat.egg-info/top_level.txt +0 -0
  30. {horsemeat-2.22.1 → horsemeat-2.22.3}/requirements.txt +0 -0
  31. {horsemeat-2.22.1 → horsemeat-2.22.3}/setup.cfg +0 -0
  32. {horsemeat-2.22.1 → horsemeat-2.22.3}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: horsemeat
3
- Version: 2.22.1
3
+ Version: 2.22.3
4
4
  Summary: Web framework for the damned. The mad.
5
5
  Home-page: https://github.com/216software/horsemeat
6
6
  Author: 216 Software, LLC
@@ -0,0 +1,6 @@
1
+ This is a web framework for the damned. The mad.
2
+
3
+ $ python setup.py sdist
4
+ $ twine upload dist/horsemeat...
5
+
6
+
@@ -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.1'
25
+ __version__ = '2.22.3'
@@ -2,7 +2,7 @@
2
2
 
3
3
  import cgi
4
4
  import collections
5
- import Cookie
5
+ import http.cookies
6
6
  import hashlib
7
7
  import hmac
8
8
  import inspect
@@ -99,7 +99,7 @@ class Request(collections.MutableMapping):
99
99
  def parsed_cookie(self):
100
100
 
101
101
  if self.HTTP_COOKIE:
102
- c = Cookie.SimpleCookie()
102
+ c = http.cookies.SimpleCookie()
103
103
  c.load(self.HTTP_COOKIE)
104
104
  return c
105
105
 
@@ -1,6 +1,6 @@
1
1
  # vim: set expandtab ts=4 sw=4 filetype=python fileencoding=utf8:
2
2
 
3
- import Cookie
3
+ import http.cookies
4
4
  import datetime
5
5
  import hmac
6
6
  import json
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: horsemeat
3
- Version: 2.22.1
3
+ Version: 2.22.3
4
4
  Summary: Web framework for the damned. The mad.
5
5
  Home-page: https://github.com/216software/horsemeat
6
6
  Author: 216 Software, LLC
horsemeat-2.22.1/README DELETED
@@ -1,3 +0,0 @@
1
- This is a web framework for the damned. The mad.
2
-
3
-
File without changes
File without changes
File without changes
File without changes
File without changes