taps.run.env¶
Hardware
dataclass
¶
Packages
dataclass
¶
Packages(
dask: str,
globus_compute: str,
numpy: str,
parsl: str,
proxystore: str,
pydantic: str,
ray: str,
taps: str,
)
Python package versions.
Parameters:
-
dask
(str
) –Dask/Distributed version.
-
globus_compute
(str
) –Globus Compute version.
-
numpy
(str
) –Numpy version.
-
parsl
(str
) –Parsl version.
-
proxystore
(str
) –ProxyStore version.
-
pydantic
(str
) –Pydantic version.
-
ray
(str
) –Ray version.
-
taps
(str
) –TaPS version.
collect
classmethod
¶
Collect package version information.
Source code in taps/run/env.py
Python
dataclass
¶
Python interpreter information.
Parameters:
-
version
(str
) –Python version.
-
implementation
(str
) –Python implementation.
-
compiler
(str
) –Compiler used to compile this interpreter
-
bit_length
(str
) –Bit-length of the interpreter (e.g., 32 vs 64-bit).
collect
classmethod
¶
Collect Python interpreter information.
Source code in taps/run/env.py
System
dataclass
¶
System information.
Parameters:
Environment
dataclass
¶
Environment information.
To view the current environment:
$ python -m taps.run.env
system:
hostname: ...
os: linux (...)
cpu: x86_64 (8 cores / 16 logical)
memory: 16 GB
python:
version: 3.11.9
build: CPython (64-bit runtime) [GCC 11.4.0]
packages:
...
taps: 0.2.1
Parameters:
-
hardware
(str
) –Hardware information.
-
packages
(str
) –Python package versions.
-
python
(str
) –Python interpreter information.
-
system
(str
) –System information.
collect
classmethod
¶
Collect information on the current environment.
format
¶
format() -> str
Format environment as a human-readable string.
Source code in taps/run/env.py
json
¶
write_json
¶
Write environment to JSON file.
Parameters: