Skip to main content

Lightweight file storage service

Project description

Lightweight File Storage Service (LFSS)

PyPI

A lightweight file/object storage service!

Usage:

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

By default, the data will be stored in .storage_data. You can change storage directory using the LFSS_DATA environment variable.

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

lfss-panel

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>.
You can refer to frontend as an application example, and frontend/api.js for the API usage.

By default, the service exposes all files to the public for GET requests, but file-listing is restricted to the user's own files.
Please refer to docs/Permission.md for more details on the permission system.

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.2.3.tar.gz (22.5 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.2.3-py3-none-any.whl (27.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for lfss-0.2.3.tar.gz
Algorithm Hash digest
SHA256 261c7e46950ba52c9e71a152dc0de7b3cfc01c127264f0be2ae38d72079149f4
MD5 4e4ea85816c9f36bfd3abfd848d3c683
BLAKE2b-256 f5cc9f12368ef3c60c1d2f6d04ea18db9f9ba7df844d675801ffd0d3eea282ff

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lfss-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 27.4 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.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 7eee087a281c8e2c0b5f798fc19214f73960f8d94073c419669e28c407b43bb1
MD5 59d5cf08f9ed2c222b1707c3617504e8
BLAKE2b-256 cc9bebe7bc4c316418fc2d2ae0a3ba5cd2145e6da8e70926c6a40db43a5d8550

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