amctl 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.
amctl/__init__.py ADDED
@@ -0,0 +1,17 @@
1
+ from . import templ
2
+ from .colors import ColorLog as ColorLog
3
+ from .templating import BaseTemplate as BaseTemplate
4
+ from .templating import TemplateManager as TemplateManager
5
+ from .templating import TmplField as TmplField
6
+ from .templating import field as field
7
+ from .uv_util import UvOperator as UvOperator
8
+
9
+ __all__ = [
10
+ "BaseTemplate",
11
+ "ColorLog",
12
+ "TemplateManager",
13
+ "TmplField",
14
+ "UvOperator",
15
+ "field",
16
+ "templ",
17
+ ]
amctl/__main__.py ADDED
@@ -0,0 +1,9 @@
1
+ from .cli import cli
2
+
3
+
4
+ def main() -> None:
5
+ cli()
6
+
7
+
8
+ if __name__ == "__main__":
9
+ main()
amctl/_bug.py ADDED
@@ -0,0 +1,15 @@
1
+ """What is this?"""
2
+
3
+ f = """\
4
+ Vg qbrf abg pbasbez gb svkrq sbezf. Vg oraqf. Vg sybjf. Vg nqncgf.
5
+ Yvxr jngre, vg svyyf rirel fcnpr vg arrqf, ab evtvqvgl, ab haarprffnel jrvtug, ab sbeprq obhaqnevrf.
6
+ Vg zbirf jvgu gur ybtvp bs vagryyvtrapr, abg gur yvzvgf bs fgehpgher.
7
+ Guvf vf gur fcvevg bs Nzevgn."""
8
+
9
+
10
+ def _get_bug() -> str:
11
+ d: dict[str, str] = {}
12
+ for c in (65, 97): # Just a ROT13, right?
13
+ for i in range(26):
14
+ d[chr(i + c)] = chr((i + 13) % 26 + c)
15
+ return "".join(d.get(c, c) for c in f)