File: Broken/__init__.py
¶
Broken ¶
Runtime ¶
Information about the current runtime environment
Source code in Broken/__init__.py
63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 |
|
Version ¶
1 |
|
The version of the Broken library, and subsequently all projects
Bitness ¶
1 |
|
The word size of the Python interpreter (32, 64 bits)
PyInstaller ¶
1 |
|
True if running from a PyInstaller binary build (https://github.com/pyinstaller/pyinstaller)
Nuitka ¶
1 |
|
True if running from a Nuitka binary build (https://github.com/Nuitka/Nuitka)
PyApp ¶
1 |
|
True if running as a PyApp release (https://github.com/ofek/pyapp)
PyPI ¶
1 2 3 4 |
|
True if running as a installed package from PyPI (https://brokensrc.dev/get/pypi/)
Binary ¶
1 |
|
True if running from any executable build (PyInstaller, Nuitka, PyApp)
Release ¶
True if running from any static final release build (PyInstaller, Nuitka, PyApp, PyPI)
Source ¶
1 |
|
True if running directly from the source code (https://brokensrc.dev/get/source/)
Method ¶
The runtime environment of the current project release (Source, Release, PyPI)
GitHub ¶
1 |
|
True if running in a GitHub Actions CI environment (https://docs.github.com/en/actions/writing-workflows/quickstart)
WSL ¶
1 |
|
True if running in Windows Subsystem for Linux (https://learn.microsoft.com/en-us/windows/wsl/about)
Interactive ¶
1 |
|
True if running in an interactive terminal session (user can input)
Native ¶
Source code in Broken/__init__.py
120 121 122 123 124 125 126 127 128 129 |
|
uv ¶
1 |
|
Entry point for the uv package manager (https://github.com/astral-sh/uv)
BROKEN ¶
1 2 3 4 5 6 |
|
The main library's BrokenProject instance. Useful for common downloads and resources