Papyrus
=======
.. image:: https://travis-ci.org/camptocamp/papyrus.svg?branch=master
:target: https://travis-ci.org/camptocamp/papyrus
.. image:: https://readthedocs.org/projects/papyrus/badge/?version=latest
:target: http://papyrus.readthedocs.org/en/latest/?badge=latest
:alt: Documentation Status
Geospatial Extensions for the `Pyramid
<http://docs.pylonsproject.org/en/latest/docs/pyramid.html>`_ web framework.
The Papyrus doc is hosted on `Read the Docs <http://readthedocs.org/>`_.
* Doc for current stable release: http://papyrus.readthedocs.org/en/stable/
* Doc for current master branch: http://papyrus.readthedocs.org/en/latest/
TODO
----
Changes
-------
2.5
~~~
* Support shapely 2.x (in addition to shapely 1.x) @gberaudo
https://github.com/elemoine/papyrus/pull/78
* Fix postgis function name ST_DWithin @gberaudo
https://github.com/elemoine/papyrus/pull/78
2.4
~~~
* Add element_callback parameters to XSD and XSDGenerator @arnaud-morvan
https://github.com/elemoine/papyrus/pull/75
* Ease development through Makefile and virtualenv @arnaud-morvan
https://github.com/elemoine/papyrus/pull/75
* Use psycopg2-binary package instead of psycopg2 @fredj
https://github.com/elemoine/papyrus/pull/73
* Fix spelling errors @fredj
https://github.com/elemoine/papyrus/pull/72
2.3
~~~
* Add time support in geojson renderer @sbrunner
https://github.com/elemoine/papyrus/pull/69
* Change content type to 'application/geo+json' @fredj
https://github.com/elemoine/papyrus/pull/63
* Fix membership test in create_geom_filter @fredj
https://github.com/elemoine/papyrus/pull/61
* Change 'update' HTTP response from 201 to 200 @fredj
https://github.com/elemoine/papyrus/pull/59
2.2
~~~
* Remove dependency to simplejson for Decimal handling @gberaudo
https://github.com/elemoine/papyrus/pull/57
2.1
~~~
* Support recent versions of geojson package. @sbrunner
https://github.com/elemoine/papyrus/pull/53
2.0
~~~
* Use GeoAlchemy 2 instead of GeoAlchemy. @elemoine
0.10
~~~~
* `GeoInterface.__update__`` changed not to set model object attributes
without corresponding feature properties.
https://github.com/elemoine/papyrus/pull/21
0.9
~~~
* Make the XSD renderer work with mapped classes instead of ``Table`` objects.
This change breaks the compatibility. With 0.9 XSD views must return mapped
classes instead of ``Table`` objects. #13 @elemoine
* Make it easier to overload the behavior of ``GeoInterface``. #15 @elemoine
* Make the XSD renderer ignore foreign keys by default. #18 @elemoine
* Give the user an extension point for adding elements to the ``xsd:sequence``
element. #18 @elemoine
* New class-level property ``__add_properties__`` for classes implementing
GeoInterface. This is to be able to have ``GeoInterface`` consider properties
that are not column properties. #20 @elemoine
* Documentation is now on Read the Docs, at http://papyrus.rtfd.org. @elemoine
0.8.1
~~~~~
* XSD renderer now uses ``application/xml`` instead of ``text/xml``. @twpayne
* XSD renderer now skips primary keys by default, and it now has an
``include_primary_keys`` option which can be set to ``True`` to change
the behavior. @twpayne
0.8
~~~
* Add a ``XSD`` renderer for WFS DescribeFeatureType-like responses. Thanks
@twpayne.
0.7
~~~
* Make ``feature`` argument optional in the GeoInterface constructor. This
change allow better integration with FormAlchemy for classes that implement
the GeoInterface.
0.6
~~~
* When passed a list or a tuple the GeoJSON renderer produces
a ``FeatureCollection`` by default. This behavior can be changed
with the ``collection_type`` argument to GeoJSON (patch
from @tonio).
* Pyramid 1.2 compliance (a change in the tests)
0.5
~~~
* JSONP support in the GeoJSON renderer (patch from @sbrunner)
* New GeoJSON renderer implementation and API. The
``papyrus.renderers.geojson_renderer_factory`` function is replaced by the
``papyrus.renderers.GeoJSON`` class. The new usage is::
from papyrus.renderers import GeoJSON
config.add_renderer('geojson', GeoJSON(jsonp_param_name='cb'))
* Pyramid 1.1 compliance
0.4
~~~
* Improved GeoJSON renderer: deal with decimal.Decimal, datetime.date,
and datetime.datetime values.
* No longer use <= when defining requirements (only >= is used).
* Correctly spell the names of requirements, using capital letters
where needed.
0.3.1
~~~~~
* Add MANIFEST.in file
0.3
~~~
* Papyrus can now be used without pyramid_handlers
* add a config method to add routes, ``pyramid.add_papyrus_routes``
* do not rely on ``environ['CONTENT_LENGTH']`` to read the contents of
requests, this doesn't work with WebOb 1.0.4 and higher
* minor change in the tests to use ``with_statement`` for Python 2.5
0.2
~~~
* Add the ``papyrus.geo_inteface.GeoInterface`` mixin
* Add the ``papyrus.add_papyrus_handler`` configurator directive
0.1
~~~
* Initial version
Raw data
{
"_id": null,
"home_page": "https://github.com/camptocamp/papyrus",
"name": "papyrus",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "FOSS4G,Pylons,Pyramid",
"author": "Eric Lemoine",
"author_email": "eric.lemoine@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/ea/ca/ffb12201294317ac3a043853a403a8e69b52520c3883295aab402f4e012f/papyrus-2.5.tar.gz",
"platform": null,
"description": "Papyrus\n=======\n\n.. image:: https://travis-ci.org/camptocamp/papyrus.svg?branch=master\n :target: https://travis-ci.org/camptocamp/papyrus\n\n.. image:: https://readthedocs.org/projects/papyrus/badge/?version=latest\n :target: http://papyrus.readthedocs.org/en/latest/?badge=latest\n :alt: Documentation Status\n\nGeospatial Extensions for the `Pyramid\n<http://docs.pylonsproject.org/en/latest/docs/pyramid.html>`_ web framework.\n\nThe Papyrus doc is hosted on `Read the Docs <http://readthedocs.org/>`_.\n\n* Doc for current stable release: http://papyrus.readthedocs.org/en/stable/\n* Doc for current master branch: http://papyrus.readthedocs.org/en/latest/\n\n\nTODO\n----\n\n\nChanges\n-------\n\n2.5\n~~~\n\n* Support shapely 2.x (in addition to shapely 1.x) @gberaudo\n https://github.com/elemoine/papyrus/pull/78\n* Fix postgis function name ST_DWithin @gberaudo\n https://github.com/elemoine/papyrus/pull/78\n\n2.4\n~~~\n\n* Add element_callback parameters to XSD and XSDGenerator @arnaud-morvan\n https://github.com/elemoine/papyrus/pull/75\n* Ease development through Makefile and virtualenv @arnaud-morvan\n https://github.com/elemoine/papyrus/pull/75\n* Use psycopg2-binary package instead of psycopg2 @fredj\n https://github.com/elemoine/papyrus/pull/73\n* Fix spelling errors @fredj\n https://github.com/elemoine/papyrus/pull/72\n\n2.3\n~~~\n\n* Add time support in geojson renderer @sbrunner\n https://github.com/elemoine/papyrus/pull/69\n* Change content type to 'application/geo+json' @fredj\n https://github.com/elemoine/papyrus/pull/63\n* Fix membership test in create_geom_filter @fredj\n https://github.com/elemoine/papyrus/pull/61\n* Change 'update' HTTP response from 201 to 200 @fredj\n https://github.com/elemoine/papyrus/pull/59\n\n2.2\n~~~\n\n* Remove dependency to simplejson for Decimal handling @gberaudo\n https://github.com/elemoine/papyrus/pull/57\n\n2.1\n~~~\n\n* Support recent versions of geojson package. @sbrunner\n https://github.com/elemoine/papyrus/pull/53\n\n2.0\n~~~\n\n* Use GeoAlchemy 2 instead of GeoAlchemy. @elemoine\n\n0.10\n~~~~\n\n* `GeoInterface.__update__`` changed not to set model object attributes\n without corresponding feature properties.\n https://github.com/elemoine/papyrus/pull/21\n\n0.9\n~~~\n\n* Make the XSD renderer work with mapped classes instead of ``Table`` objects.\n This change breaks the compatibility. With 0.9 XSD views must return mapped\n classes instead of ``Table`` objects. #13 @elemoine\n* Make it easier to overload the behavior of ``GeoInterface``. #15 @elemoine\n* Make the XSD renderer ignore foreign keys by default. #18 @elemoine\n* Give the user an extension point for adding elements to the ``xsd:sequence``\n element. #18 @elemoine\n* New class-level property ``__add_properties__`` for classes implementing\n GeoInterface. This is to be able to have ``GeoInterface`` consider properties\n that are not column properties. #20 @elemoine\n* Documentation is now on Read the Docs, at http://papyrus.rtfd.org. @elemoine\n\n0.8.1\n~~~~~\n\n* XSD renderer now uses ``application/xml`` instead of ``text/xml``. @twpayne\n* XSD renderer now skips primary keys by default, and it now has an\n ``include_primary_keys`` option which can be set to ``True`` to change\n the behavior. @twpayne\n\n0.8\n~~~\n\n* Add a ``XSD`` renderer for WFS DescribeFeatureType-like responses. Thanks\n @twpayne.\n\n0.7\n~~~\n\n* Make ``feature`` argument optional in the GeoInterface constructor. This\n change allow better integration with FormAlchemy for classes that implement\n the GeoInterface.\n\n0.6\n~~~\n\n* When passed a list or a tuple the GeoJSON renderer produces\n a ``FeatureCollection`` by default. This behavior can be changed\n with the ``collection_type`` argument to GeoJSON (patch\n from @tonio).\n* Pyramid 1.2 compliance (a change in the tests)\n\n0.5\n~~~\n\n* JSONP support in the GeoJSON renderer (patch from @sbrunner)\n* New GeoJSON renderer implementation and API. The\n ``papyrus.renderers.geojson_renderer_factory`` function is replaced by the\n ``papyrus.renderers.GeoJSON`` class. The new usage is::\n\n from papyrus.renderers import GeoJSON\n config.add_renderer('geojson', GeoJSON(jsonp_param_name='cb'))\n* Pyramid 1.1 compliance\n\n0.4\n~~~\n\n* Improved GeoJSON renderer: deal with decimal.Decimal, datetime.date,\n and datetime.datetime values.\n* No longer use <= when defining requirements (only >= is used).\n* Correctly spell the names of requirements, using capital letters\n where needed.\n\n0.3.1\n~~~~~\n\n* Add MANIFEST.in file\n\n0.3\n~~~\n\n* Papyrus can now be used without pyramid_handlers\n* add a config method to add routes, ``pyramid.add_papyrus_routes``\n* do not rely on ``environ['CONTENT_LENGTH']`` to read the contents of\n requests, this doesn't work with WebOb 1.0.4 and higher\n* minor change in the tests to use ``with_statement`` for Python 2.5\n\n0.2\n~~~\n\n* Add the ``papyrus.geo_inteface.GeoInterface`` mixin\n* Add the ``papyrus.add_papyrus_handler`` configurator directive\n\n0.1\n~~~\n\n* Initial version\n\n\n",
"bugtrack_url": null,
"license": "BSD",
"summary": "Geospatial Extensions for Pyramid",
"version": "2.5",
"split_keywords": [
"foss4g",
"pylons",
"pyramid"
],
"urls": [
{
"comment_text": "",
"digests": {
"md5": "4c81d3551f982805bbff8039761243dd",
"sha256": "2a604a63582834f2ca1f49458ea9019772c83ab9464e57afdc3ed9a169fbeac4"
},
"downloads": -1,
"filename": "papyrus-2.5-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "4c81d3551f982805bbff8039761243dd",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 26475,
"upload_time": "2022-12-15T10:42:10",
"upload_time_iso_8601": "2022-12-15T10:42:10.902725Z",
"url": "https://files.pythonhosted.org/packages/bd/47/8b71487b0471d175ab502177d55d1e44af944c2228d8f421a8afb062968e/papyrus-2.5-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"md5": "b4ae483f26e9c3958d7f9d532eb9a94f",
"sha256": "a4e3d5e4c91cb2205a5726b5e7c75d46c4ee3e9ae43c213d175f7db4de198967"
},
"downloads": -1,
"filename": "papyrus-2.5.tar.gz",
"has_sig": false,
"md5_digest": "b4ae483f26e9c3958d7f9d532eb9a94f",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 25183,
"upload_time": "2022-12-15T10:42:12",
"upload_time_iso_8601": "2022-12-15T10:42:12.471188Z",
"url": "https://files.pythonhosted.org/packages/ea/ca/ffb12201294317ac3a043853a403a8e69b52520c3883295aab402f4e012f/papyrus-2.5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2022-12-15 10:42:12",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "camptocamp",
"github_project": "papyrus",
"travis_ci": true,
"coveralls": false,
"github_actions": false,
"lcname": "papyrus"
}