ambot_inlinectl 0.1.0__tar.gz

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.
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 AmritaConstant
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,16 @@
1
+ Metadata-Version: 2.4
2
+ Name: ambot_inlinectl
3
+ Version: 0.1.0
4
+ Summary: Inline management for AmritaBot
5
+ Project-URL: Homepage, https://github.com/AmritaBot/
6
+ Project-URL: Source, https://github.com/AmritaBot/
7
+ Project-URL: Issue Tracker, https://github.com/AmritaBot/
8
+ Requires-Python: >=3.10
9
+ Description-Content-Type: text/markdown
10
+ License-File: LICENSE
11
+ Requires-Dist: amrita>=1.3.0
12
+ Requires-Dist: click>=8.4.1
13
+ Dynamic: license-file
14
+
15
+ # project-template-no-docs
16
+ Project Template for UV python project without vitepress doc.
@@ -0,0 +1,2 @@
1
+ # project-template-no-docs
2
+ Project Template for UV python project without vitepress doc.
@@ -0,0 +1,84 @@
1
+ [project]
2
+ name = "ambot_inlinectl"
3
+ version = "0.1.0"
4
+ description = "Inline management for AmritaBot"
5
+ readme = "README.md"
6
+ requires-python = ">=3.10"
7
+ dependencies = [
8
+ "amrita>=1.3.0",
9
+ "click>=8.4.1",
10
+ ]
11
+
12
+ [project.urls]
13
+ "Homepage" = "https://github.com/AmritaBot/"
14
+ "Source" = "https://github.com/AmritaBot/"
15
+ "Issue Tracker" = "https://github.com/AmritaBot/"
16
+
17
+ [tool.uv]
18
+ package=true
19
+
20
+ [dependency-groups]
21
+ dev = [
22
+ "ruff>=0.12.8",
23
+ #"pytest>=9.1.1",
24
+ "py-spy>=0.4.1",
25
+ "pyright>=1.1.407",
26
+ #"pytest-asyncio>=1.3.0",
27
+ #"pytest-cov>=7.0.0",
28
+
29
+ ]
30
+
31
+ [project.scripts]
32
+ ambot = "ambot_inlinectl:__main__.main"
33
+
34
+
35
+ [tool.ruff]
36
+ line-length = 88
37
+ target-version = "py310"
38
+ [tool.ruff.lint]
39
+ select = [
40
+ "F", # Pyflakes
41
+ "W", # pycodestyle warnings
42
+ "E", # pycodestyle errors
43
+ "UP", # pyupgrade
44
+ "ASYNC", # flake8-async
45
+ "C4", # flake8-comprehensions
46
+ "T10", # flake8-debugger
47
+ "PYI", # flake8-pyi
48
+ "PT", # flake8-pytest-style
49
+ "Q", # flake8-quotes
50
+ "RUF", # Ruff-specific rules
51
+ "I", # isort
52
+ "PERF", # pylint-performance
53
+ ]
54
+ ignore = [
55
+ "E501", # line-too-long
56
+ "UP037", # quoted-annotation
57
+ "RUF001", # ambiguous-unicode-character-string
58
+ "RUF002", # ambiguous-unicode-character-docstring
59
+ "RUF003", # ambiguous-unicode-character-comment
60
+ ]
61
+ [tool.ruff.lint.per-file-ignores]
62
+ "demo/*.py" = ["ASYNC250"]
63
+ "tests/*.py" = ["ASYNC250", "PERF401"]
64
+
65
+ [tool.pyright]
66
+ typeCheckingMode = "standard"
67
+
68
+ [tool.amrita]
69
+ plugins = [
70
+ "amrita.plugins.chat",
71
+ "amrita.plugins.manager",
72
+ "amrita.plugins.webui",
73
+ ]
74
+
75
+ [tool.nonebot]
76
+ plugins = ["nonebot_plugin_orm"]
77
+
78
+ [tool.amctl.scripts]
79
+ orm = "uv run ambot orm"
80
+
81
+ [tool.amctl.project]
82
+ project-type = "amctl_template"
83
+ version = "0.1.1"
84
+ created_at = "2026-06-21T08:12:45.279885+00:00"
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,5 @@
1
+ from .__main__ import main
2
+
3
+ __all__ = [
4
+ "main",
5
+ ]
@@ -0,0 +1,24 @@
1
+ import click
2
+ from amrita import prepare_nb_cli, prepare_orm
3
+
4
+
5
+ @click.group()
6
+ def main():
7
+ """Ambot Inline Control"""
8
+ pass
9
+
10
+
11
+ @main.command("nb", context_settings={"ignore_unknown_options": True})
12
+ @click.argument("args", nargs=-1, type=click.UNPROCESSED)
13
+ def call_nb_cli(args):
14
+ prepare_nb_cli()(list(args))
15
+
16
+
17
+ @main.command("orm", context_settings={"ignore_unknown_options": True})
18
+ @click.argument("args", nargs=-1, type=click.UNPROCESSED)
19
+ def call_orm_cli(args):
20
+ prepare_orm()(list(args), standalone_mode=False)
21
+
22
+
23
+ if __name__ == "__main__":
24
+ main()
@@ -0,0 +1,16 @@
1
+ Metadata-Version: 2.4
2
+ Name: ambot_inlinectl
3
+ Version: 0.1.0
4
+ Summary: Inline management for AmritaBot
5
+ Project-URL: Homepage, https://github.com/AmritaBot/
6
+ Project-URL: Source, https://github.com/AmritaBot/
7
+ Project-URL: Issue Tracker, https://github.com/AmritaBot/
8
+ Requires-Python: >=3.10
9
+ Description-Content-Type: text/markdown
10
+ License-File: LICENSE
11
+ Requires-Dist: amrita>=1.3.0
12
+ Requires-Dist: click>=8.4.1
13
+ Dynamic: license-file
14
+
15
+ # project-template-no-docs
16
+ Project Template for UV python project without vitepress doc.
@@ -0,0 +1,11 @@
1
+ LICENSE
2
+ README.md
3
+ pyproject.toml
4
+ src/ambot_inlinectl/__init__.py
5
+ src/ambot_inlinectl/__main__.py
6
+ src/ambot_inlinectl.egg-info/PKG-INFO
7
+ src/ambot_inlinectl.egg-info/SOURCES.txt
8
+ src/ambot_inlinectl.egg-info/dependency_links.txt
9
+ src/ambot_inlinectl.egg-info/entry_points.txt
10
+ src/ambot_inlinectl.egg-info/requires.txt
11
+ src/ambot_inlinectl.egg-info/top_level.txt
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ ambot = ambot_inlinectl:__main__.main
@@ -0,0 +1,2 @@
1
+ amrita>=1.3.0
2
+ click>=8.4.1
@@ -0,0 +1 @@
1
+ ambot_inlinectl