cznic/public/: fred-fileman-0.3.0 metadata and description

Simple index Newer version available

Fred-fileman is a service for file management.

author Vlastimil Zíma
author_email vlastimil.zima@nic.cz
classifiers
  • Development Status :: 2 - Pre-Alpha
  • Environment :: No Input/Output (Daemon)
  • Intended Audience :: Information Technology
  • License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
  • Operating System :: OS Independent
  • Programming Language :: Python
  • Programming Language :: Python :: 3.8
  • Programming Language :: Python :: 3.9
  • Programming Language :: Python :: 3.10
  • Programming Language :: Python :: 3.11
  • Programming Language :: Python :: 3.12
  • Topic :: Internet
  • Topic :: Office/Business
  • Topic :: Utilities
  • Typing :: Typed
license GPLv3+
provides_extras types
requires_dist
  • docopt
  • pydantic ~=1.7
  • pytz
  • PyYAML
  • SQLAlchemy ~=1.4
  • SQLAlchemy-Utc
  • SQLAlchemy-Utils
  • fred-api-fileman ~=1.2.0
  • frgal ~=3.6
  • bandit ; extra == 'quality'
  • doc8 ; extra == 'quality'
  • flake8 ; extra == 'quality'
  • isort ; extra == 'quality'
  • mypy ; extra == 'quality'
  • pydocstyle ; extra == 'quality'
  • sentry-sdk ; extra == 'sentry'
  • freezegun ; extra == 'test'
  • testfixtures ; extra == 'test'
  • types-freezegun ; extra == 'types'
  • types-protobuf ; extra == 'types'
  • types-pytz ; extra == 'types'
  • types-PyYAML ; extra == 'types'
requires_python ~=3.8

Because this project isn't in the mirror_whitelist, no releases from root/pypi are included.

File Tox results History
fred-fileman-0.3.0.tar.gz
Size
16 KB
Type
Source
fred_fileman-0.3.0-py3-none-any.whl
Size
18 KB
Type
Python Wheel
Python
3

Fred-fileman is a service for file management.

Learn more about the project and our community on the FRED’s home page

Configuration

Fileman searches for configuration files in following order:

  1. Configuration file set by FILEMAN_CONFIG environment variable.

  2. Configuration file set by --config option of a command.

  3. ~/.fred/fileman.conf

  4. /etc/fred/fileman.conf

The configuration file is in YAML format with following options:

db_connection

A connection string to database. See https://docs.sqlalchemy.org/core/engines.html#database-urls for possible values. Default is sqlite:///:memory:.

db_echo

Whether to log SQL statements. Default is False.

db_poolclass

Dotted path to a pool class. See https://docs.sqlalchemy.org/core/pooling.html for details. Default is None, i.e. use SQLAlchemy default pool class.

grpc_port

Port to which the fileman gRPC service will bind and listen. Default is 50051.

logging

Logging configuration, see https://docs.python.org/3.8/library/logging.config.html for possible values. Default is None, i.e. use logging defaults.

max_workers

Maximum number of workers for gRPC server, see https://docs.python.org/3/library/concurrent.futures.html#concurrent.futures.ThreadPoolExecutor. Default is None, i.e. use Python library default. Implemented to avoid problems with too many workers on many-core machines under Python < 3.8.

sentry

Sentry settings in a nested structure. May contain following keys:

storage_root

Path to the root of the file system storage. Default is /var/lib/fileman.

ChangeLog

Unreleased

0.3.0 (2023-11-08)

  • Drop support for python 3.7.

  • Add Support for python 3.11 and 3.12.

  • Switch to fileman API 1.2 (#13).

  • Drop support for SQLAlchemy 1.3 (#6).

  • Use SQLAlchemy 2.0 API (#4).

  • Resolve SQLAlchemy 2.0 warnings (#5).

  • Replace EasySettings with pydantic (#7).

  • Support numeric ID as file UID (#10).

  • Check mime type in create (#9).

  • Fix annotations.

  • Update project setup.

0.2.0 (2022-02-23)

  • Support SQLAlchemy 1.4.

  • Add support for python 3.9 and 3.10.

  • Drop support for python 3.5 and 3.6.

  • Add create method to service.

  • Refactor Sentry settings.

  • Use service utilities from frgal.

  • Improve coverage.

  • Add man pages.

  • Update static checks, especially mypy, and project setup.

0.1.0 (2020-06-16)

Initial version.

  • Add read-only access to files.