Skip to main content

"Base package for building Invenio application factories."

Project description

https://img.shields.io/github/license/inveniosoftware/invenio-base.svg https://github.com/inveniosoftware/invenio-base/workflows/CI/badge.svg https://img.shields.io/coveralls/inveniosoftware/invenio-base.svg https://img.shields.io/pypi/v/invenio-base.svg

Base package for building Invenio application factories.

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

Changes

Version 2.0.0 (released 2024-11-19)

  • setup: set flask,werkzeug min version

  • jws: move functionality from itsdangerous

  • setup: remove upper pins

Version 1.4.0 (released 2024-01-29)

  • app: add configurable gc.freeze() call

  • setup: pin watchdog

Version 1.3.0 (released 2023-06-23)

  • Adds finalize_app_entry_points to overcome before_(app_)_first_request deprecation in Flask>=2.3.0

Version 1.2.15 (released 2023-05-02)

  • Pins Werkzeug<2.3.0 due to removed deprecations (for example Authoriation headers parsing issues).

Version 1.2.14 (released 2023-04-26)

  • Pins Flask<2.3.0 due to removed deprecations (for example before_(app_)first_request).

Version 1.2.11 (released 2022-03-29)

  • Adds a compatibility layer for Werkzeug v2.1.

Version 1.2.10 (released 2022-03-29)

  • Adds support for Flask v2.1

Version 1.2.9 (released 2022-02-22)

  • Fixes issue with duplicate entry points during tests due to pytest modifying the sys.path.

Version 1.2.8 (released 2022-02-21)

  • Lowered Python requirement to v3.6 to avoid breaking builds.

Version 1.2.7 (released 2022-02-21)

  • Fixed minimal test dependencies and limited itsdangerous to <2.1

Version 1.2.6 (released 2022-02-18)

  • Added importlib-resources/importlib-metadata packages to replace usage of pkg_resources.

  • Updated package to use a purely declarative package definition.

  • Removed __future__ imports and usage of six library.

Version 1.2.5 (released 2021-10-18)

  • Unpin Flask <2.0 and Werkzeug <2.0.

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.

  • 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

invenio-base-2.0.0.tar.gz (36.2 kB view details)

Uploaded Source

Built Distribution

invenio_base-2.0.0-py2.py3-none-any.whl (19.2 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file invenio-base-2.0.0.tar.gz.

File metadata

  • Download URL: invenio-base-2.0.0.tar.gz
  • Upload date:
  • Size: 36.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.8.20

File hashes

Hashes for invenio-base-2.0.0.tar.gz
Algorithm Hash digest
SHA256 555577563aa3f46da096f9643c5a55dc8a8c9bb70971aa43e46d196794606f6f
MD5 102013f27841d12fb4337d773368e131
BLAKE2b-256 a362432910e25de71272150feb2cd2eb3bae29eba488dec223fa88391f83726f

See more details on using hashes here.

File details

Details for the file invenio_base-2.0.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for invenio_base-2.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 178beb22df4927acc7fffb197e586a2a4738c040d42b64bd76071f21e4bad544
MD5 fbd16304d1332715564d485274a204e4
BLAKE2b-256 3f000258b35130d43e7fe12abfef76f20ad93e9581068f974fafa32ed3b0de49

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page