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

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for colapy-1.0.0.1.tar.gz
Algorithm Hash digest
SHA256 7e0409aa019d9d9064edcd42268e8d06dc98d9fce17e26747a7c2c6d855391ee
MD5 4882ebb61412f9fdd2dbf12b627f6124
BLAKE2b-256 0eef232b959c98407eb2eb6e4fb17e01043af2771209640c64da8a72fab4c83e

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