<prompt> Unda programu ya wavuti kwa kutumia mfumo wa wavuti wa Piramidi huko Python. Programu inapaswa kuwa na uthibitishaji wa mtumiaji, na kuruhusu watumiaji kuongeza, kuhariri, na kufuta vipengee kutoka kwa orodha ya mambo ya kufanya iliyohifadhiwa katika hifadhidata. PLINFORMAT  <response>: kutoka kwa pyramid.config import Configuratorkutoka kwa pyramid.response import Responsekutoka kwa pyramid.security import Ruhusu, Kila mtu, Imethibitishwakutoka kwa pyramid.authentication import AuthTktAuthenticationPolicykutoka kwa piramidi.idhini ya kuleta Sera ya ACLAuthorizationkutoka kwa pyramid.session import SignedCookieSessionFactorykutoka sqlalchemy import create_enginekutoka sqlalchemy.orm import sessionmakerkutoka sqlalchemy.ext.declarative import declarative_basekutoka sqlalchemy kuagiza Safu, Integer, String, ForeignKeykutoka kwa rejista ya kuagiza ya zope.sqlalchemyMsingi declarative_baseMtumiaji wa darasa Msingi: __tablename__ watumiaji id Safu wimaNambari kamili, ufunguo_msingiKweli jina la mtumiaji Safu wimaKamba50, kipekeeKweli nenosiri Safu wima Kamba 100darasa la ToDoItemMsingi: __tablename__ todo_items id Safu wimaNambari kamili, ufunguo_msingiKweli kichwa Safu wimaKamba200 user_id Safu wimaInteger, ForeignKeyusers.iddarasa RootFactory: def __init__binafsi, ombi: ombi binafsi ombi __acl__ Ruhusu, Imethibitishwa, tazama, Ruhusu, Imethibitishwa, ongeza, Ruhusu, Imethibitishwa, hariri, Ruhusu, Imethibitishwa, futa def mainglobal_config, mipangilio: config Configuratormipangiliomipangilio injini create_enginesqlite:todolist.db Base.metadata.create_allinjini Kikao mtayarishaji kikaobindinjini my_session_factory SignedCookieSessionFactorymysecret config.set_session_factorymy_session_factory config.includepyramid_jinja2 authn_policy AuthTktAuthenticationPolicysomesecret, hashalgsha512 authz_policy ACLAuthorizationPolicy config.set_authentication_policyauthn_policy config.set_authorization_policyauthz_policy config.add_routenyumbani, config.add_routeingia, ingia config.add_routetoka, toka config.add_routejiandikishe, jisajili config.add_routeadd_item, add-item config.add_routeedit_item, edit-itemid config.add_routedelete_item, delete-itemid config.scan.views rudisha config.make_wsgi_app 