An API... but in the filesystem
Project description
disk-api
An API... but in the filesystem
[!IMPORTANT] This is only an idea at the current point in time
Basic Idea
As this is only the basic idea there is nothing you can test yet. But basically this library should offer a nice abstraction to libfuse
from diskapi import DiskAPI
api = DiskAPI()
@api.get("/index")
def index():
return f"Hello World"
if __name__ == '__main__':
api.run(mount="~/api/")
$ cat ~/api/index
Hello World
Installation
pip3 install disk-api
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
disk_api-0.0.0.tar.gz
(3.7 kB
view hashes)