invenio-files-rest


Nameinvenio-files-rest JSON
Version 2.2.1 PyPI version JSON
download
home_pagehttps://github.com/inveniosoftware/invenio-files-rest
Summary"Files download/upload REST API similar to S3 for Invenio."
upload_time2024-09-19 09:35:48
maintainerNone
docs_urlhttps://pythonhosted.org/invenio-files-rest/
authorCERN
requires_python>=3.7
licenseMIT
keywords invenio files rest
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ..
    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-Files-REST
====================

.. image:: https://github.com/inveniosoftware/invenio-files-rest/workflows/CI/badge.svg
        :target: https://github.com/inveniosoftware/invenio-files-rest/actions?query=workflow%3ACI

.. image:: https://img.shields.io/coveralls/inveniosoftware/invenio-files-rest.svg
        :target: https://coveralls.io/r/inveniosoftware/invenio-files-rest

.. image:: https://img.shields.io/pypi/v/invenio-files-rest.svg
        :target: https://pypi.org/pypi/invenio-files-rest

.. image:: https://img.shields.io/github/license/inveniosoftware/invenio-files-rest.svg
        :target: https://github.com/inveniosoftware/invenio-files-rest/blob/master/LICENSE


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

..
    This file is part of Invenio.
    Copyright (C) 2015-2024 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.



Changes
=======

Version 2.2.1 (release 2024-09-19)

- fix: downloading for some weird filenames
- i18n: push translations

Version 2.2.0 (release 2024-01-18)

- Bump for skipping yanked v2.1.0 release

Version 2.1.0 (release 2024-01-18)

- models: add copy_from method to ObjectVersion

Version 2.0.3 (release 2023-12-14)

