Download omnilmm/lib/python3.10/site-packages/lxml/__init__.py from ZTWHHH/envs_2: direct link, hf CLI and curl.
- Browser
- Download file 574 Bytes
-
https://huggingface.co/datasets/ZTWHHH/envs_2/resolve/main/omnilmm/lib/python3.10/site-packages/lxml/__init__.py
- Command line
-
hf download hf://datasets/ZTWHHH/envs_2/omnilmm/lib/python3.10/site-packages/lxml/__init__.py
-
curl -L -o __init__.py https://huggingface.co/datasets/ZTWHHH/envs_2/resolve/main/omnilmm/lib/python3.10/site-packages/lxml/__init__.py
574 Bytes
| # this is a package | |
| __version__ = "5.3.0" | |
| def get_include(): | |
| """ | |
| Returns a list of header include paths (for lxml itself, libxml2 | |
| and libxslt) needed to compile C code against lxml if it was built | |
| with statically linked libraries. | |
| """ | |
| import os | |
| lxml_path = __path__[0] | |
| include_path = os.path.join(lxml_path, 'includes') | |
| includes = [include_path, lxml_path] | |
| for name in os.listdir(include_path): | |
| path = os.path.join(include_path, name) | |
| if os.path.isdir(path): | |
| includes.append(path) | |
| return includes | |