Skip to main content

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


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)

Uploaded Source

Built Distribution

disk_api-0.0.0-py3-none-any.whl (3.8 kB view hashes)

Uploaded Python 3

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