Skip to main content

Pyramid SQLAlchemy CRUD.

Project description

|Build Status| |Coverage Status| |Stories in Progress| |PyPI|

pyramid_sacrud
==============

Documentation `<http://pyramid-sacrud.readthedocs.org/en/latest/>`_

Overview
--------

pyramid_sacrud - Pyramid CRUD interface based on sacrud_ and SQLAlchemy.

`pyramid_sacrud` will solve your problem of CRUD interface for Pyramid.
Unlike classical CRUD interface, ``pyramid_sacrud`` allows override and
flexibly customize interface. (that is closer to `django.contrib.admin`)

Look how easy it is to use with Pyramid:

.. code-block:: python

from .models import (Model1, Model2, Model3,)
# add sacrud and project models
config.include('pyramid_sacrud')
settings = config.registry.settings
settings['pyramid_sacrud.models'] = (('Group1', [Model1, Model2]),
('Group2', [Model3]))

go to http://localhost:6543/sacrud/

Example can be found here https://github.com/ITCase/pyramid_sacrud/tree/master/example

And see...

|sacrud_index|

Installing
==========

GitHub
------

.. code-block:: bash

pip install git+http://github.com/ITCase/pyramid_sacrud.git

PyPi
----

.. code-block:: bash

pip install pyramid_sacrud

Source
------

.. code-block:: bash

git clone git+http://github.com/ITCase/pyramid_sacrud.git
python setup.py install

Contribute
----------

.. code-block:: bash

git clone git+http://github.com/ITCase/pyramid_sacrud.git
python setup.py develop

Support and Development
=======================

To report bugs, use the `issue tracker
<https://github.com/ITCase/pyramid_sacrud/issues>`_ or `waffle board
<https://waffle.io/ITCase/pyramid_sacrud>`_.

We welcome any contribution: suggestions, ideas, commits with new futures,
bug fixes, refactoring, docs, tests, translations etc

If you have question, contact me sacrud@uralbash.ru or IRC channel #sacrud

License
=======

The project is licensed under the MIT license.

.. |Build Status| image:: https://travis-ci.org/ITCase/pyramid_sacrud.svg?branch=master
:target: https://travis-ci.org/ITCase/pyramid_sacrud
.. |Coverage Status| image:: https://coveralls.io/repos/ITCase/pyramid_sacrud/badge.png?branch=master
:target: https://coveralls.io/r/ITCase/pyramid_sacrud?branch=master
.. |sacrud_index| image:: https://raw.githubusercontent.com/ITCase/pyramid_sacrud/master/docs/_static/img/index.png
:target: https://raw.githubusercontent.com/ITCase/pyramid_sacrud/master/docs/_static/img/index.png
.. |Stories in Progress| image:: https://badge.waffle.io/ITCase/pyramid_sacrud.png?label=in%20progress&title=In%20Progress
:target: http://waffle.io/ITCase/pyramid_sacrud
.. |PyPI| image:: http://img.shields.io/pypi/dm/pyramid_sacrud.svg
:target: https://pypi-hypernode.com/pypi/pyramid_sacrud/

.. _sacrud: https://github.com/ITCase/sacrud/


.. image:: https://badges.gitter.im/Join%20Chat.svg
:alt: Join the chat at https://gitter.im/ITCase/pyramid_sacrud
:target: https://gitter.im/ITCase/pyramid_sacrud?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge
0.1.1 (2015-06-12)
==================

Bug Fixes
---------

- Fix mass delete action with tree structure
- Move mass actions in separate view ``pyramid_sacrud.views.CRUD.Action``
- Fix non unicode flash message
- Add title to templates

0.1.0 (2015-06-12)
==================

- Now, ``sacrud_list_template`` and ``sacrud_edit_template`` options overrides
the template (not include like before).

0.0.9 (2015-06-11)
==================

- fix settings['pyramid_sacrud.models'] with one table in list

0.0.8 (2015-06-04)
==================

- added BDD tests (#88, #89, #90)
- added example (see https://github.com/ITCase/pyramid_sacrud/tree/master/example)

Bug Fixes
---------

- fix settings['pyramid_sacrud.models'] with list of one list
- fix error 404 with static files
- clean javascript requires

0.0.7 (2015-04-24)
==================

Bug Fixes
---------

- fix for ItemsView not being subscriptable in py3 (#82)
- fix for ItemsView not being subscriptable in py3 (#82)

0.0.6 (2015-04-05)
==================

- added CHANGES.txt

Bug Fixes
---------

- fix home page dashboard widgets (#67)
- fix width of pagination (#64)
- fix pyramid_jinja2 version in requirements (#37)
- fix mass delete action

Features
--------

- new format of settings (read the docs)
- migrate to stefanofontanelli/ColanderAlchemy
- added support polymorphic tree models (#24)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyramid_sacrud-0.1.1.tar.gz (189.5 kB view details)

Uploaded Source

File details

Details for the file pyramid_sacrud-0.1.1.tar.gz.

File metadata

File hashes

Hashes for pyramid_sacrud-0.1.1.tar.gz
Algorithm Hash digest
SHA256 0280d41662eb3e693967a38f22f1a0fce60bdc3d8b58860b31518f4f5ecb1fbf
MD5 fde41238b128ac48ed7bc474506a02a3
BLAKE2b-256 800c89fa38ada802c1a06c7f533c97a2457b7aeb2f3b16257bfcbb39fceefd96

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page