Metadata-Version: 2.1
Name: disk-api
Version: 0.0.0
Summary: An API... but in the filesystem
Home-page: https://github.com/utility-libraries/disk-api-py
Author: PlayerG9
License: MIT
Project-URL: Organisation Github, https://github.com/utility-libraries
Project-URL: Homepage, https://github.com/utility-libraries/disk-api-py/
Project-URL: Documentation, https://utility-libraries.github.io/disk-api-py/
Project-URL: Bug Tracker, https://github.com/utility-libraries/disk-api-py/issues
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Utilities
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE
Provides-Extra: all

# 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](https://github.com/libfuse/libfuse?tab=readme-ov-file#libfuse)

```python
from diskapi import DiskAPI

api = DiskAPI()

@api.get("/index")
def index():
    return f"Hello World"


if __name__ == '__main__':
    api.run(mount="~/api/")
```
```shell
$ cat ~/api/index
Hello World
```

## Installation

```shell
pip3 install disk-api
```
