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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file disk_api-0.0.0.tar.gz.

File metadata

  • Download URL: disk_api-0.0.0.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.10.12

File hashes

Hashes for disk_api-0.0.0.tar.gz
Algorithm Hash digest
SHA256 8bda3fd41864b1bfb614dd34622e3ff7821ec68fd8f6708a1894d7e2fbf45c3f
MD5 b5b1515e2634cd20fc64c80960a926ec
BLAKE2b-256 f85bae59146aee0b63a9b4d32f1b3f3de0d27fe98932665ac28d5b4078e01b20

See more details on using hashes here.

File details

Details for the file disk_api-0.0.0-py3-none-any.whl.

File metadata

  • Download URL: disk_api-0.0.0-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.10.12

File hashes

Hashes for disk_api-0.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 497e5ba9a0cff5ff9464c1d1ff93a17a85a6a2965a9d3c5838cbbac771000b6f
MD5 95b658d9285372acf0c5e8d4902d91b2
BLAKE2b-256 700a5772035acc62206a078bb6a4f129c211f2411ca6412f4b77de9e66877607

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