asp-format 0.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
asp_format/__init__.py
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# SPDX-FileCopyrightText: 2026 Erik Groeneveld
|
|
2
|
+
# SPDX-License-Identifier: LGPL-3.0-or-later
|
|
3
|
+
#
|
|
4
|
+
# "asp-format": a formatter for Answer Set Programming (ASP) programs,
|
|
5
|
+
# packaged for install and import.
|
|
6
|
+
#
|
|
7
|
+
# Licensed under the GNU Lesser General Public License, version 3 or
|
|
8
|
+
# any later version. See LICENSES/LGPL-3.0.txt for the full license.
|
|
9
|
+
|
|
10
|
+
# A thin re-export layer: consumers get the formatter behind
|
|
11
|
+
# `asp_format.format_text` and friends instead of reaching into the one
|
|
12
|
+
# module that carries the embedded self-tests.
|
|
13
|
+
from asp_format.format import (
|
|
14
|
+
Formatter,
|
|
15
|
+
ast_skeleton,
|
|
16
|
+
format_file,
|
|
17
|
+
format_files,
|
|
18
|
+
format_text,
|
|
19
|
+
main,
|
|
20
|
+
parse,
|
|
21
|
+
protect_includes,
|
|
22
|
+
render,
|
|
23
|
+
)
|
|
24
|
+
|
|
25
|
+
__all__ = [
|
|
26
|
+
"Formatter",
|
|
27
|
+
"ast_skeleton",
|
|
28
|
+
"format_file",
|
|
29
|
+
"format_files",
|
|
30
|
+
"format_text",
|
|
31
|
+
"main",
|
|
32
|
+
"parse",
|
|
33
|
+
"protect_includes",
|
|
34
|
+
"render",
|
|
35
|
+
]
|
|
36
|
+
|
|
37
|
+
__version__ = "0.1.0"
|