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.13

  • https support

v0.0.12

  • Added test cases. Updated

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

Uploaded Source

Built Distribution

lapa_file_store-0.0.13-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for lapa_file_store-0.0.13.tar.gz
Algorithm Hash digest
SHA256 e75e4c9b99809703d74defeba89cd140dfd2ddffce0a0f13da526a24fbdbddb5
MD5 877ea1929f4fee53e596aa9939163a01
BLAKE2b-256 8be592eae1165e5d372bab8965399ba74471777ecb4fcbf3b1cd97f7c261f316

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for lapa_file_store-0.0.13-py3-none-any.whl
Algorithm Hash digest
SHA256 f4c41c7f527bb82409c71f1fad8372f6971e37efa8a5ce1c12231d873351b197
MD5 48622be227fd8d157230304b63c2ede0
BLAKE2b-256 8a9bdd79b6857b15597b8ab46e265735412027136f7325ca8ce9a117df3dd78e

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