Download lingologos_python/__init__.py from tailot/codex-python: direct link, hf CLI and curl.
- Browser
- Download file 1.79 kB
-
https://huggingface.co/datasets/tailot/codex-python/resolve/main/lingologos_python/__init__.py
- Command line
-
hf download hf://datasets/tailot/codex-python/lingologos_python/__init__.py
-
curl -L -o __init__.py https://huggingface.co/datasets/tailot/codex-python/resolve/main/lingologos_python/__init__.py
1.79 kB
| """External Python programming package built on top of the LingoLOGOS codex kernel.""" | |
| from lingologos_python._codex_bridge import ensure_codex_on_path, find_codex_root | |
| ensure_codex_on_path() | |
| from lingologos_python.adapter import ( # noqa: E402 | |
| ADAPTER_NAME, | |
| ADAPTER_VERSION, | |
| PythonLanguageAdapter, | |
| StrictPythonLanguageAdapter, | |
| ) | |
| from lingologos_python.ast_graph import ( # noqa: E402 | |
| discover_python_files, | |
| extract_python_graph, | |
| module_names_for_file, | |
| ) | |
| from lingologos_python.patterns import ( # noqa: E402 | |
| FAMILIES, | |
| PATTERNS, | |
| PATTERN_IDS, | |
| PatternPlan, | |
| PatternSpec, | |
| pattern_card, | |
| plan_pattern, | |
| render_card, | |
| scan_pattern, | |
| ) | |
| from lingologos_python.rules import ( # noqa: E402 | |
| RULES, | |
| RULE_IDS, | |
| Edit, | |
| RuleHit, | |
| RuleMiss, | |
| Target, | |
| open_target, | |
| ) | |
| from lingologos_python.session import ( # noqa: E402 | |
| PythonWorkspaceSession, | |
| SessionResult, | |
| run_topology_subprocesses, | |
| ) | |
| from lingologos_python.test_selector import ( # noqa: E402 | |
| discover_test_files, | |
| is_test_file, | |
| select_python_tests, | |
| ) | |
| __all__ = [ | |
| "ADAPTER_NAME", | |
| "ADAPTER_VERSION", | |
| "Edit", | |
| "FAMILIES", | |
| "PATTERNS", | |
| "PATTERN_IDS", | |
| "PythonLanguageAdapter", | |
| "PythonWorkspaceSession", | |
| "RULES", | |
| "RULE_IDS", | |
| "PatternPlan", | |
| "PatternSpec", | |
| "RuleHit", | |
| "RuleMiss", | |
| "SessionResult", | |
| "StrictPythonLanguageAdapter", | |
| "Target", | |
| "discover_python_files", | |
| "discover_test_files", | |
| "ensure_codex_on_path", | |
| "extract_python_graph", | |
| "find_codex_root", | |
| "is_test_file", | |
| "module_names_for_file", | |
| "open_target", | |
| "pattern_card", | |
| "plan_pattern", | |
| "render_card", | |
| "run_topology_subprocesses", | |
| "scan_pattern", | |
| "select_python_tests", | |
| ] | |