dlg-casacore-components-0.3.1
توضیحات
casacore components for daliuge-engine created by ICRAR
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | dlg-casacore-components-0.3.1 |
| نام | dlg-casacore-components |
| نسخه کتابخانه | 0.3.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | ICRAR DIA Group |
| ایمیل نویسنده | dfms_prototype@googlegroups.com |
| آدرس صفحه اصلی | https://github.com/ICRAR/dlg-casacore-components |
| آدرس اینترنتی | https://pypi.org/project/dlg-casacore-components/ |
| مجوز | GNU General Public License v2 or later (GPLv2+) |
# dlg-casacore-components
[](https://codecov.io/gh/ICRAR/dlg-casacore-components)
[](https://github.com/ICRAR/dlg-casacore-components/actions/workflows/main.yml)
[](https://github.com/psf/black)
Awesome dlg_casacore_components created by ICRAR
## Installation
There are multiple options for the installation, depending on how you are intending to run the DALiuGE engine, directly in a virtual environment (host) or inside a docker container. You can also install it either from PyPI (latest released version).
## Install it from PyPI
### Engine in virtual environment
```bash
pip install dlg_casacore_components
```
### Engine in Docker container
```bash
docker exec -t daliuge-engine bash -c 'pip install --prefix=$DLG_ROOT/code dlg_casacore_components'
```
## Usage
For example the MyComponent component will be available to the engine when you specify
```python
from dlg_casacore_components import MSReadApp
MSReadApp('a', 'a')
```
in the AppClass field of a Python Branch component. The EAGLE palette associated with these components are also generated and can be loaded directly into EAGLE. In that case all the fields are correctly populated for the respective components.
## Linting and Testing
Testing and linting is performed per branch push. Additionally this can be performed locally with docker using the following command:
```bash
docker build -t dlg-casacore-components . -f debian.Containerfile && docker run -it --rm --shm-size 1G dlg-casacore-components
```
نیازمندی
| مقدار | نام |
|---|---|
| >=2.1 | daliuge-engine |
| >=1.20.0 | numpy |
| >=3.0.0 | pyarrow |
| >=3.4.0 | python-casacore |
| >=2.0.2 | ska-sdp-realtime-receive-modules[plasma] |
| >=2.0.2 | ska-sdp-realtime-receive-core[plasma] |
| - | pytest |
| - | coverage |
| - | flake8 |
| - | black |
| - | isort |
| - | pytest-cov |
| - | codecov |
| - | mypy |
| - | gitchangelog |
| - | mkdocs |
نحوه نصب
نصب پکیج whl dlg-casacore-components-0.3.1:
pip install dlg-casacore-components-0.3.1.whl
نصب پکیج tar.gz dlg-casacore-components-0.3.1:
pip install dlg-casacore-components-0.3.1.tar.gz