Skip to main content

"Files download/upload REST API similar to S3 for Invenio."

Project description

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

Invenio-Files-REST is a files storage module. It allows you to store and retrieve files in a similar way to Amazon S3 APIs.

Features:

  • Files storage with configurable storage backends

  • Secure REST APIs

  • Support for large file uploads and multipart upload.

  • Customizable access control

  • File integrity monitoring

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

Changes

Version 2.0.2 (release 2023-11-01)

  • pyfs: fix computing parent folder path on delete action

Version 2.0.1 (release 2023-10-02)

  • models: handle bucket quota update on delete

  • models: update bucket size on object version delete

  • storage: pyfs handle file upload interruption

Version 2.0.0 (release 2023-08-15)

  • models: Bucket.sync method now returns a tuple of (bucket, list_of_changes) instead of bucket. That is a breaking change if you were consuming the return value.

Version 1.5.0 (release 2023-03-02)

  • remove deprecated flask-babelex dependency and imports

  • install invenio-i18n

Version 1.4.0 (release 2023-01-24)

  • tasks: add orphan cleaning celery task

Version 1.3.3 (release 2022-04-06)

  • Fix Flask v2.1 issues.

  • Refactor dependencies to respect Invenio dependency strategy and remove pin on Flask-Login.

Version 1.3.2 (release 2022-02-14)

  • Fix deprecation warnings from marshmallow.

Version 1.3.1 (release 2022-01-31)

  • Fix a race-condition by enforcing integrity constraint on is head. An issue was detected that could produce two head versions of the same object. This fix adds a partial index in PostgreSQL to ensure that the race condition throws an integrity error when trying to commit. Partial indexes is only available on PostgreSQL.

  • Fix for the sync method and signals signature.

Version 1.3.0 (released 2021-10-18)

  • Bumped minimum PyFilesystem dependency to v2. Note that, setuptools v58+ have dropped support for use2to3, thus PyFilesystem v0.5.5 no longer installs on Python 3 when using setuptools v58 or greater.

Version 1.2.0 (released 2020-05-14)

  • Adds optional file streaming using a reverse proxy (e.g. NGINX).

Version 1.1.1 (released 2020-02-24)

  • Makes cli location command backwards compatible.

Version 1.1.0 (released 2020-01-19)

  • Moves location from command to group

  • Allows listing locations via de CLI

  • Allows setting a location as default

  • Get by name on the Location object returns None when not found instead of raising an exception

  • Other bug fixes

Version 1.0.6 (released 2019-11-22)

  • Bump version and add to installation requirements invenio-celery

  • Add documentation of module usage

  • Remove storage_class parameter from Bucket create when POST to Location resource

Version 1.0.5 (released 2019-11-21)

  • Add signals for deletion and upload of files

Version 1.0.4 (released 2019-11-20)

  • Fix StorageError type returned

Version 1.0.3 (released 2019-11-15)

  • Increase invenio-rest version to support Marshmallow 2 and 3 migration

Version 1.0.2 (released 2019-11-14)

  • Adds optional serializer_mapping and view_name in json_serializer method

Version 1.0.1 (released 2019-08-01)

  • Adds support for marshmallow 2 and 3.

Version 1.0.0 (released 2019-07-22)

  • Initial public release.

Project details


Release history Release notifications | RSS feed

This version

2.0.2

Download files

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

Source Distribution

invenio-files-rest-2.0.2.tar.gz (175.4 kB view details)

Uploaded Source

Built Distribution

invenio_files_rest-2.0.2-py2.py3-none-any.whl (122.2 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file invenio-files-rest-2.0.2.tar.gz.

File metadata

  • Download URL: invenio-files-rest-2.0.2.tar.gz
  • Upload date:
  • Size: 175.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.18

File hashes

Hashes for invenio-files-rest-2.0.2.tar.gz
Algorithm Hash digest
SHA256 51f18a5ea79a6e313fbbbff4685bb4d04bbb2ca403e24b1dd5e03c796c6d4663
MD5 30db5e424fa0bc9ed9f2338690d53654
BLAKE2b-256 0da450cda2364d7828b946e3454e53b8b10f68c60ebcddb654a2ad6da3502960

See more details on using hashes here.

Provenance

File details

Details for the file invenio_files_rest-2.0.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for invenio_files_rest-2.0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 61676a65788ce0025f5234d20c351f2313a8cb64aac6dd3c428009d3f8509bbd
MD5 f0fc95a06f02a05dfee8d6c01cfea26a
BLAKE2b-256 b4eccca01a8605cf9f25ea7cd1ec9f0ca8888b3c0fe6fe0f331d4be68c1c10ae

See more details on using hashes here.

Provenance

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