Skip to main content

Python binding for COLA framework

Project description

COLA-PY

CI

Python обертка над фреймворком COLA.

Installation

If you don't have COLA library already present on your system, set environment variable before installing to specify where to install COLA.

export COLA_INSTALL_PREFIX="~/.local" # or your path to COLA plugins dir

Then install as usual python package

pip install colapy

Usage

cola script

colapy package installs cola utility to your system.

Setup

To setup a new COLA module you can run the following command:

cola setup project --name="ModuleName" --prefix="PathToProjectDir" --version="1.0.0"

Run

It is possible to run COLA calculation without the need to write and compile driver C++ code. If you have COLA modules installed on your system you can run the calculation using filters exposed by them with the following command:

cola run \
    --config="<path_to_config>/config.xml" \ # config that can use all the filters from the included libraries
    --library="COLA-Py" # includes filters from COLA-Py module
    --library="Deexcitation" # includes filters from Deexcitation module

Develop

To install locally from source run from the repo root

pip install -e .

Publish

To publish your changes to the pypi run from the repo root

python -m build --sdist
python -m twine upload dist/*

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

colapy-0.9.2.tar.gz (5.1 MB view details)

Uploaded Source

File details

Details for the file colapy-0.9.2.tar.gz.

File metadata

  • Download URL: colapy-0.9.2.tar.gz
  • Upload date:
  • Size: 5.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.4

File hashes

Hashes for colapy-0.9.2.tar.gz
Algorithm Hash digest
SHA256 cfd333270c1441bd4062335308c7c6d11af3e2a3540818c1c34f17c631f0350f
MD5 1d84e6d12ea2815deb08b50107363eda
BLAKE2b-256 1d1daef37de3653ef42c2a16a4f7eea3ef473a437656b2150f71763ea5e1cd76

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