Skip to main content

PyAMS files storage manager

Project description

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; source code is available on Gitlab and pushed to Github. Doctests are available in the doctests source folder.

What is ZFiles?

ZFiles is an extension package for PyAMS which allows to define a “files storage” environment.

This environment is very simple, and provides several APIs (for REST/JSON, XML-RPC or JSON-RPC protocols) which allows applications to store and retrieve external files of any type (maybe images, videos, PDF files…). Applications which are using the service just get a unique ID (called OID) when they upload a new document, which can be stored by the applications and used to retrieve them afterwards when needed.

ZFiles is just a storage manager for these documents; the lifecycle management is delegated to the applications which use it as storage backend.

Changelog

2.6.2

  • improved scheduler task execution using catalog indexes

2.6.1

  • allow unknown images formats to be stored as standard files

2.6.0

  • added mode to documents synchronizer to handle two-ways synchronizations

  • updated scheduler task execution log format

2.5.3

  • updated scheduler task execution result format

2.5.2

  • updated scheduler task principal ID

2.5.1

  • packaging issue

  • added conditional include on pyams_alchemy to pyams_zfiles.task

2.5.0

  • added scheduler task to check for orphaned documents

  • updated application_name search argument to allow multiple values search

  • use new PyAMS_workflow method to apply first publication date on published content

2.4.4

  • updated Gitlab-CI for Python 3.12

2.4.3

  • updated Gitlab-CI for Python 3.12

2.4.2

  • avoid document content extraction without any matching filter

2.4.1

  • added columns to display index size in indexed properties view

2.4.0

  • allow setting of document title or filename from properties or from current datetime using formatting strings

2.3.1

  • update RPC API permissions checker methods to return a boolean value instead of an ACL

  • added support for Python 3.12

2.3.0

  • added document properties extractors, which can be used to extract some of a document properties from it’s associated file content

2.2.1

  • updated doctests

2.2.0

  • added support for custom catalog indexes for selected documents properties

2.1.0

  • added optional “created_time” argument to document creation API

2.0.7

  • switched default timezone to UTC

2.0.6

  • added missing documents container label provider

2.0.5

  • corrected faulty import

2.0.4

  • updated REST API route name and configuration setting name

  • moved objects finder helper to new module

  • updated doctests

2.0.3

  • updated properties index values getter to correctly split values

2.0.2

  • version mismatch

2.0.1

  • updated modal forms title

  • small updates in documents workflow

2.0.0

  • upgraded to Pyramid 2.0

  • updated tests for unauthenticated requests

1.4.6

  • updated REST document search API schema

1.4.5

  • updated access and update modes management

1.4.4

  • updated Colander API schemas for better OpenAPI specifications

  • added enums for workflow states

1.4.3

  • updated translations

1.4.2

  • updated workflow delete view

1.4.1

  • updated generation evolve

1.4.0

  • added multiple synchronizer configurations

  • added synchronizer access to REST API

1.3.4

  • updated synchronizer call result to return enums values instead of enums, which can’t be converted to JSON

1.3.3

  • removed permission check for CORS OPTIONS request on document data

1.3.2

  • added new PyAMS_security CORS validators to REST services

1.3.1

  • updated CORS support in REST API

  • added support for Python 3.10

1.3.0

  • added support for CORS preflight OPTIONS verb used by REST services

  • updated support for search params in URL

  • updated Gitlab-CI configuration

  • small ZMI updates

1.2.1

  • added enumeration to handle synchronizer status

  • PyAMS_security interfaces refactoring

1.2.0

  • added workflow label

  • added “NOT_FOUND” status to documents synchronizer if given OID doesn’t match an existing document

  • added “NO_DATA” status to documents synchronizer if a POSError occurs when reading document data

1.1.0

  • add index on properties to make them searchable

1.0.6

  • updated document properties widget template

1.0.5

  • added option to display menu to access documents container from ZMI home page

1.0.4

  • added missing “context” argument to permission check

1.0.3

  • added title to applications vocabulary terms

1.0.2

  • updated application manager permissions

1.0.1

  • updated context of permissions checks in REST and GraphQL APIs

1.0.0

  • initial 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

pyams_zfiles-2.6.2.tar.gz (82.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyams_zfiles-2.6.2-py3-none-any.whl (108.0 kB view details)

Uploaded Python 3

File details

Details for the file pyams_zfiles-2.6.2.tar.gz.

File metadata

  • Download URL: pyams_zfiles-2.6.2.tar.gz
  • Upload date:
  • Size: 82.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.17

File hashes

Hashes for pyams_zfiles-2.6.2.tar.gz
Algorithm Hash digest
SHA256 39e7229836f3eda43c8a66576d7ac33ba6992dc8d445c816c56102f1f7ae3165
MD5 21647cf8c205efe426dd0bd99e2515e7
BLAKE2b-256 49ea5255ebfaff2b794793b81b3ff72e2151f7972a87ee13e3667870272e0fca

See more details on using hashes here.

File details

Details for the file pyams_zfiles-2.6.2-py3-none-any.whl.

File metadata

  • Download URL: pyams_zfiles-2.6.2-py3-none-any.whl
  • Upload date:
  • Size: 108.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.17

File hashes

Hashes for pyams_zfiles-2.6.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6021c35d971233f1e5cba868f16876fa46497627c2da693f2acad2471caef76e
MD5 b5c6820adbdfc648983fa55079f39c5b
BLAKE2b-256 f1461e29e9b663f83f626dc162ace55d9f622d0be05dfc18235a3e1bff27f61b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page