Buckets:

download
raw
279 Bytes
from pathlib import Path
def is_running_from_source() -> bool:
"""
Check if the application is running from source code.
Returns:
bool: True if running from source, False if running from installed package
"""
return Path("pyproject.toml").exists()

Xet Storage Details

Size:
279 Bytes
·
Xet hash:
4acc7b6f7656a1cbf9812471cd5061d76b8cee51b176a7f3e0a6ca882952d6db

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.