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.3.tar.gz (5.1 MB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: colapy-0.9.3.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.3.tar.gz
Algorithm Hash digest
SHA256 f73b4a1095aee9513a78a583ee3d2580919860a28c873c1c047fb7eb65c5e545
MD5 119c4dca195625d77954a8946fb533c8
BLAKE2b-256 7f1f59f72d1a7a56c1a40b579b3c59cee314ae4738bb19c7f796c931381e06fe

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