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


Release history Release notifications

Download files

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

Files for pyBlang, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size pyBlang-0.1.1-py3-none-any.whl (9.1 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size pyBlang-0.1.1.tar.gz (5.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page