- files: avoid creating directories while opening files for reading

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.



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/inveniosoftware/invenio-files-rest",
    "name": "invenio-files-rest",
    "maintainer": null,
    "docs_url": "https://pythonhosted.org/invenio-files-rest/",
    "requires_python": ">=3.7",
    "maintainer_email": null,
    "keywords": "invenio files REST",
    "author": "CERN",
    "author_email": "info@inveniosoftware.org",
    "download_url": "https://files.pythonhosted.org/packages/e2/a3/2749e30ef7c4f8b51bf75ae7119e431998ec65f7ca0608d88e31668d1dce/invenio-files-rest-2.2.1.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-Files-REST\n====================\n\n.. image:: https://github.com/inveniosoftware/invenio-files-rest/workflows/CI/badge.svg\n        :target: https://github.com/inveniosoftware/invenio-files-rest/actions?query=workflow%3ACI\n\n.. image:: https://img.shields.io/coveralls/inveniosoftware/invenio-files-rest.svg\n        :target: https://coveralls.io/r/inveniosoftware/invenio-files-rest\n\n.. image:: https://img.shields.io/pypi/v/invenio-files-rest.svg\n        :target: https://pypi.org/pypi/invenio-files-rest\n\n.. image:: https://img.shields.io/github/license/inveniosoftware/invenio-files-rest.svg\n        :target: https://github.com/inveniosoftware/invenio-files-rest/blob/master/LICENSE\n\n\nInvenio-Files-REST is a files storage module. It allows you to store and\nretrieve files in a similar way to Amazon S3 APIs.\n\nFeatures:\n\n * Files storage with configurable storage backends\n * Secure REST APIs\n * Support for large file uploads and multipart upload.\n * Customizable access control\n * File integrity monitoring\n\n\nFurther documentation is available on https://invenio-files-rest.readthedocs.io/.\n\n..\n    This file is part of Invenio.\n    Copyright (C) 2015-2024 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\nChanges\n=======\n\nVersion 2.2.1 (release 2024-09-19)\n\n- fix: downloading for some weird filenames\n- i18n: push translations\n\nVersion 2.2.0 (release 2024-01-18)\n\n- Bump for skipping yanked v2.1.0 release\n\nVersion 2.1.0 (release 2024-01-18)\n\n- models: add copy_from method to ObjectVersion\n\nVersion 2.0.3 (release 2023-12-14)\n\n- files: avoid creating directories while opening files for reading\n\nVersion 2.0.2 (release 2023-11-01)\n\n- pyfs: fix computing parent folder path on delete action\n\nVersion 2.0.1 (release 2023-10-02)\n\n- models: handle bucket quota update on delete\n- models: update bucket size on object version delete\n- storage: pyfs handle file upload interruption\n\nVersion 2.0.0 (release 2023-08-15)\n\n- models: `Bucket.sync` method now returns a tuple of (bucket, list_of_changes) instead\n  of bucket. That is a breaking change if you were consuming the return value.\n\nVersion 1.5.0 (release 2023-03-02)\n\n- remove deprecated flask-babelex dependency and imports\n- install invenio-i18n\n\nVersion 1.4.0 (release 2023-01-24)\n\n- tasks: add orphan cleaning celery task\n\nVersion 1.3.3 (release 2022-04-06)\n\n- Fix Flask v2.1 issues.\n- Refactor dependencies to respect Invenio dependency strategy and remove\n  pin on Flask-Login.\n\nVersion 1.3.2 (release 2022-02-14)\n\n- Fix deprecation warnings from marshmallow.\n\nVersion 1.3.1 (release 2022-01-31)\n\n- Fix a race-condition by enforcing integrity constraint on is head. An issue\n  was detected that could produce two head versions of the same object. This\n  fix adds a partial index in PostgreSQL to ensure that the race condition\n  throws an integrity error when trying to commit. Partial indexes is only\n  available on PostgreSQL.\n\n- Fix for the sync method and signals signature.\n\nVersion 1.3.0 (released 2021-10-18)\n\n- Bumped minimum PyFilesystem dependency to v2. Note that, setuptools v58+ have\n  dropped support for use2to3, thus PyFilesystem v0.5.5 no longer installs on\n  Python 3 when using setuptools v58 or greater.\n\nVersion 1.2.0 (released 2020-05-14)\n\n- Adds optional file streaming using a reverse proxy (e.g. NGINX).\n\nVersion 1.1.1 (released 2020-02-24)\n\n- Makes cli `location` command backwards compatible.\n\nVersion 1.1.0 (released 2020-01-19)\n\n- Moves *location* from command to group\n- Allows listing locations via de CLI\n- Allows setting a location as *default*\n- Get by name on the `Location` object returns None when not found instead of raising an exception\n- Other bug fixes\n\nVersion 1.0.6 (released 2019-11-22)\n\n- Bump version and add to installation requirements invenio-celery\n- Add documentation of module usage\n- Remove storage_class parameter from Bucket create when POST to Location resource\n\nVersion 1.0.5 (released 2019-11-21)\n\n- Add signals for deletion and upload of files\n\nVersion 1.0.4 (released 2019-11-20)\n\n- Fix `StorageError` type returned\n\nVersion 1.0.3 (released 2019-11-15)\n\n- Increase invenio-rest version to support Marshmallow 2 and 3 migration\n\nVersion 1.0.2 (released 2019-11-14)\n\n- Adds optional serializer_mapping and view_name in `json_serializer` method\n\nVersion 1.0.1 (released 2019-08-01)\n\n- Adds support for marshmallow 2 and 3.\n\nVersion 1.0.0 (released 2019-07-22)\n\n- Initial public release.\n\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "\"Files download/upload REST API similar to S3 for Invenio.\"",
    "version": "2.2.1",
    "project_urls": {
        "Homepage": "https://github.com/inveniosoftware/invenio-files-rest"
    },
    "split_keywords": [
        "invenio",
        "files",
        "rest"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "aabeff82f1e36f59fc9d70b5d74d34282b76a501a8e49300c5732e8b7ef7b235",
                "md5": "4d99ce7353e051f4041b7e9f22fb1173",
                "sha256": "93dec6ef21846d75ccfc0da7ba661a75b0dd60518895361b37531fdd37d03c90"
            },
            "downloads": -1,
            "filename": "invenio_files_rest-2.2.1-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "4d99ce7353e051f4041b7e9f22fb1173",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": ">=3.7",
            "size": 159420,
            "upload_time": "2024-09-19T09:35:46",
            "upload_time_iso_8601": "2024-09-19T09:35:46.519626Z",
            "url": "https://files.pythonhosted.org/packages/aa/be/ff82f1e36f59fc9d70b5d74d34282b76a501a8e49300c5732e8b7ef7b235/invenio_files_rest-2.2.1-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e2a32749e30ef7c4f8b51bf75ae7119e431998ec65f7ca0608d88e31668d1dce",
                "md5": "5b3656fbc5768d413f333d86556c6274",
                "sha256": "7feb4484482a34a12a4c6db38455d87a3113a4fe67273a91a4ec66b03e00802e"
            },
            "downloads": -1,
            "filename": "invenio-files-rest-2.2.1.tar.gz",
            "has_sig": false,
            "md5_digest": "5b3656fbc5768d413f333d86556c6274",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 182971,
            "upload_time": "2024-09-19T09:35:48",
            "upload_time_iso_8601": "2024-09-19T09:35:48.202793Z",
            "url": "https://files.pythonhosted.org/packages/e2/a3/2749e30ef7c4f8b51bf75ae7119e431998ec65f7ca0608d88e31668d1dce/invenio-files-rest-2.2.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-09-19 09:35:48",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "inveniosoftware",
    "github_project": "invenio-files-rest",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "invenio-files-rest"
}
        
Elapsed time: 0.65479s