Skip to main content

Xval's Python SDK

Project description

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)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

xval-0.1.3-py3-none-win_amd64.whl (6.4 MB view details)

Uploaded Python 3Windows x86-64

File details

Details for the file xval-0.1.3-py3-none-win_amd64.whl.

File metadata

  • Download URL: xval-0.1.3-py3-none-win_amd64.whl
  • Upload date:
  • Size: 6.4 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.0

File hashes

Hashes for xval-0.1.3-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 2e3c7edc4f7457dfe65b03b919f5ef2999efcc9a9eddb19afae390390e54db94
MD5 2a2c49a2abc1aa4f57ce3ae8f1a1e834
BLAKE2b-256 f09bb162415deba0bf5fabf8ded3b4d9ba20baca4a0e4ca81aff6c37fcf6b252

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page