Metadata-Version: 2.1
Name: invenio-previewer
Version: 2.2.2
Summary: Invenio module for previewing files.
Home-page: https://github.com/inveniosoftware/invenio-previewer
Author: CERN
Author-email: info@inveniosoftware.org
License: MIT
Keywords: invenio previewer
Platform: any
Classifier: Development Status :: 5 - Production/Stable
Requires-Python: >=3.7
License-File: LICENSE
License-File: AUTHORS.rst
Requires-Dist: charset_normalizer>=3.3.2
Requires-Dist: invenio-assets<4.0.0,>=1.2.7
Requires-Dist: invenio-base<2.0.0,>=1.2.10
Requires-Dist: invenio-formatter<3.0.0,>=1.1.3
Requires-Dist: invenio-i18n<3.0.0,>=1.3.1
Requires-Dist: invenio-pidstore<2.0.0,>=1.2.3
Requires-Dist: invenio-records-ui<2.0.0,>=1.2.0
Requires-Dist: mistune>=0.8.1
Requires-Dist: nbconvert<8,>=7
Requires-Dist: nbformat<6.0,>=5.1
Requires-Dist: lxml-html-clean>=0.1.1
Provides-Extra: tests
Requires-Dist: pytest-black>=0.3.0; extra == "tests"
Requires-Dist: pytest-invenio<3.0.0,>=1.4.5; extra == "tests"
Requires-Dist: invenio-app<2.0.0,>=1.0.0; extra == "tests"
Requires-Dist: invenio-config>=1.0.3; extra == "tests"
Requires-Dist: invenio-db[versioning]<2.0.0,>=1.0.14; extra == "tests"
Requires-Dist: invenio-files-rest<3.0.0,>=1.3.2; extra == "tests"
Requires-Dist: invenio-records-files>=1.2.1; extra == "tests"
Requires-Dist: invenio-theme<4.0.0,>=1.3.20; extra == "tests"
Requires-Dist: mock>=1.3.0; extra == "tests"
Requires-Dist: sphinx>=4.5; extra == "tests"
Provides-Extra: docs
Provides-Extra: files
Requires-Dist: invenio-files-rest>=1.3.2; extra == "files"
Requires-Dist: invenio-records-files>=1.2.1; extra == "files"

..
    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 and GIF 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 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 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.
