Admin CRUD interface for Pyramid, works with any backends.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs Merge branch 'master' of github.com:sacrud/pyramid_sacrud Mar 9, 2017
examples Added auth example with __acl__ resources May 24, 2016
pyramid_sacrud clean up Mar 9, 2017
tests Added test for unicode group name #122 May 4, 2016
.coveragerc Hello pyramid_sacrud! Aug 13, 2014
.gitignore clean up Mar 9, 2017
.jshintrc gulpfile update, __bower-component rename to vendor Jun 1, 2015
.rstcheck.cfg
.travis.yml fix travis Mar 9, 2017
CHANGES.rst Bump version to 0.3.3! Mar 15, 2016
CHANGES_OLD.rst Migrate to resourse architecture #111 Dec 7, 2015
LICENSE Initial commit Aug 12, 2014
MANIFEST.in migrate to pytest, close #102 Jan 3, 2016
Makefile delete mock depency from tests Jul 10, 2015
README.rst remove pypi badge Mar 9, 2017
message-extraction.ini more i18n Oct 23, 2014
package.json Get materialize.css directly from bin May 10, 2016
requirements-docs.txt migrate to pytest, close #102 Jan 3, 2016
requirements-test.txt migrate to pytest, close #102 Jan 3, 2016
requirements.txt Bump version to 0.3.3! Mar 15, 2016
setup.cfg migrate to pytest, close #102 Jan 3, 2016
setup.py clean up Jul 11, 2016
test.sh
webpack.config.js Get materialize.css directly from bin May 10, 2016

README.rst

Build Status Coverage Status

pyramid_sacrud

Documentation http://pyramid-sacrud.readthedocs.org/

Overview

Pyramid CRUD interface. Provides an administration web interface for Pyramid. Unlike classic CRUD, pyramid_sacrud allows overrides and flexibility to customize your interface, similar to django.contrib.admin but uses a different backend to provide resources. New Architecture built on the resources and mechanism traversal, allows to use it in various cases.

The list of standard backends:

  • ps_alchemy - provides SQLAlchemy models.
  • ps_mongo - provides MongoDB (doesn't exist yet).
  • etc..

Look how easy it is to use with Pyramid and SQLAlchemy:

from .models import (Model1, Model2, Model3,)

# add SQLAlchemy backend
config.include('ps_alchemy')

# 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/

And see...

sacrud_index

Example can be found here https://github.com/sacrud/ps_alchemy/tree/master/example

Installing

pip install pyramid_sacrud

Support and Development

To report bugs, use the issue tracker.

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.