File: PKG-INFO

package info (click to toggle)
python-pyramid 1.10.2+dfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 4,052 kB
  • sloc: python: 42,982; makefile: 41
file content (341 lines) | stat: -rw-r--r-- 16,721 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
Metadata-Version: 2.1
Name: pyramid
Version: 1.10.2
Summary: The Pyramid Web Framework, a Pylons project
Home-page: https://trypyramid.com
Author: Chris McDonough, Agendaless Consulting
Author-email: pylons-discuss@googlegroups.com
License: BSD-derived (http://www.repoze.org/LICENSE.txt)
Project-URL: Documentation, https://docs.pylonsproject.org/projects/pyramid/en/1.10.2-branch/
Project-URL: Changelog, https://docs.pylonsproject.org/projects/pyramid/en/1.10.2-branch/whatsnew-1.10.2.html
Project-URL: Issue Tracker, https://github.com/Pylons/pyramid/issues
Description: Pyramid
        =======
        
        .. image:: https://travis-ci.org/Pylons/pyramid.png?branch=1.10-branch
                :target: https://travis-ci.org/Pylons/pyramid
                :alt: 1.10-branch Travis CI Status
        
        .. image:: https://readthedocs.org/projects/pyramid/badge/?version=1.10-branch
                :target: https://docs.pylonsproject.org/projects/pyramid/en/1.10-branch
                :alt: 1.10-branch Documentation Status
        
        .. image:: https://img.shields.io/badge/irc-freenode-blue.svg
                :target: https://webchat.freenode.net/?channels=pyramid
                :alt: IRC Freenode
        
        `Pyramid <https://trypyramid.com/>`_ is a small, fast, down-to-earth, open
        source Python web framework. It makes real-world web application development
        and deployment more fun, more predictable, and more productive.
        
        .. code-block:: python
        
            from wsgiref.simple_server import make_server
            from pyramid.config import Configurator
            from pyramid.response import Response
        
            def hello_world(request):
                return Response('Hello World!')
        
            if __name__ == '__main__':
                with Configurator() as config:
                    config.add_route('hello', '/')
                    config.add_view(hello_world, route_name='hello')
                    app = config.make_wsgi_app()
                server = make_server('0.0.0.0', 6543, app)
                server.serve_forever()
        
        Pyramid is a project of the `Pylons Project <https://pylonsproject.org>`_.
        
        Support and Documentation
        -------------------------
        
        See `Pyramid Support and Development
        <https://docs.pylonsproject.org/projects/pyramid/en/latest/#support-and-development>`_
        for documentation, reporting bugs, and getting support.
        
        Developing and Contributing
        ---------------------------
        
        See `HACKING.txt <https://github.com/Pylons/pyramid/blob/master/HACKING.txt>`_ and
        `contributing.md <https://github.com/Pylons/pyramid/blob/master/contributing.md>`_
        for guidelines on running tests, adding features, coding style, and updating
        documentation when developing in or contributing to Pyramid.
        
        License
        -------
        
        Pyramid is offered under the BSD-derived `Repoze Public License
        <http://repoze.org/license.html>`_.
        
        Authors
        -------
        
        Pyramid is made available by `Agendaless Consulting <https://agendaless.com>`_
        and a team of `contributors
        <https://github.com/Pylons/pyramid/graphs/contributors>`_.
        
        
        .. _changes_1.10.2:
        
        1.10.2 (2019-01-30)
        ===================
        
        - Fix a bug in ``pyramid.testing.DummySecurityPolicy`` in which
          ``principals_allows_by_permission`` would return all principals instead
          of an empty list if ``permissive`` is ``False``.
          See https://github.com/Pylons/pyramid/pull/3450
        
        - Fix a bug in which ``pyramid.exceptions.ConfigurationConflictError`` may
          not render the appropriate error message on certain conflicts that were
          not sortable on Python 3 due to differing types.
          See https://github.com/Pylons/pyramid/pull/3457
        
        - Avoid configuring logging in the monitor process usin the logging config
          intended for the application. This avoids opening files for writing in both
          processes which can cause issues on some systems.
          See https://github.com/Pylons/pyramid/pull/3460
        
        .. _changes_1.10.1:
        
        1.10.1 (2018-11-06)
        ===================
        
        - Fix an issue when passing a duck-typed registry object into
          ``pyramid.testing.setUp(registry=...)`` in which the registry wasn't
          properly fixed prior to invoking actions.
          See https://github.com/Pylons/pyramid/pull/3418
        
        1.10 (2018-10-31)
        =================
        
        - No major changes from 1.10b1.
        
        1.10b1 (2018-10-28)
        ===================
        
        - Fix the ``pyramid.testing.DummyRequest`` to support the new
          ``request.accept`` API so that ``acceptable_offers`` is available even
          when code sets the value to a string.
          See https://github.com/Pylons/pyramid/pull/3396
        
        - Fix deprecated escape sequences in preparation for Python 3.8.
          See https://github.com/Pylons/pyramid/pull/3400
        
        1.10a1 (2018-10-15)
        ===================
        
        Features
        --------
        
        - Add a ``_depth`` and ``_category`` arguments to all of the venusian
          decorators. The ``_category`` argument can be used to affect which actions
          are registered when performing a ``config.scan(..., category=...)`` with a
          specific category. The ``_depth`` argument should be used when wrapping
          the decorator in your own. This change affects ``pyramid.view.view_config``,
          ``pyramid.view.exception_view_config``,
          ``pyramid.view.forbidden_view_config``, ``pyramid.view.notfound_view_config``,
          ``pyramid.events.subscriber`` and ``pyramid.response.response_adapter``
          decorators. See https://github.com/Pylons/pyramid/pull/3105 and
          https://github.com/Pylons/pyramid/pull/3122
        
        - Fix the ``pyramid.request.Request`` class name after using
          ``set_property`` or ``config.add_request_method`` such that the
          ``str(request.__class__)`` would appear as ``pyramid.request.Request``
          instead of ``pyramid.util.Request``.
          See https://github.com/Pylons/pyramid/pull/3129
        
        - In ``cherrypy_server_runner``, prefer imports from the ``cheroot`` package
          over the legacy imports from `cherrypy.wsgiserver`.
          See https://github.com/Pylons/pyramid/pull/3235
        
        - Add a context manager ``route_prefix_context`` to the
          ``pyramid.config.Configurator`` to allow for convenient setting of the
          route_prefix for ``include`` and ``add_route`` calls inside the context.
          See https://github.com/Pylons/pyramid/pull/3279
        
        - Modify the builtin session implementations to support ``SameSite`` options
          on cookies and set the default to ``'Lax'``. This affects
          ``pyramid.session.BaseCookieSessionFactory``,
          ``pyramid.session.SignedCookieSessionFactory``, and
          ``pyramid.session.UnencryptedCookieSessionFactoryConfig``.
          See https://github.com/Pylons/pyramid/pull/3300
        
        - Modify ``pyramid.authentication.AuthTktAuthenticationPolicy`` and
          ``pyramid.csrf.CookieCSRFStoragePolicy`` to support the ``SameSite`` option
          on cookies and set the default to ``'Lax'``.
          See https://github.com/Pylons/pyramid/pull/3319
        
        - Added new ``pyramid.httpexceptions.HTTPPermanentRedirect``
          exception/response object for a HTTP 308 redirect.
          See https://github.com/Pylons/pyramid/pull/3302
        
        - Within ``pshell``, allow the user-defined ``setup`` function to be a
          generator, in which case it may wrap the command's lifecycle.
          See https://github.com/Pylons/pyramid/pull/3318
        
        - Within ``pshell``, variables defined by the ``[pshell]`` settings are
          available within the user-defined ``setup`` function.
          See https://github.com/Pylons/pyramid/pull/3318
        
        - Add support for Python 3.7. Add testing on Python 3.8 with allowed failures.
          See https://github.com/Pylons/pyramid/pull/3333
        
        - Added the ``pyramid.config.Configurator.add_accept_view_order`` directive,
          allowing users to specify media type preferences in ambiguous situations
          such as when several views match. A default ordering is defined for media
          types that prefers human-readable html/text responses over JSON.
          See https://github.com/Pylons/pyramid/pull/3326
        
        - Support a list of media types in the ``accept`` predicate used in
          ``pyramid.config.Configurator.add_route``.
          See https://github.com/Pylons/pyramid/pull/3326
        
        - Added ``pyramid.session.JSONSerializer``. See "Upcoming Changes to ISession
          in Pyramid 2.0" in the "Sessions" chapter of the documentation for more
          information about this feature.
          See https://github.com/Pylons/pyramid/pull/3353
        
        - Add a ``registry`` argument to ``pyramid.renderers.get_renderer``
          to allow users to avoid threadlocals during renderer lookup.
          See https://github.com/Pylons/pyramid/pull/3358
        
        - Pyramid's test suite is no longer distributed with the universal wheel.
          See https://github.com/Pylons/pyramid/pull/3387
        
        - All Python code is now formatted automatically using ``black``.
          See https://github.com/Pylons/pyramid/pull/3388
        
        Bug Fixes
        ---------
        
        - Set appropriate ``code`` and ``title`` attributes on the ``HTTPClientError``
          and ``HTTPServerError`` exception classes. This prevents inadvertently
          returning a 520 error code.
          See https://github.com/Pylons/pyramid/pull/3280
        
        - Replace ``webob.acceptparse.MIMEAccept`` from WebOb with
          ``webob.acceptparse.create_accept_header`` in the HTTP exception handling
          code. The old ``MIMEAccept`` has been deprecated. The new methods follow the
          RFC's more closely. See https://github.com/Pylons/pyramid/pull/3251
        
        - Catch extra errors like ``AttributeError`` when unpickling "trusted"
          session cookies with bad pickle data in them. This would occur when sharing
          a secret between projects that shouldn't actually share session cookies,
          like when reusing secrets between projects in development.
          See https://github.com/Pylons/pyramid/pull/3325
        
        Deprecations
        ------------
        
        - The ``pyramid.intefaces.ISession`` interface will move to require
          JSON-serializable objects in Pyramid 2.0. See
          "Upcoming Changes to ISession in Pyramid 2.0" in the "Sessions" chapter
          of the documentation for more information about this change.
          See https://github.com/Pylons/pyramid/pull/3353
        
        - The ``pyramid.session.signed_serialize`` and
          ``pyramid.session.signed_deserialize`` functions will be removed in Pyramid
          2.0, along with the removal of
          ``pyramid.session.UnencryptedCookieSessionFactoryConfig`` which was
          deprecated in Pyramid 1.5. Please switch to using the
          ``SignedCookieSessionFactory``, copying the code, or another session
          implementation if you're still using these features.
          See https://github.com/Pylons/pyramid/pull/3353
        
        - Media ranges are deprecated in the ``accept`` argument of
          ``pyramid.config.Configurator.add_route``. Use a list of explicit
          media types to ``add_route`` to support multiple types.
        
        - Media ranges are deprecated in the ``accept`` argument of
          ``pyramid.config.Configurator.add_view``.  There is no replacement for
          ranges to ``add_view``, but after much discussion the workflow is
          fundamentally ambiguous in the face of various client-supplied values for
          the ``Accept`` header.
          See https://github.com/Pylons/pyramid/pull/3326
        
        Backward Incompatibilities
        --------------------------
        
        - On Python 3.4+ the ``repoze.lru`` dependency is dropped. If you were using
          this package directly in your apps you should make sure that you are
          depending on it directly within your project.
          See https://github.com/Pylons/pyramid/pull/3140
        
        - Remove the ``permission`` argument from
          ``pyramid.config.Configurator.add_route``. This was an argument left over
          from a feature removed in Pyramid 1.5 and has had no effect since then.
          See https://github.com/Pylons/pyramid/pull/3299
        
        - Modify the builtin session implementations to set ``SameSite='Lax'`` on
          cookies. This affects ``pyramid.session.BaseCookieSessionFactory``,
          ``pyramid.session.SignedCookieSessionFactory``, and
          ``pyramid.session.UnencryptedCookieSessionFactoryConfig``.
          See https://github.com/Pylons/pyramid/pull/3300
        
        - Variables defined in the ``[pshell]`` section of the settings will no
          longer override those set by the ``setup`` function.
          See https://github.com/Pylons/pyramid/pull/3318
        
        - ``pyramid.config.Configurator.add_notfound_view`` uses default redirect
          class exception ``pyramid.httpexceptions.HTTPTemporaryRedirect`` instead
          of previous ``pyramid.httpexceptions.HTTPFound``.
          See https://github.com/Pylons/pyramid/pull/3328
        
        - Removed ``pyramid.config.Configurator.set_request_property`` which had been
          deprecated since Pyramid 1.5. Instead use
          ``pyramid.config.Configurator.add_request_method`` with ``reify=True`` or
          ``property=True``.
          See https://github.com/Pylons/pyramid/pull/3368
        
        - Removed the ``principal`` keyword argument from
          ``pyramid.security.remember`` which had been deprecated since Pyramid 1.6
          and replaced by the ``userid`` argument.
          See https://github.com/Pylons/pyramid/pull/3369
        
        - Removed the ``pyramid.tests`` subpackage that used to contain the Pyramid
          test suite. These changes also changed the format of the repository to move
          the code into a ``src`` folder.
          See https://github.com/Pylons/pyramid/pull/3387
        
        Documentation Changes
        ---------------------
        
        - Ad support for Read The Docs Ethical Ads.
          See https://github.com/Pylons/pyramid/pull/3360 and
          https://docs.readthedocs.io/en/latest/advertising/ethical-advertising.html
        
        - Add support for alembic to the pyramid-cookiecutter-alchemy cookiecutter
          and update the wiki2 tutorial to explain how it works.
          See https://github.com/Pylons/pyramid/pull/3307 and
          https://github.com/Pylons/pyramid-cookiecutter-alchemy/pull/7
        
        - Bump Sphinx to >= 1.7.4 in setup.py to support ``emphasize-lines`` in PDFs
          and to pave the way for xelatex support.  See
          https://github.com/Pylons/pyramid/pull/3271,
          https://github.com/Pylons/pyramid/issues/667, and
          https://github.com/Pylons/pyramid/issues/2572
        
        - Added extra tests to the quick tutorial.
          See https://github.com/Pylons/pyramid/pull/3375
        
Keywords: web,wsgi,pylons,pyramid
Platform: UNKNOWN
Classifier: Development Status :: 6 - Mature
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Framework :: Pyramid
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Internet :: WWW/HTTP :: WSGI
Classifier: License :: Repoze Public License
Requires-Python: >=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*
Provides-Extra: docs
Provides-Extra: testing