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.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.9.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

lapa_file_store-0.0.9-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for lapa_file_store-0.0.9.tar.gz
Algorithm Hash digest
SHA256 643969f35a9078442d205a256163dfbb4a631b3c16285d57b865bdef806494ab
MD5 c6bb1794b0a634da3d6be160672eaeb8
BLAKE2b-256 7ec9aa2294b4bf940339d41d4a860cdf92f0f495aaf71d9fccc81a5df4c858c6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for lapa_file_store-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 513af5a82c8ae9cdafce7f7b5d69f85144ff29082dad03e7f13088dc3efa7f1a
MD5 b48c65f83ddc8829ba7c84aaf788ddbe
BLAKE2b-256 cdabb483058fc2e8fe3af4de72e255fefb96b39318a4a9c99fa055d9ae1981d2

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