pyams-file


Namepyams-file JSON
Version 2.0.1 PyPI version JSON
download
home_pagehttps://pyams.readthedocs.io
SummaryPyAMS files management package
upload_time2023-11-26 09:50:21
maintainer
docs_urlNone
authorThierry Florac
requires_python>=3.7
licenseZPL
keywords pyramid pyams
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ==================
PyAMS_file package
==================

.. contents::


What is PyAMS?
==============

PyAMS (Pyramid Application Management Suite) is a small suite of packages written for applications
and content management with the Pyramid framework.

**PyAMS** is actually mainly used to manage web sites through content management applications (CMS,
see PyAMS_content package), but many features are generic and can be used inside any kind of web
application.

All PyAMS documentation is available on `ReadTheDocs <https://pyams.readthedocs.io>`_; source code
is available on `Gitlab <https://gitlab.com/pyams>`_ and pushed to `Github
<https://github.com/py-ams>`_.


What is PyAMS_file?
===================

PyAMS_file is a PyAMS extension package used to handle files storage into ZODB. Provided features
allow to create file fields attributes which, when associated with matching properties, will allow
storage of any file easilly.

Extensions also allow easy management of medias files, like images, videos or audios files, for
example to generate thumbnails of images files.

This package also provides an extension to PyAMS_i18n, which will allow to store and retrieve
translated versions of a given file in several languages.

Some helpers related to archives management are also provided.


Changelog
=========

2.0.1
-----
 - upgraded Buildout configuration

2.0.0
-----
 - migrated to Pyramid 2.0
 - added support for Python 3.11
 - updated resampling settings for last Pillow version

1.6.4
-----
 - automatically remove diacritics from provided file name

1.6.3
-----
 - specify supported methods in CORS requests handler

1.6.2
-----
 - added CORS requests handler support to file view

1.6.1
-----
 - added support for Python 3.10
 - moved TALES extensions to *pyams_file_views* package

