Spaces:
Sleeping
Sleeping
Download src/__init__.py from Carbaz/python_c-extensions: direct link, hf CLI and curl.
- Browser
- Download file 538 Bytes
-
https://huggingface.co/spaces/Carbaz/python_c-extensions/resolve/cc7a9770e81a4d48690ce308ee2c83babb5dfcfd/src/__init__.py
- Command line
-
hf download hf://spaces/Carbaz/python_c-extensions@cc7a9770e81a4d48690ce308ee2c83babb5dfcfd/src/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/Carbaz/python_c-extensions/resolve/cc7a9770e81a4d48690ce308ee2c83babb5dfcfd/src/__init__.py
538 Bytes
| """Initialization module for the AI Python C Extensions Generator application.""" | |
| from logging import basicConfig, getLogger | |
| from dotenv import load_dotenv | |
| # Environment initialization. | |
| load_dotenv(override=True) | |
| # Setup the global logger. | |
| LOG_STYLE = '{' | |
| LOG_LEVEL = 'INFO' | |
| LOG_FORMAT = ('{asctime} {levelname:<8} {processName}({process}) ' | |
| '{threadName} {name} {lineno} "{message}"') | |
| basicConfig(level=LOG_LEVEL, style='{', format=LOG_FORMAT) | |
| getLogger(__name__).info('INITIALIZED AI PYTHON C EXTENSIONS GENERATOR') | |