Skip to main content

Invenio module for previewing files.

Project description

https://img.shields.io/github/license/inveniosoftware/invenio-previewer.svg https://img.shields.io/travis/inveniosoftware/invenio-previewer.svg https://img.shields.io/coveralls/inveniosoftware/invenio-previewer.svg https://img.shields.io/pypi/v/invenio-previewer.svg

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/

Changes

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.

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-previewer-2.2.0.tar.gz (3.2 MB view details)

Uploaded Source

Built Distribution

invenio_previewer-2.2.0-py2.py3-none-any.whl (4.1 MB view details)

Uploaded Python 2 Python 3

File details

Details for the file invenio-previewer-2.2.0.tar.gz.

File metadata

  • Download URL: invenio-previewer-2.2.0.tar.gz
  • Upload date:
  • Size: 3.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.8.19

File hashes

Hashes for invenio-previewer-2.2.0.tar.gz
Algorithm Hash digest
SHA256 8d7c0e50e488f6fdb5584ff647ddf522432e2c8a76ca14972ecdfb6cd072a690
MD5 bdfa3bf90e539e287d19ba0fa1c78ae4
BLAKE2b-256 ac537763060951598ad3584a86bebd96bfb98d1081cb2ac5d551e81c17ac1d7e

See more details on using hashes here.

File details

Details for the file invenio_previewer-2.2.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for invenio_previewer-2.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 4ef6e403b19b984f85d33d27632106705c0918e7a68c2826ed519d8fbd41eb28
MD5 0e994d47e092236fc2a14be7acf6ec25
BLAKE2b-256 7cf3021204e46b438ad1a8d5c610c02692b0d11fd3f694cc815c3888b79a1295

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