1.6.0
-----
 - added "selections" argument to *picture* TALES extension (see new PyAMS_skin
   *BootstrapThumbnailsSelectionDictField* schema field
 - updated *content-disposition* header handler in file view

1.5.5
-----
 - corrected doctests

1.5.4
-----
 - updated SVG image rendering

1.5.3
-----
 - package upgrade because of version mismatch

1.5.2
-----
 - added image helper to get selection thumbnail

1.5.1
-----
 - updated testing dependencies

1.5.0
-----
 - added images thumbnailers vocabulary
 - updated "pictures" TALES extension

1.4.0
-----
 - removed support for Python < 3.7
 - updated doctests

1.3.0
-----
 - added IBlobsReferencesManager factory configuration
 - removed Travis-CI configuration

1.2.5
-----
 - added commit into thumbnails traverser to avoid exceptions for uncommitted blobs
 - updated "adapter_config" arguments names
 - updated doctests

1.2.4
-----
 - updated doctests

1.2.3
-----
 - updated tests with ZCA hook

1.2.2
-----
 - updated tests for correct execution in Travis

1.2.1
-----
 - Pylint code cleanup and improved tests

1.2.0
-----
 - changed File blob's mode in context manager to readonly
 - removed intermediate commits in thumbnails traverser
 - updated file properties to be able to remove an attribute and unreference files objects
   accordingly
 - added subscriber to correctly remove all referenced files when a parent object is removed
 - refactored archives extraction utilities
 - improved tests and coverage

1.1.2
-----
 - updated Travis authentication token

1.1.1
-----
 - updated doctests for Travis-CI
 - updated Travis-CI configuration

1.1.0
-----
 - added watermark opacity argument to IThumbnails.get_thumbnail interface
 - added support for Bootstrap 'xl' responsive image size
 - updated SVG images renderer
 - updated doctests

1.0.1
-----
 - use current request registry instead of global registry to query adapters

1.0.0
-----
 - initial release

            

Raw data

            {
    "_id": null,
    "home_page": "https://pyams.readthedocs.io",
    "name": "pyams-file",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "",
    "keywords": "Pyramid PyAMS",
    "author": "Thierry Florac",
    "author_email": "tflorac@ulthar.net",
    "download_url": "https://files.pythonhosted.org/packages/96/6a/d43faecda67fa32b1dd3d76df76aed87c381fa011ec0145ff941b7930ccd/pyams_file-2.0.1.tar.gz",
    "platform": null,
    "description": "==================\nPyAMS_file package\n==================\n\n.. contents::\n\n\nWhat is PyAMS?\n==============\n\nPyAMS (Pyramid Application Management Suite) is a small suite of packages written for applications\nand content management with the Pyramid framework.\n\n**PyAMS** is actually mainly used to manage web sites through content management applications (CMS,\nsee PyAMS_content package), but many features are generic and can be used inside any kind of web\napplication.\n\nAll PyAMS documentation is available on `ReadTheDocs <https://pyams.readthedocs.io>`_; source code\nis available on `Gitlab <https://gitlab.com/pyams>`_ and pushed to `Github\n<https://github.com/py-ams>`_.\n\n\nWhat is PyAMS_file?\n===================\n\nPyAMS_file is a PyAMS extension package used to handle files storage into ZODB. Provided features\nallow to create file fields attributes which, when associated with matching properties, will allow\nstorage of any file easilly.\n\nExtensions also allow easy management of medias files, like images, videos or audios files, for\nexample to generate thumbnails of images files.\n\nThis package also provides an extension to PyAMS_i18n, which will allow to store and retrieve\ntranslated versions of a given file in several languages.\n\nSome helpers related to archives management are also provided.\n\n\nChangelog\n=========\n\n2.0.1\n-----\n - upgraded Buildout configuration\n\n2.0.0\n-----\n - migrated to Pyramid 2.0\n - added support for Python 3.11\n - updated resampling settings for last Pillow version\n\n1.6.4\n-----\n - automatically remove diacritics from provided file name\n\n1.6.3\n-----\n - specify supported methods in CORS requests handler\n\n1.6.2\n-----\n - added CORS requests handler support to file view\n\n1.6.1\n-----\n - added support for Python 3.10\n - moved TALES extensions to *pyams_file_views* package\n\n1.6.0\n-----\n - added \"selections\" argument to *picture* TALES extension (see new PyAMS_skin\n   *BootstrapThumbnailsSelectionDictField* schema field\n - updated *content-disposition* header handler in file view\n\n1.5.5\n-----\n - corrected doctests\n\n1.5.4\n-----\n - updated SVG image rendering\n\n1.5.3\n-----\n - package upgrade because of version mismatch\n\n1.5.2\n-----\n - added image helper to get selection thumbnail\n\n1.5.1\n-----\n - updated testing dependencies\n\n1.5.0\n-----\n - added images thumbnailers vocabulary\n - updated \"pictures\" TALES extension\n\n1.4.0\n-----\n - removed support for Python < 3.7\n - updated doctests\n\n1.3.0\n-----\n - added IBlobsReferencesManager factory configuration\n - removed Travis-CI configuration\n\n1.2.5\n-----\n - added commit into thumbnails traverser to avoid exceptions for uncommitted blobs\n - updated \"adapter_config\" arguments names\n - updated doctests\n\n1.2.4\n-----\n - updated doctests\n\n1.2.3\n-----\n - updated tests with ZCA hook\n\n1.2.2\n-----\n - updated tests for correct execution in Travis\n\n1.2.1\n-----\n - Pylint code cleanup and improved tests\n\n1.2.0\n-----\n - changed File blob's mode in context manager to readonly\n - removed intermediate commits in thumbnails traverser\n - updated file properties to be able to remove an attribute and unreference files objects\n   accordingly\n - added subscriber to correctly remove all referenced files when a parent object is removed\n - refactored archives extraction utilities\n - improved tests and coverage\n\n1.1.2\n-----\n - updated Travis authentication token\n\n1.1.1\n-----\n - updated doctests for Travis-CI\n - updated Travis-CI configuration\n\n1.1.0\n-----\n - added watermark opacity argument to IThumbnails.get_thumbnail interface\n - added support for Bootstrap 'xl' responsive image size\n - updated SVG images renderer\n - updated doctests\n\n1.0.1\n-----\n - use current request registry instead of global registry to query adapters\n\n1.0.0\n-----\n - initial release\n",
    "bugtrack_url": null,
    "license": "ZPL",
    "summary": "PyAMS files management package",
    "version": "2.0.1",
    "project_urls": {
        "Homepage": "https://pyams.readthedocs.io"
    },
    "split_keywords": [
        "pyramid",
        "pyams"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f04b524be06b202f16174012d5ceca8e00a40581ccf42df831ef530222d13c6c",
                "md5": "d016cff860d982e875282d2fae7847c7",
                "sha256": "96cb454ce5135296e0e770a42ef94a2ea68fa6f1a540e2de72d85f2cdf320748"
            },
            "downloads": -1,
            "filename": "pyams_file-2.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "d016cff860d982e875282d2fae7847c7",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 328402,
            "upload_time": "2023-11-26T09:50:18",
            "upload_time_iso_8601": "2023-11-26T09:50:18.954259Z",
            "url": "https://files.pythonhosted.org/packages/f0/4b/524be06b202f16174012d5ceca8e00a40581ccf42df831ef530222d13c6c/pyams_file-2.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "966ad43faecda67fa32b1dd3d76df76aed87c381fa011ec0145ff941b7930ccd",
                "md5": "c7cceef33e89a88154ec754ecc72ba50",
                "sha256": "4d223ecafaedbb59a89b2779c4d1def4bc49667268bf45a37a87b59b802bd618"
            },
            "downloads": -1,
            "filename": "pyams_file-2.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "c7cceef33e89a88154ec754ecc72ba50",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 290105,
            "upload_time": "2023-11-26T09:50:21",
            "upload_time_iso_8601": "2023-11-26T09:50:21.163239Z",
            "url": "https://files.pythonhosted.org/packages/96/6a/d43faecda67fa32b1dd3d76df76aed87c381fa011ec0145ff941b7930ccd/pyams_file-2.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-11-26 09:50:21",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "pyams-file"
}
        
Elapsed time: 0.17012s