..
This file is part of Invenio.
Copyright (C) 2015-2019 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-Previewer
===================
.. image:: https://img.shields.io/github/license/inveniosoftware/invenio-previewer.svg
:target: https://github.com/inveniosoftware/invenio-previewer/blob/master/LICENSE
.. image:: https://img.shields.io/travis/inveniosoftware/invenio-previewer.svg
:target: https://travis-ci.org/inveniosoftware/invenio-previewer
.. image:: https://img.shields.io/coveralls/inveniosoftware/invenio-previewer.svg
:target: https://coveralls.io/r/inveniosoftware/invenio-previewer
.. image:: https://img.shields.io/pypi/v/invenio-previewer.svg
:target: https://pypi.org/pypi/invenio-previewer
Invenio module for previewing files.
Features:
- File previewing.
- Support for PDF, ZIP, CSV, MARKDOWN, XML, JSON, PNG, JPG, GIF, and WEBP out-of-the-box.
- Extensible API to create new previewers.
Further documentation available: https://invenio-previewer.readthedocs.io/
..
This file is part of Invenio.
Copyright (C) 2016-2024 CERN.
Copyright (C) 2024-2025 Graz University of Technology.
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 v3.2.0 (released 2025-07-17)
- i18n: pulled translations
Version 3.1.0 (release 2025-07-02)
- fix(tests): add missing javascript dep
- fix: pkg_resources DeprecationWarning
- docs: add webp to all places formats are listed
- feat: preview webp images
- i18n: removed deprecated messages
- fix: setuptools require underscores instead of dashes
- csv: add max filesize check
Version 3.0.1 (release 2025-02-25)
- fix: ModuleWarning: Deprecation Warning
Version 3.0.0 (release 2024-12-10)
- fix: tests, compatibility with sqlalchemy>=2
- setup: bump major dependencies
Version 2.3.0 (released 2024-12-10)
- zip: move fullscreen.js to fix the zip previewer
- pdfjs: upgrade to pdf.js v4
Version 2.2.2 (release 2024-11-30)
- setup: change to reusable workflows
- setup: pin dependencies
- i18n:push translations
Version 2.2.0 (released 2024-03-26)
-----------------------------------
- integrated new video/audio previewer
Version 2.1.2 (released 2024-03-12)
-----------------------------------
- frontend: Improve display of ZIPs with long file names
Version 2.1.1 (released 2024-01-31)
-----------------------------------
- markdown: default message if not previewable
- markdown: fixed ascii encoding typo
Version 2.1.0 (Release 2023-12-05)
----------------------------------
- setup: migrate dependency from cchardet to charset_normalizer
fixes problems with python3.11
- setup: add python3.11 to test matrix
Version 2.0.2 (Release 2023-11-20)
----------------------------------
- CSV: Fix handling of small files.
Version 2.0.1 (Release 2023-09-14)
----------------------------------
- CSV: removed file size limit. The new extension can preview very large files.
Version 2.0.0 (Release 2023-09-14)
----------------------------------
- CSV: change JS rendering from `d3` to `papaparse`, supporting rendering
of very large files
- add file size check to CSV extensions
- refactor XML and ipynb extensions
Version 1.5.0 (Release 2023-08-17)
----------------------------------
- encoding: cleanup detection and override ASCII to default encoding
- txt-preview: enables horizontal scrolling, avoid invalid coding errors and add
option to truncate .txt file preview after `PREVIEWER_TXT_MAX_BYTES`
- pull latest translations
Version 1.4.0 (Release 2023-03-02)
----------------------------------
- remove deprecated flask_babelex dependency
- upgrade invenio_i18n
Version 1.3.9 (Release 2023-01-13)
----------------------------------
- remove inline script - pdf js
Version 1.3.8 (Release 2022-11-18)
----------------------------------
- add translations
Version 1.3.7 (Release 2022-09-05)
----------------------------------
- jupyter: fix previewer of jpynb
- tests: upgrade invenio-db
Version 1.3.6 (Release 2022-03-31)
----------------------------------
- Fix dependencies
Version 1.3.5 (Release 2022-02-28)
----------------------------------
- Align bootstrap-sass version with Invenio-Theme version.
Version 1.3.3 (Release 2021-07-12)
------------------------------------
- Adds german translations
Version 1.3.2 (Release 2020-12-11)
------------------------------------
- Fixes the preview button and the question icon mark in the Jinja macro.
Version 1.3.1 (Release 2020-12-11)
------------------------------------
- Fixes the file download link the Jinja macro for listing files.
Version 1.3.0 (Release 2020-12-10)
------------------------------------
- Migration to Semantic-UI.
- Drops support of flask-assets.
- Fixes PDF.js static asset paths.
- Migrate CI to GitHub Actions.
- Fixes imports in Bootstrap and Semantic UI files.
Version 1.2.1 (Release 2020-05-07)
----------------------------------
- set Sphinx ``<3`` because of errors related to application context
- stop using example app
Version 1.2.0 (Release 2020-03-13)
----------------------------------
- Change flask dependency to centrally managed by invenio-base
- Drop support for Python 2.7
Version 1.1.0 (Release 2019-12-20)
----------------------------------
- Changes styling and method signature of file_list macro.
Version 1.0.2 (Release 2019-11-21)
----------------------------------
- Removes inline styling from simple image previewer for Content Security
Policy compliance
Version 1.0.1 (Release 2019-08-02)
----------------------------------
- Removes html sanitization config
Version 1.0.0 (release 2019-07-29)
----------------------------------
- Initial public release.
Raw data
{
"_id": null,
"home_page": "https://github.com/inveniosoftware/invenio-previewer",
"name": "invenio-previewer",
"maintainer": null,
"docs_url": "https://pythonhosted.org/invenio-previewer/",
"requires_python": ">=3.7",
"maintainer_email": null,
"keywords": "invenio previewer",
"author": "CERN",
"author_email": "info@inveniosoftware.org",
"download_url": "https://files.pythonhosted.org/packages/66/9a/dfd59024834481ce524cc98aa566fe54e07f923e99b92463b6583a83574d/invenio_previewer-3.2.0.tar.gz",
"platform": "any",
"description": "..\n This file is part of Invenio.\n Copyright (C) 2015-2019 CERN.\n\n Invenio is free software; you can redistribute it and/or modify it\n under the terms of the MIT License; see LICENSE file for more details.\n\n\n===================\n Invenio-Previewer\n===================\n\n.. image:: https://img.shields.io/github/license/inveniosoftware/invenio-previewer.svg\n :target: https://github.com/inveniosoftware/invenio-previewer/blob/master/LICENSE\n\n.. image:: https://img.shields.io/travis/inveniosoftware/invenio-previewer.svg\n :target: https://travis-ci.org/inveniosoftware/invenio-previewer\n\n.. image:: https://img.shields.io/coveralls/inveniosoftware/invenio-previewer.svg\n :target: https://coveralls.io/r/inveniosoftware/invenio-previewer\n\n.. image:: https://img.shields.io/pypi/v/invenio-previewer.svg\n :target: https://pypi.org/pypi/invenio-previewer\n\n\nInvenio module for previewing files.\n\nFeatures:\n\n- File previewing.\n- Support for PDF, ZIP, CSV, MARKDOWN, XML, JSON, PNG, JPG, GIF, and WEBP out-of-the-box.\n- Extensible API to create new previewers.\n\nFurther documentation available: https://invenio-previewer.readthedocs.io/\n\n..\n This file is part of Invenio.\n Copyright (C) 2016-2024 CERN.\n Copyright (C) 2024-2025 Graz University of Technology.\n\n Invenio is free software; you can redistribute it and/or modify it\n under the terms of the MIT License; see LICENSE file for more details.\n\n\nChanges\n=======\n\nVersion v3.2.0 (released 2025-07-17)\n\n- i18n: pulled translations\n\nVersion 3.1.0 (release 2025-07-02)\n\n- fix(tests): add missing javascript dep\n- fix: pkg_resources DeprecationWarning\n- docs: add webp to all places formats are listed\n- feat: preview webp images\n- i18n: removed deprecated messages\n- fix: setuptools require underscores instead of dashes\n- csv: add max filesize check\n\nVersion 3.0.1 (release 2025-02-25)\n\n- fix: ModuleWarning: Deprecation Warning\n\nVersion 3.0.0 (release 2024-12-10)\n\n- fix: tests, compatibility with sqlalchemy>=2\n- setup: bump major dependencies\n\nVersion 2.3.0 (released 2024-12-10)\n\n- zip: move fullscreen.js to fix the zip previewer\n- pdfjs: upgrade to pdf.js v4\n\nVersion 2.2.2 (release 2024-11-30)\n\n- setup: change to reusable workflows\n- setup: pin dependencies\n- i18n:push translations\n\nVersion 2.2.0 (released 2024-03-26)\n-----------------------------------\n\n- integrated new video/audio previewer\n\nVersion 2.1.2 (released 2024-03-12)\n-----------------------------------\n\n- frontend: Improve display of ZIPs with long file names\n\nVersion 2.1.1 (released 2024-01-31)\n-----------------------------------\n\n- markdown: default message if not previewable\n- markdown: fixed ascii encoding typo\n\nVersion 2.1.0 (Release 2023-12-05)\n----------------------------------\n\n- setup: migrate dependency from cchardet to charset_normalizer\n fixes problems with python3.11\n- setup: add python3.11 to test matrix\n\nVersion 2.0.2 (Release 2023-11-20)\n----------------------------------\n\n- CSV: Fix handling of small files.\n\nVersion 2.0.1 (Release 2023-09-14)\n----------------------------------\n\n- CSV: removed file size limit. The new extension can preview very large files.\n\nVersion 2.0.0 (Release 2023-09-14)\n----------------------------------\n\n- CSV: change JS rendering from `d3` to `papaparse`, supporting rendering\n of very large files\n- add file size check to CSV extensions\n- refactor XML and ipynb extensions\n\nVersion 1.5.0 (Release 2023-08-17)\n----------------------------------\n\n- encoding: cleanup detection and override ASCII to default encoding\n- txt-preview: enables horizontal scrolling, avoid invalid coding errors and add\n option to truncate .txt file preview after `PREVIEWER_TXT_MAX_BYTES`\n- pull latest translations\n\nVersion 1.4.0 (Release 2023-03-02)\n----------------------------------\n\n- remove deprecated flask_babelex dependency\n- upgrade invenio_i18n\n\nVersion 1.3.9 (Release 2023-01-13)\n----------------------------------\n\n- remove inline script - pdf js\n\nVersion 1.3.8 (Release 2022-11-18)\n----------------------------------\n- add translations\n\nVersion 1.3.7 (Release 2022-09-05)\n----------------------------------\n\n- jupyter: fix previewer of jpynb\n- tests: upgrade invenio-db\n\nVersion 1.3.6 (Release 2022-03-31)\n----------------------------------\n\n- Fix dependencies\n\nVersion 1.3.5 (Release 2022-02-28)\n----------------------------------\n\n- Align bootstrap-sass version with Invenio-Theme version.\n\nVersion 1.3.3 (Release 2021-07-12)\n------------------------------------\n\n- Adds german translations\n\n\nVersion 1.3.2 (Release 2020-12-11)\n------------------------------------\n\n- Fixes the preview button and the question icon mark in the Jinja macro.\n\nVersion 1.3.1 (Release 2020-12-11)\n------------------------------------\n\n- Fixes the file download link the Jinja macro for listing files.\n\nVersion 1.3.0 (Release 2020-12-10)\n------------------------------------\n\n- Migration to Semantic-UI.\n- Drops support of flask-assets.\n- Fixes PDF.js static asset paths.\n- Migrate CI to GitHub Actions.\n- Fixes imports in Bootstrap and Semantic UI files.\n\nVersion 1.2.1 (Release 2020-05-07)\n----------------------------------\n\n- set Sphinx ``<3`` because of errors related to application context\n- stop using example app\n\nVersion 1.2.0 (Release 2020-03-13)\n----------------------------------\n\n- Change flask dependency to centrally managed by invenio-base\n- Drop support for Python 2.7\n\nVersion 1.1.0 (Release 2019-12-20)\n----------------------------------\n\n- Changes styling and method signature of file_list macro.\n\nVersion 1.0.2 (Release 2019-11-21)\n----------------------------------\n\n- Removes inline styling from simple image previewer for Content Security\n Policy compliance\n\nVersion 1.0.1 (Release 2019-08-02)\n----------------------------------\n\n- Removes html sanitization config\n\nVersion 1.0.0 (release 2019-07-29)\n----------------------------------\n\n- Initial public release.\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Invenio module for previewing files.",
"version": "3.2.0",
"project_urls": {
"Homepage": "https://github.com/inveniosoftware/invenio-previewer"
},
"split_keywords": [
"invenio",
"previewer"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "ae8cb7df70829bb2741d15f3f4f2324d7fbaf954f4038767c13454ec6ee36a34",
"md5": "2817c3ee9dde615fcddf9d91f41cedc9",
"sha256": "936e99a3075fe8267ece3403464b6f78b1aa1514a248b79e8b17c7d617d0ccec"
},
"downloads": -1,
"filename": "invenio_previewer-3.2.0-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "2817c3ee9dde615fcddf9d91f41cedc9",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": ">=3.7",
"size": 196147,
"upload_time": "2025-07-17T20:22:28",
"upload_time_iso_8601": "2025-07-17T20:22:28.817387Z",
"url": "https://files.pythonhosted.org/packages/ae/8c/b7df70829bb2741d15f3f4f2324d7fbaf954f4038767c13454ec6ee36a34/invenio_previewer-3.2.0-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "669adfd59024834481ce524cc98aa566fe54e07f923e99b92463b6583a83574d",
"md5": "fe5921c66be3cae99304c164e10afeb9",
"sha256": "b6b20dc37a54e006dace7d3097333a885438f1910604ce770ee241da42e28224"
},
"downloads": -1,
"filename": "invenio_previewer-3.2.0.tar.gz",
"has_sig": false,
"md5_digest": "fe5921c66be3cae99304c164e10afeb9",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 151294,
"upload_time": "2025-07-17T20:22:30",
"upload_time_iso_8601": "2025-07-17T20:22:30.157767Z",
"url": "https://files.pythonhosted.org/packages/66/9a/dfd59024834481ce524cc98aa566fe54e07f923e99b92463b6583a83574d/invenio_previewer-3.2.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-07-17 20:22:30",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "inveniosoftware",
"github_project": "invenio-previewer",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "invenio-previewer"
}