Package: anyblok_pyramid
AnyBlok / PyramidAnyBlok / Pyramid make the link betweenAnyBlokandPyramidIt also gives you some bloks for adding user http authentication and role
based authorization to your project.BlokDependenciesDescriptionPyramidAdd hooks to connect Pyramid authentification, OIDC
Relying Party and authorizationauthpyramidAdd ‘User’ and ‘User.Role’ models.auth-passwordauthAdd ‘User.CredentialStore’ model, a simple
login, password tableauthorizationauthAdd ‘User.Authorization’ model for managing permissionsuser_identityauthAdd some column on modelModel.Pyramid.UserAnyBlok / Pyramid is released under the terms of theMozilla Public License.See thelatest documentationFront MatterInformation about the AnyBlok / Pyramid project.Project HomepageAnyBlok is hosted ongithub- the main project
page is athttps://github.com/AnyBlok/AnyBlok_Pyramid. Source code is
tracked here usingGIT.Releases and project status are available on Pypi athttp://pypi.python.org/pypi/anyblok_pyramid.The most recent published version of this documentation should be athttp://doc.anyblok-pyramid.anyblok.org.Project StatusAnyBlok with Pyramid is currently in beta status and is expected to be fairly
stable.   Users should take care to report bugs and missing features on an as-needed
basis.  It should be expected that the development version may be required
for proper implementation of recently repaired issues in between releases;InstallationInstall released versions of AnyBlok from the Python package index withpipor a similar tool:pip install anyblok_pyramidInstallation via source distribution is via thesetup.pyscript:python setup.py installInstallation will add theanyblokcommands to the environment.Unit TestTo run framework tests withpytest:pip install pytest
ANYBLOK_DATABASE_DRIVER postgresql ANYBLOK_DATABASE_NAME test_anyblok py.test anyblok_pyramid/testsTo run tests of all installed bloks:dropdb test_anyblok
ANYBLOK_DATABASE_DRIVER postgresql ANYBLOK_DATABASE_NAME test_anyblok anyblok_createdb --install-bloks auth
ANYBLOK_DATABASE_DRIVER postgresql ANYBLOK_DATABASE_NAME test_anyblok py.test anyblok_pyramid/bloks/auth

dropdb test_anyblok
ANYBLOK_DATABASE_DRIVER postgresql ANYBLOK_DATABASE_NAME test_anyblok anyblok_createdb --install-bloks auth-password
ANYBLOK_DATABASE_DRIVER postgresql ANYBLOK_DATABASE_NAME test_anyblok py.test anyblok_pyramid/bloks/password

dropdb test_anyblok
ANYBLOK_DATABASE_DRIVER postgresql ANYBLOK_DATABASE_NAME test_anyblok anyblok_createdb --install-bloks authorization
ANYBLOK_DATABASE_DRIVER postgresql ANYBLOK_DATABASE_NAME test_anyblok py.test anyblok_pyramid/bloks/authorization

