Skip to main content

file storage layer for my personal server.

Project description

lapa_file_store

about

file storage layer for my personal server.

installation

pip install lapa_file_store

configs

  1. lapa_file_store\data\config.ini
  2. square_logger\data\config.ini

env

  • python>=3.12.0

changelog

v0.0.11

  • add SQUARE_LOGGER and LAPA_DATABASE_HELPER sections in config and initialise sdks using these variables.
  • update min version of lapa_commons.
  • keep square_logger and lapa_database_structure as >= instead of ~=.

v0.0.10

  • Bug fix /delete_file endpoint because of input list as query param.

v0.0.9

  • Added /delete_file endpoint.

v0.0.8

  • update import logic from lapa_database_structure.

v0.0.7

  • bug fix in utils->Helper.py import.

v0.0.6

  • read database configuration from config using enums from lapa database structure.

v0.0.5

  • use lapa_commons to read config.

v0.0.4

  • Bug Fix in /download_file because of ignore_filters_and_get_all.

v0.0.3

  • MODULE_NAME added in the GENERAL configuration.
  • / root endpoint added.
  • Form data and description added for /upload_file endpoint for the below params.
    • file_purpose
    • system_relative_path
  • Validation added while creating the directory in /upload_file endpoint.
  • /download_file endpoint changed from POST to GET.

v0.0.2

  • change default port to 10100.
  • change default LOCAL_STORAGE_PATH to be relative and LOCAL_STORAGE_PATH.
  • move logger to configuration.py.
  • fix dependencies in setup.py.
  • minor optimisations.
  • add validation for LOCAL_STORAGE_PATH in config.ini.
  • fix logic for upload_file.
  • fix logic for download_file.

v0.0.1

  • Base version

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

lapa_file_store-0.0.11.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

lapa_file_store-0.0.11-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

Details for the file lapa_file_store-0.0.11.tar.gz.

File metadata

  • Download URL: lapa_file_store-0.0.11.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.9.19

File hashes

Hashes for lapa_file_store-0.0.11.tar.gz
Algorithm Hash digest
SHA256 50f0012b364c65b146d8bf1f8cbb373b3426ed03a67aaaa937609d51f9de77e0
MD5 3730956c1bd32d5c2b355abf89ae87cf
BLAKE2b-256 422c440a11b61aea66b72c35d46dd0c8cd103ea1f14e7115806d60a5371bfdda

See more details on using hashes here.

File details

Details for the file lapa_file_store-0.0.11-py3-none-any.whl.

File metadata

File hashes

Hashes for lapa_file_store-0.0.11-py3-none-any.whl
Algorithm Hash digest
SHA256 9eaa85ef094b1d148ddeed00dd76410d7caca9ca0c7e424c0bc068fa85a5dd94
MD5 f8548acfe4c7b77696718371f5e45349
BLAKE2b-256 1d5324368b2c6afae9cc03f354a9e101396c16716652d3c5e4bf99d13aa4f3f0

See more details on using hashes here.

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