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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: lapa_file_store-0.0.12.tar.gz
  • Upload date:
  • Size: 6.6 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.12.tar.gz
Algorithm Hash digest
SHA256 a5ef7ef98a2ddfc477a3a93bd90bbcd08390e4f7d6914bbee02760a92de7ce95
MD5 e5f7714f4edc79b4cce646b1a86cae20
BLAKE2b-256 2a7544ec703dad64bd74c181206a04cb3333bf3bb425eb2e2e621bee71baa4ff

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for lapa_file_store-0.0.12-py3-none-any.whl
Algorithm Hash digest
SHA256 761d56a2937ba5162df3b6654d150962fd095f19e37d62b42adce666c480ff01
MD5 aa7f135df2a29c54b625e971a8dde1cd
BLAKE2b-256 0b110de5c9673379eaaa96a5d053fa883f135b079a95153b2e4ae8c89c7ef338

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