Skip to main content

Lightweight file storage service

Project description

Lightweight File Storage Service (LFSS)

A lightweight file/object storage service!

Usage:

pip install .
lfss-user add <username> <password>
lfss-serve

By default, the data will be stored in the .storage_data directory, in a sqlite database.
The data storage can be set via environment variable LFSS_DATA.

I provide a simple client to interact with the service.
Just start a web server at /frontend and open index.html in your browser.

Currently, there is no file access-control, anyone can access any file with GET request.
However, the path-listing is only available to the authenticated user (to their own files, under <username>/).

The API usage is simple, just GET, PUT, DELETE to the /<username>/file/url path.
Authentication is done via Authorization header, with the value Bearer <token>.
Please refer to frontend as an application example, and frontend/api.js for the API usage.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lfss-0.1.0.tar.gz (11.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lfss-0.1.0-py3-none-any.whl (12.8 kB view details)

Uploaded Python 3

File details

Details for the file lfss-0.1.0.tar.gz.

File metadata

  • Download URL: lfss-0.1.0.tar.gz
  • Upload date:
  • Size: 11.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.10.5

File hashes

Hashes for lfss-0.1.0.tar.gz
Algorithm Hash digest
SHA256 0e7b5ee87810a413a383a014a6d3fa1a209289e08e45afecc71c0bffc4aeda4c
MD5 f7eae952ddae239d162694ea34b95c18
BLAKE2b-256 6ec12b4b0a9c6bd9dab6950da246a92b1a141d305503f03028b931859f39afb6

See more details on using hashes here.

File details

Details for the file lfss-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: lfss-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 12.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.10.5

File hashes

Hashes for lfss-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 86f49e484eb9f3b4b5c084faf4031adf269343ad85c5499e2c4da98178b45275
MD5 357a164db113bfa0cd37e5f0533440c4
BLAKE2b-256 42b4ab99e6b0872115cb672df099c27f645c0248f4e2d9c71582be660b19942a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page