Download lgpython/__init__.py from tailot/codex-python: direct link, hf CLI and curl.
- Browser
- Download file 1.12 kB
-
https://huggingface.co/datasets/tailot/codex-python/resolve/339ddd8e3cef043b912d1f4ff8cb23f488a6b003/lgpython/__init__.py
- Command line
-
hf download hf://datasets/tailot/codex-python@339ddd8e3cef043b912d1f4ff8cb23f488a6b003/lgpython/__init__.py
-
curl -L -o __init__.py https://huggingface.co/datasets/tailot/codex-python/resolve/339ddd8e3cef043b912d1f4ff8cb23f488a6b003/lgpython/__init__.py
1.12 kB
| """External Python programming package built on top of the LingoLOGOS codex kernel.""" | |
| from lgpython._codex_bridge import ensure_codex_on_path, find_codex_root | |
| ensure_codex_on_path() | |
| from lgpython.adapter import ( # noqa: E402 | |
| ADAPTER_NAME, | |
| ADAPTER_VERSION, | |
| PythonLanguageAdapter, | |
| StrictPythonLanguageAdapter, | |
| ) | |
| from lgpython.ast_graph import ( # noqa: E402 | |
| discover_python_files, | |
| extract_python_graph, | |
| module_names_for_file, | |
| ) | |
| from lgpython.session import ( # noqa: E402 | |
| PythonWorkspaceSession, | |
| SessionResult, | |
| run_topology_subprocesses, | |
| ) | |
| from lgpython.test_selector import ( # noqa: E402 | |
| discover_test_files, | |
| is_test_file, | |
| select_python_tests, | |
| ) | |
| __all__ = [ | |
| "ADAPTER_NAME", | |
| "ADAPTER_VERSION", | |
| "PythonLanguageAdapter", | |
| "PythonWorkspaceSession", | |
| "SessionResult", | |
| "StrictPythonLanguageAdapter", | |
| "discover_python_files", | |
| "discover_test_files", | |
| "ensure_codex_on_path", | |
| "extract_python_graph", | |
| "find_codex_root", | |
| "is_test_file", | |
| "module_names_for_file", | |
| "run_topology_subprocesses", | |
| "select_python_tests", | |
| ] | |