Python binding for COLA framework
Project description
COLA-PY
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file colapy-1.0.0.tar.gz.
File metadata
- Download URL: colapy-1.0.0.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b91fe60daf1e4ecfb3edd6f2d68f1b034efe1e36210bc145d7981d6f459886cc
|
|
| MD5 |
a6621283860c45536f80ad6268873f09
|
|
| BLAKE2b-256 |
c766f32d48c4e50fb5e01b8d186eb6d99892a2c5d7e760c926d206b45d6a8f0d
|