dryxPyramid

https://img.shields.io/pypi/pyversions/dryxPyramid https://img.shields.io/pypi/v/dryxPyramid https://img.shields.io/github/license/thespacedoctor/dryxPyramid https://img.shields.io/pypi/dm/dryxPyramid

http://167.99.90.204:8080/buildStatus/icon?job=dryxPyramid%2Fmaster&subject=build%20master http://167.99.90.204:8080/buildStatus/icon?job=dryxPyramid%2Fdevelop&subject=build%20dev https://cdn.jsdelivr.net/gh/thespacedoctor/dryxPyramid@master/coverage.svg https://readthedocs.org/projects/dryxPyramid/badge/?version=master https://img.shields.io/github/issues/thespacedoctor/dryxPyramid/type:%20bug?label=bug%20issues

basic, reusable code for pyramid webapps.

Documentation for dryxPyramid is hosted by Read the Docs ( development version and master version). The code lives on github. Please report any issues you find here.

API Reference

Modules

dryxPyramid.models

dryxPyramid.renderers

dryxPyramid.templates

dryxPyramid.templates.responses

dryxPyramid.views

dryxPyramid.models.models_base

The base model for other model modules to build on top of

dryxPyramid.models.models_login_post

dryxPyramid.security

dryxPyramid.views.views_base

dryxPyramid.views.views_base_element

dryxPyramid.views.views_download

dryxPyramid.views.views_login

dryxPyramid.views.views_logout

Classes

dryxPyramid.models.models_base.base_model

A superclass model for pyramid apps

dryxPyramid.models.models_login_post.RootFactory

dryxPyramid.renderers.renderer_csv

The CSV renderer - can return plain text in browser or a file to download

dryxPyramid.renderers.renderer_json

The json renderer - can return content to browser or a file to download

dryxPyramid.renderers.renderer_plain_table

The plain_table renderer - can return content to browser or a file to download

dryxPyramid.renderers.renderer_plain_text

The plain_text renderer - can return content to browser or a file to download

dryxPyramid.templates.responses.templates_download

The worker class for the templates_download module

dryxPyramid.templates.responses.templates_login

The worker class for the templates_login module

dryxPyramid.views.views_base.base_view

The base view that can be used for any API resource

dryxPyramid.views.views_base_element.base_element_view

dryxPyramid.views.views_download.download_view

dryxPyramid.views.views_login.login_view

Functions

dryxPyramid.security.get_users_and_groups

Get the users and groups from the database

dryxPyramid.security.groupfinder

If the userid exists in the system, it will return a sequence of group identifiers (or an empty sequence if the user isn’t a member of any groups).If the userid does not exist in the system, it will return ``None``..

dryxPyramid.views.views_login.forbidden

dryxPyramid.views.views_logout.logout

Release Notes

v0.4.1 - June 24, 2020

  • enhancements - added some tweaks for the python 3 version of webapps

v0.4.0 - May 25, 2020

  • Now compatible with Python 3.*