Skip to main content

A python package to run Blang CLI commands and streamline usage through python.

Project description

pyBlang

Introduction

This package is an interface to Blang, (link)

Installation

Quick Guide

The package works by calling the Blang command line interface (CLI), for the time being, the blangSDK should be installed separately with the CLI setup properly via the instructions found here:

That's the only requirement for the package to function.

Installation

Setting up a model

import pyBlang as pb

model = pb.Model(name = modelName, project_path = projPath, post_process = 'NoPostProcessor')

The code above instantiates a model object, and the arguments listed are the only required arguments.

  • name: name of the model within the .bl file.
  • project_path: the path to the Blang project directory.
  • post_process: NoPostProcessor by default, but can be set to DefaultPostProcessor.

Running the model

Once a Model object has been set up,

Project details


Download files

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

Source Distribution

pyBlang-0.1.1.tar.gz (5.5 kB view hashes)

Uploaded Source

Built Distribution

pyBlang-0.1.1-py3-none-any.whl (9.1 kB view hashes)

Uploaded Python 3

Supported by

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