Metadata-Version: 2.4
Name: acedatacloud-scaffold
Version: 2026.10.2.0
Summary: A scaffold to help you build Ace Data Cloud api easily.
Home-page: https://github.com/AceDataCloud/ScaffoldPython
Author: Ace Data Cloud
Author-email: dev@acedata.cloud
License: MIT
Classifier: License :: OSI Approved :: MIT License
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 :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Requires-Python: >=3.7.0
Description-Content-Type: text/markdown
Requires-Dist: django<5.0.0,>=3.0.0
Requires-Dist: djangorestframework>=3.11.0
Requires-Dist: environs
Requires-Dist: loguru
Requires-Dist: tornado
Requires-Dist: httpx
Requires-Dist: requests
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: license
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary


# Ace Data Cloud Scaffold

Install:

```
pip install acedatacloud-scaffold
```

Sample:

```python
from acedatacloud_scaffold import BaseController as Controller
from acedatacloud_scaffold import BaseHandler
import json


class Handler(BaseHandler):

    async def get(self, id=None):
        result = {
            'value': id
        }
        self.write(json.dumps(result))


controller = Controller()
controller.add_handler(r'/test/(.*)', Handler)

controller.start()
```

Forwarding logs retain the handler's trace context, request method, response
status, and aggregate response byte/chunk counts. Request URLs, parameters,
headers, bodies, response headers, and individual response chunks are not logged.
Forwarded data and headers are unchanged. The response summary is emitted only
after the stream completes; interrupted streams still propagate their error.
