Lines Matching +full:os +full:- +full:release
1 :mod:`platform` --- Access to underlying platform's identifying data
7 .. moduleauthor:: Marc-André Lemburg <mal@egenix.com>
12 --------------
21 --------------
39 This is available on most if not all Unix platforms and some non-Unix platforms
48 To get at the "64-bitness" of the current interpreter, it is more
84 non-empty release string, to get the macOS version rather than the darwin
140 .. function:: release()
142 Returns the system's release, e.g. ``'2.2.0'`` or ``'NT'``. An empty string is
148 Returns the system/OS name, such as ``'Linux'``, ``'Darwin'``, ``'Java'``,
152 .. function:: system_alias(system, release, version)
154 Returns ``(system, release, version)`` aliased to common marketing names used
161 Returns the system's release version, e.g. ``'#3 on degas'``. An empty string is
168 containing six attributes: :attr:`system`, :attr:`node`, :attr:`release`,
172 in the :func:`os.uname` result. Also, the attribute names are different
173 for the first two attributes; :func:`os.uname` names them
183 -------------
186 .. function:: java_ver(release='', vendor='', vminfo=('','',''), osinfo=('','',''))
190 Returns a tuple ``(release, vendor, vminfo, osinfo)`` with *vminfo* being a
197 ----------------
200 .. function:: win32_ver(release='', version='', csd='', ptype='')
203 ``(release, version, csd, ptype)`` referring to OS release, version number,
204 CSD level (service pack) and OS type (multi/single processor). Values which
210 to the OS version being free of debugging code. It could also state *'Checked'*
211 which means the OS version uses debugging code, i.e. code that checks arguments,
231 --------------
234 .. function:: mac_ver(release='', versioninfo=('','',''), machine='')
236 Get macOS version information and return it as tuple ``(release, versioninfo,
245 --------------
261 ---------------
265 Get operating system identification from ``os-release`` file and return
266 it as a dict. The ``os-release`` file is a `freedesktop.org standard
267 <https://www.freedesktop.org/software/systemd/man/os-release.html>`_ and
269 Android and Android-based distributions.
271 Raises :exc:`OSError` or subclass when neither ``/etc/os-release`` nor
272 ``/usr/lib/os-release`` can be read.