Metadata-Version: 2.1
Name: invenio-base
Version: 1.2.4
Summary: Base package for building Invenio application factories.
Home-page: https://github.com/inveniosoftware/invenio-base
Author: CERN
Author-email: info@inveniosoftware.org
License: MIT
Keywords: invenio
Platform: any
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Development Status :: 5 - Production/Stable
Requires-Dist: blinker (>=1.4)
Requires-Dist: Flask (<2.0,>=1.0.4)
Requires-Dist: Werkzeug (<2.0,>=1.0.1)
Requires-Dist: six (>=1.12.0)
Provides-Extra: all
Requires-Dist: Sphinx (>=3) ; extra == 'all'
Requires-Dist: mock (>=1.3.0) ; extra == 'all'
Requires-Dist: invenio-config (>=1.0.0) ; extra == 'all'
Requires-Dist: pytest-invenio (>=1.4.0) ; extra == 'all'
Provides-Extra: docs
Requires-Dist: Sphinx (>=3) ; extra == 'docs'
Provides-Extra: tests
Requires-Dist: mock (>=1.3.0) ; extra == 'tests'
Requires-Dist: invenio-config (>=1.0.0) ; extra == 'tests'
Requires-Dist: pytest-invenio (>=1.4.0) ; extra == 'tests'

..
    This file is part of Invenio.
    Copyright (C) 2015-2018 CERN.

    Invenio is free software; you can redistribute it and/or modify it
    under the terms of the MIT License; see LICENSE file for more details.

==============
 Invenio-Base
==============

.. image:: https://img.shields.io/github/license/inveniosoftware/invenio-base.svg
        :target: https://github.com/inveniosoftware/invenio-base/blob/master/LICENSE

.. image:: https://github.com/inveniosoftware/invenio-base/workflows/CI/badge.svg
        :target: https://github.com/inveniosoftware/invenio-base/actions?query=workflow%3ACI

.. image:: https://img.shields.io/coveralls/inveniosoftware/invenio-base.svg
        :target: https://coveralls.io/r/inveniosoftware/invenio-base

.. image:: https://img.shields.io/pypi/v/invenio-base.svg
        :target: https://pypi.org/pypi/invenio-base


Base package for building Invenio application factories.

Further documentation is available on https://invenio-base.readthedocs.io/


..
    This file is part of Invenio.
    Copyright (C) 2015-2018 CERN.

    Invenio is free software; you can redistribute it and/or modify it
    under the terms of the MIT License; see LICENSE file for more details.

Changes
=======

Version 1.2.4 (released 2021-05-12)

- Pins Flask <2.0 and Werkzeug <2.0 due to incompatibilities in the newly
  released versions.

Version 1.2.3 (released 2020-05-11)

- Adds support for passing ``root_path`` to the base Flask application factory.

Version 1.2.2 (released 2020-03-05)

- Adds ``six`` dependency.
- Adds the ``obj_or_import_string`` and ``load_or_import_from_config`` common
  utility functions for general re-use throughout other Invenio modules.

Version 1.2.1 (released 2020-03-02)

- Bumps Flask minimum version to v1.0.4.
- Removes ``invenio instance create`` command and ``cokiecutter`` dependency.

Version 1.2.0 (released 2019-08-28)

- Adds support to trust new proxy headers through the ``PROXYFIX_CONFIG``
  configuration variable. For more information see the
  `full documentation <api.html#invenio_base.wsgi.wsgi_proxyfix>`_.

- Deprecates the usage of ``WSGI_PROXIES`` configuration which only supports
  ``X-Forwarded-For`` headers.

Version 1.1.0 (released 2019-07-29)

- Add support for allowing instance path and static folder to be callables
  which are evaluated before being passed to the Flask application class. This
  fixes an issue in pytest-invenio and Invenio-App in which a global instance
  path was only evaluated once.

- Fixes deprecation warnings from Werkzeug.

Version 1.0.2 (released 2018-12-14)

Version 1.0.1 (released 2018-05-25)

- Added support for blueprint factory functions in the
  ``invenio_base.blueprints`` and the ``invenio_base.api_blueprints`` entry
  point groups. In addition to specifying an import path to an already created
  blueprint, you can now specify an import path of a blueprint factory function
  with the signature create_blueprint(app), that will create and return a
  blueprint. This allows moving dynamic blueprint creation from the extension
  initialization phase to the blueprint registration phase.

Version 1.0.0 (released 2018-03-23)

- Initial public release.


