{"id":23895,"library":"invenio-base","title":"Invenio-Base","description":"Base package for building Invenio application factories. Provides foundational utilities such as configuration loading, instance path setup, logging configuration, and Flask application factory. Current version 2.4.0, requires Python >=3.7. Invenio-Base follows semantic versioning with a stable release cadence.","status":"active","version":"2.4.0","language":"python","source_language":"en","source_url":"https://github.com/inveniosoftware/invenio-base","tags":["invenio","flask","application-factory","digital-library"],"install":[{"cmd":"pip install invenio-base","lang":"bash","label":"Install from PyPI"}],"dependencies":[],"imports":[{"wrong":"from invenio_base import InvenioBase","symbol":"create_app_factory","correct":"from invenio_base import create_app_factory"},{"symbol":"create_cli","correct":"from invenio_base import create_cli"},{"symbol":"create_wsgi_factory","correct":"from invenio_base import create_wsgi_factory"}],"quickstart":{"code":"from invenio_base.app import create_app\nfrom invenio_base import InvenioBase\n\nclass MyApp(InvenioBase):\n    pass\n\napp = create_app(MyApp)\nif __name__ == '__main__':\n    app.run()","lang":"python","description":"Create a minimal Invenio application using InvenioBase and create_app."},"warnings":[{"fix":"Upgrade Python to 3.7+ or pin to invenio-base<2.0.0 if stuck on Python 2.7/3.6.","message":"Invenio-Base dropped support for Python 3.6 and earlier. Requires Python >=3.7.","severity":"breaking","affected_versions":">=2.0.0"},{"fix":"Remove imports from invenio_base.helpers; use standard library or Flask helpers instead.","message":"Invenio-Base 2.0.0 removed the deprecated invenio_base.helpers module. Code depending on helpers must be updated.","severity":"breaking","affected_versions":">=2.0.0"},{"fix":"Ensure you pass the class (not an instance) to create_app.","message":"The create_app function requires an InvenioBase subclass, not an instance. Passing an instance will raise a TypeError.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"search_vec":"'2.4.0':29 '3.7':32 'applic':9,25,47 'application-factori':46 'base':3,4,35 'build':7 'cadenc':43 'configur':16,22 'current':27 'digit':50 'digital-librari':49 'factori':10,26,48 'flask':24,45 'follow':36 'foundat':12 'instanc':18 'invenio':2,8,34,44 'invenio-bas':1,33 'librari':51 'load':17 'log':21 'packag':5 'path':19 'provid':11 'python':31 'releas':42 'requir':30 'semant':37 'setup':20 'stabl':41 'util':13 'version':28,38","created_at":"2026-05-01T08:10:11.609375+00:00","updated_at":"2026-05-01T08:10:11.609375+00:00","problems":null,"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":"2.4.0","cli_name":"","cli_version":null,"type":"library","homepage":"https://invenio-software.org","github":"https://github.com/inveniosoftware/invenio-base","docs":null,"changelog":null,"pypi":"https://pypi.org/project/invenio-base/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["web-framework"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"passing","verified_at":"2026-07-03","last_verified":"2026-07-03","next_check":"2026-08-02","install_tag":null}}