Xval SDK
Xval is the Official SDK tool for interacting with Xval via python.
See the GitHub repo and Xval's website
Installation
Currently Xval only supports Windows.
Install with pip via:
pip install xval
Usage
import xval
# Run a model
xval.run(
xact_path = "path/to/my_file.xact", # Required
current_working_directory = "C:/path/to/my_inputs/", # default process cwd
audit = True, # default False
hardcode = ["t_name_to_hc1", "t_name_to_hc2" ], # default None
timestamp = True, # default False
write_all_vtables = True, # default False
write_all_inputs = True, # default False
out_name = "my_alternate_out_name", # default 'my_file'
out_dir = "my_alternate_out_dir", # default process cwd
out_ft = "csv", # default 'xlsx', other option: 'term' for terminal
)
# Create an example model locally
xval.template(
name = "fda_stat_ag33", # Required
path = "path/where/you/want/template", # default is "./{name}"
)
# List available templates
print(xval.TEMPLATE_LIST)
# fda_stat_ag33
# ...more templates...
# See version
print(xval.VERSION)
Metadata
Release files for xval 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| xval-0.1.3-py3-none-win_amd64.whl | Python 3 | none | Windows x86-64 | Details |
Release files / xval-0.1.3-py3-none-win_amd64.whl
| Download URL | xval-0.1.3-py3-none-win_amd64.whl |
|---|---|
| Size | 6.4 MB |
| Tags | Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
2e3c7edc4f7457dfe65b03b919f5ef2999efcc9a9eddb19afae390390e54db94
|
|
BLAKE2b-256 checksum How to use checksums |
f09bb162415deba0bf5fabf8ded3b4d9ba20baca4a0e4ca81aff6c37fcf6b252
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.0
|