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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file pyBlang-0.1.1.tar.gz.

File metadata

  • Download URL: pyBlang-0.1.1.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.19.1 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.26.0 CPython/3.6.7

File hashes

Hashes for pyBlang-0.1.1.tar.gz
Algorithm Hash digest
SHA256 f517089499cee5fd8eb8b0150ad9eb230c4f4921027c5ae89f538a5640c27979
MD5 fe133c07f2300ae658efae5dded3ffa6
BLAKE2b-256 b8a8b0bd75e17adce709f55540f1922aa1f1e0d85f479e7627d28ea130a5b80c

See more details on using hashes here.

File details

Details for the file pyBlang-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: pyBlang-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 9.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.19.1 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.26.0 CPython/3.6.7

File hashes

Hashes for pyBlang-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 856e1451e28f1432e665b9658e4b25c7bc4d299230c4f5b24e806b69d8964dd5
MD5 7c4dd51528a0aff275c73eaffccb0791
BLAKE2b-256 5f440550443769421f37761df530b0a3a0a0f720c45d2ad572d9fb25df6abb62

See more details on using hashes here.

Supported by

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