Skip to main content

Pyramid CRUD, admin web interface.

Project description

Build Status Coverage Status PyPI

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.

  • 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.

0.3.3 (2016-03-15)

0.3.2 (2016-02-07)

  • rename CONFIG_MODELS to CONFIG_RESOURCES

  • make GroupResource as default parent

  • add exampe with custom resource

0.3.1 (2016-01-08)

  • add paginate>=0.5.0 version to requirements.txt (see #117)

0.3.0 (2016-01-07)

  • New resources architecture

  • move SQLAlchemy handler to separate module ps_alchemy

  • migrate test to py.test (#102 issue)

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.3.3.tar.gz (1.6 MB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for pyramid_sacrud-0.3.3.tar.gz
Algorithm Hash digest
SHA256 1a7ffce191a4f2316a495d68eff23c1bec5aa6a2988c692d527bbffaa8574afc
MD5 9f3c2c7b7cfd7248c6634020ded7249c
BLAKE2b-256 6eef1f93aeb5f764a1a5d98250aff7d64548f3b941e949d39776daae4c35a8d4

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