dropdb test_anyblok
ANYBLOK_DATABASE_DRIVER postgresql ANYBLOK_DATABASE_NAME test_anyblok anyblok_createdb --install-bloks user-identity
ANYBLOK_DATABASE_DRIVER postgresql ANYBLOK_DATABASE_NAME test_anyblok py.test anyblok_pyramid/bloks/user_identityAnyBlok is tested continuously usingTravis CIDependenciesAnyBlok works withPython 3.3and later. The install process will
ensure thatAnyBlok,Pyramidare installed, in addition to
other dependencies. The latest version of them is strongly recommended.Contributing (hackers needed!)Anyblok / Pyramid is at a very early stage, feel free to fork, talk with core
dev, and spread the word!AuthorJean-Sébastien SuzanneContributorsAnyboxteam:Georges RacinetJean-Sébastien SuzanneSimon AndréPierre VerkestSenseeteam:Franck BretJean-Sébastien SuzanneZeProfileteam:Franck BretAlexis TourneuxBugsBugs and feature enhancements to AnyBlok should be reported on theIssue
tracker.CHANGELOG1.2.2 (2021-05-17)Fixed before_commit SQLAlchemy event, the status of the transaction must be
COMMITING or ACTIVE1.2.1 (2021-05-17)Forced Pyramid version before upgrade to 2.0Refactored code to renameregistrybyanyblokImproved coverage1.2.0 (2020-12-03)Addedrestrict_query_by_userdecorator in order to apply query filters
related to a given userAdded utilities to setup roles and authorizations1.1.1 (2020-10-16)Fixed the size of the fieldsmodel, because they have a
foreign key to the modelModel.System.Modelon the fieldname. The next version of AnyBlok check that the size are the same1.1.0 (2020-08-31)Added IODC by Pierre Verkest <pierreverkest84@gmail.com>Added enum_adapter for enum ColumnAllow to set HttpOnly cookie in pyramid authkt configuration1.0.0 (2020-05-12)Addedpyramidblok, used to do a better isolationCreated a new adapter for timedelta objects. It can parametrized using
the new timedelta_adapter_factory and TimedeltaModes enumerationRemovedPython 3.4capabilityRemovedPython 3.5capabilityRefactored unittest, replaced nose by pytest0.9.5 (2019-11-01)Fixed, missing dependencies0.9.4 (2019-11-01)Fixed #21 thatzope.sqlalchemy 1.2rename a class[ADD]user-identityblok. Splitted anyblok_pyramid/auth blok to
separate authentication fields from user identity fields0.9.3 (2019-06-23)Refactored unittest and helpper from nose to pytest0.9.2 (2018-08-10)Fix get_acl methodAdd max age for static path, issue #130.9.1 (2018-05-30)Fix get_acl methodUpdate logging output0.9.0 (2018-02-27)[FIX] commited session with pyramid[ADD] Authentication configuration[ADD]authblok[ADD]auth-passwordblok[ADD]authorizationblok[FIX] console script whith gunicorn and wsgi server
Put all the serveur in loadwithoutmigration=True, AnyBlok can add some
lock during the migration and must do in specal action0.8.2 (2017-12-23)[FIX] anyblok cache invalidation[FIX] replace SQLAlchemy deprecated extension by session events0.8.1 (2017-11-28)[REF] replace the overload ofinit_registrybyinit_registry_with_bloks0.8.0 (2017-10-14)[DEL] Remove configuration group definitionpreload[REF] useconfiguration_post_loadfunction to initialize services0.7.2 (2017-10-18)[ADD] Some apdater to convert to jsondatetime_adapterdate_adapterdecimal_adapteruuid_adapterbytes_adapter0.7.1 (2016-12-05)[FIX] add pluggins in autoload configuration for unittest[FIX] type replace asset by assert[FIX] fix gunicorn script, load the plugins config part0.7.0 (2016-07-11)[FIX] Adapte for new release of AnyBlok 0.9.0[Add] Plugin get_db_name[ADD] some unittest[REF] Update doc0.6.3 (2016-06-20)[FIX] bad release for 0.6.20.6.2 (2016-06-20)[FIX] utf-8 encoding in setup, need for readthedocs[REF] move from bitbucket (mercurial) to github (git)0.6.1 (2016-04-18)[FIX] for Python < 3.50.6.0 (2016-04-18)WarningThis version break the compatibility with previous version. The goal
is to use all the functionnality of pyramid, and give the tools to make
the bind with AnyBlok easily[REM] remove old Controller declarations:Declarations.PyramidDeclarations.PyramidHTTPDeclarations.PyramidJSONRPCDeclarations.PyramidXMLRPC[ADD] add anyblok request propertyregistry = request.anyblok.registry[ADD] installed_blok predicate for route and view@view_config(route_name='hello', installed_blok='my-blok')
def say_hello(request):
    ...[ADD] need_anyblok_registry predicate for route and view@view_config(route_name='hello', need_anyblok_registry=True)
def say_hello(request):
    ...0.5.3 (2016-03-17)[REF] Preload database, add log and check if the database exist before load
it[FIX] catch simple exception to reput in real rpc exception0.5.2 (2016-01-15)[FIX] use anyblok parser for config with gunicorn[REF] entry point init is now in anyblok0.5.1 (2016-01-08)[REF] Adapt with the new version of AnyBlok[IMP] Add new entry point to load function before load AnyBlok bloks0.5.0 (2016-01-07)[ADD] pyramid_pm and zope.sqlalchemy to isolate each controller call0.4.1 (2015-10-9)[ADD] console script, implementation with gunicorn only[ADD] wsgi script to give un app for wsgi server0.4.0 (2015-08-25)Warningthis version can not be capable with the previous versionNoteWorks only with AnyBlok 0.5.1 and after[REF] Add entry point to add new pyramid includeme and settings[DEL] properties decorator, it is useless because pyramid have a better
behaviour[REF] add workingset to define overwritable callback used for application,
no for the blok, add first callback, get_registry[REF] unit test cause of new version of AnyBlok 0.5.0[FIX] unit test case, update controller to unload the declaration when
BlokManager are unloaded0.3.2 (2015-06-22)[REF] cause of upgrade version of AnyBlok 0.4.00.3.1 (2015-05-04)[FIX] default value for beaker, None is better than ‘’0.3.0 (2015-05-04)[IMP] console script argsparse for pyramid and beaker[ADD] MANIFEST.in[FIX] script cause of remove logging configuration from AnyBlok0.2.0 (2015-03-15)[ADD] configurator callable[REF] Adapt the import of python module of the blok, cause of the change in
AnyBlok version 0.2.20.1.0 (2015-02-07)Main version of AnyBlok / Pyramid. You can with this versionDeclare Views / Routes for applicationDeclare controller (Views / Routes) which depend of the installation of bloksXHRJsonRPCXmlRPCPossibility to check some property as authentificationPossibility to define properties check