kiara-plugin.service


Namekiara-plugin.service JSON
Version 0.4.7 PyPI version JSON
download
home_page
SummaryA plugin to create, run and manage a service for kiara functionality.
upload_time2023-07-21 10:29:46
maintainer
docs_urlNone
author
requires_python>=3.8
licenseMPL-2.0
keywords kiara
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            [![PyPI status](https://img.shields.io/pypi/status/kiara_plugin.service.svg)](https://pypi.python.org/pypi/kiara_plugin.service/)
[![PyPI version](https://img.shields.io/pypi/v/kiara_plugin.service.svg)](https://pypi.python.org/pypi/kiara_plugin.service/)
[![PyPI pyversions](https://img.shields.io/pypi/pyversions/kiara_plugin.service.svg)](https://pypi.python.org/pypi/kiara_plugin.service/)
[![Build Status](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Factions-badge.atrox.dev%2FDHARPA-Project%2Fkiara%2Fbadge%3Fref%3Ddevelop&style=flat)](https://actions-badge.atrox.dev/DHARPA-Project/kiara_plugin.service/goto?ref=develop)
[![Coverage Status](https://coveralls.io/repos/github/DHARPA-Project/kiara_plugin.service/badge.svg?branch=develop)](https://coveralls.io/github/DHARPA-Project/kiara_plugin.service?branch=develop)
[![Code style](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black)

# [**kiara**](https://dharpa.org/kiara.documentation) plugin: (service)

A plugin to create, run and manage a service for kiara functionality.

 - Documentation: [https://DHARPA-Project.github.io/kiara_plugin.service](https://DHARPA-Project.github.io/kiara_plugin.service)
 - Code: [https://github.com/DHARPA-Project/kiara_plugin.service](https://github.com/DHARPA-Project/kiara_plugin.service)
 - `kiara`: [https://dharpa.org/kiara.documentation](https://dharpa.org/kiara.documentation)

## Description

TODO

## Development

### Requirements

- Python (version >= 3.8)
- pip, virtualenv
- git
- make (on Linux / Mac OS X -- optional)


### Prepare development environment

If you only want to work on the modules, and not the core *Kiara* codebase, follow the instructions below. Otherwise, please
check the notes on how to setup a *Kiara* development environment under (TODO).

#### Linux & Mac OS X (using make)

For *NIX-like operating system, setting up a development environment is relatively easy:

```console
git clone https://github.com/DHARPA-Project/kiara_plugin.service.git
cd kiara_plugin.service
python3 -m venv .venv
source .venv/bin/activate
make init
```

#### Windows (or manual pip install)

It's impossible to lay out all the ways Python can be installed on a machine, and virtual- (or conda-)envs can be created, so I'll assume you know how to do this.
One simple way is to install the [Anaconda (individual edition)](https://docs.anaconda.com/anaconda/install/index.html), then use the Anaconda navigator to create a new environment, install the 'git' package in it (if your system does not already have it), and use the 'Open Terminal' option of that environment to start up a terminal that has that virtual-/conda-environment activated.

Once that is done, `cd` into a directory where you want this project folder to live, and do:

```console
# make sure your virtual env is activated!!!
git clone https://github.com/DHARPA-Project/kiara_plugin.service.git
cd kiara_plugin.service
pip install --extra-index-url https://pypi.fury.io/dharpa/ -U -e .[all_dev]
```

#### Try it out

After this is done, you should be able to run the included example module via:

```console
kiara run service_example text_1="xxx" text_2="yyy"
...
...
```

### Re-activate the development environment

The 'prepare' step from above only has to be done once. After that, to re-enable your virtual environment,
you'll need to navigate to the directory again (wherever that is, in your case), and run the ``source`` command from before again:

```console
cd path/to/kiara_plugin.service
source .venv/bin/activate  # if it isn't activated already, for example by the Anaconda navigator
kiara --help  # or whatever, point is, kiara should be available for you now,
```

### ``make`` targets (Linux & Mac OS X)

- ``init``: init development project (install project & dev dependencies into virtualenv, as well as pre-commit git hook)
- ``update-dependencies``: update development dependencies (mainly the core ``kiara`` package from git)
- ``flake``: run *flake8* tests
- ``mypy``: run mypy tests
- ``test``: run unit tests
- ``docs``: create static documentation pages (under ``build/site``)
- ``serve-docs``: serve documentation pages (incl. auto-reload) for getting direct feedback when working on documentation
- ``clean``: clean build directories

For details (and other, minor targets), check the ``Makefile``.


### Running tests

``` console
> make test
# or
> make coverage
```


## Copyright & license

This project is MPL v2.0 licensed, for the license text please check the [LICENSE](/LICENSE) file in this repository.

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "kiara-plugin.service",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "",
    "keywords": "kiara",
    "author": "",
    "author_email": "Markus Binsteiner <markus@frkl.io>",
    "download_url": "https://files.pythonhosted.org/packages/92/6e/4dd4424df59902d959da2ae1d63285fe675c952a7acb975bd68dc5b2b720/kiara_plugin.service-0.4.7.tar.gz",
    "platform": null,
    "description": "[![PyPI status](https://img.shields.io/pypi/status/kiara_plugin.service.svg)](https://pypi.python.org/pypi/kiara_plugin.service/)\n[![PyPI version](https://img.shields.io/pypi/v/kiara_plugin.service.svg)](https://pypi.python.org/pypi/kiara_plugin.service/)\n[![PyPI pyversions](https://img.shields.io/pypi/pyversions/kiara_plugin.service.svg)](https://pypi.python.org/pypi/kiara_plugin.service/)\n[![Build Status](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Factions-badge.atrox.dev%2FDHARPA-Project%2Fkiara%2Fbadge%3Fref%3Ddevelop&style=flat)](https://actions-badge.atrox.dev/DHARPA-Project/kiara_plugin.service/goto?ref=develop)\n[![Coverage Status](https://coveralls.io/repos/github/DHARPA-Project/kiara_plugin.service/badge.svg?branch=develop)](https://coveralls.io/github/DHARPA-Project/kiara_plugin.service?branch=develop)\n[![Code style](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black)\n\n# [**kiara**](https://dharpa.org/kiara.documentation) plugin: (service)\n\nA plugin to create, run and manage a service for kiara functionality.\n\n - Documentation: [https://DHARPA-Project.github.io/kiara_plugin.service](https://DHARPA-Project.github.io/kiara_plugin.service)\n - Code: [https://github.com/DHARPA-Project/kiara_plugin.service](https://github.com/DHARPA-Project/kiara_plugin.service)\n - `kiara`: [https://dharpa.org/kiara.documentation](https://dharpa.org/kiara.documentation)\n\n## Description\n\nTODO\n\n## Development\n\n### Requirements\n\n- Python (version >= 3.8)\n- pip, virtualenv\n- git\n- make (on Linux / Mac OS X -- optional)\n\n\n### Prepare development environment\n\nIf you only want to work on the modules, and not the core *Kiara* codebase, follow the instructions below. Otherwise, please\ncheck the notes on how to setup a *Kiara* development environment under (TODO).\n\n#### Linux & Mac OS X (using make)\n\nFor *NIX-like operating system, setting up a development environment is relatively easy:\n\n```console\ngit clone https://github.com/DHARPA-Project/kiara_plugin.service.git\ncd kiara_plugin.service\npython3 -m venv .venv\nsource .venv/bin/activate\nmake init\n```\n\n#### Windows (or manual pip install)\n\nIt's impossible to lay out all the ways Python can be installed on a machine, and virtual- (or conda-)envs can be created, so I'll assume you know how to do this.\nOne simple way is to install the [Anaconda (individual edition)](https://docs.anaconda.com/anaconda/install/index.html), then use the Anaconda navigator to create a new environment, install the 'git' package in it (if your system does not already have it), and use the 'Open Terminal' option of that environment to start up a terminal that has that virtual-/conda-environment activated.\n\nOnce that is done, `cd` into a directory where you want this project folder to live, and do:\n\n```console\n# make sure your virtual env is activated!!!\ngit clone https://github.com/DHARPA-Project/kiara_plugin.service.git\ncd kiara_plugin.service\npip install --extra-index-url https://pypi.fury.io/dharpa/ -U -e .[all_dev]\n```\n\n#### Try it out\n\nAfter this is done, you should be able to run the included example module via:\n\n```console\nkiara run service_example text_1=\"xxx\" text_2=\"yyy\"\n...\n...\n```\n\n### Re-activate the development environment\n\nThe 'prepare' step from above only has to be done once. After that, to re-enable your virtual environment,\nyou'll need to navigate to the directory again (wherever that is, in your case), and run the ``source`` command from before again:\n\n```console\ncd path/to/kiara_plugin.service\nsource .venv/bin/activate  # if it isn't activated already, for example by the Anaconda navigator\nkiara --help  # or whatever, point is, kiara should be available for you now,\n```\n\n### ``make`` targets (Linux & Mac OS X)\n\n- ``init``: init development project (install project & dev dependencies into virtualenv, as well as pre-commit git hook)\n- ``update-dependencies``: update development dependencies (mainly the core ``kiara`` package from git)\n- ``flake``: run *flake8* tests\n- ``mypy``: run mypy tests\n- ``test``: run unit tests\n- ``docs``: create static documentation pages (under ``build/site``)\n- ``serve-docs``: serve documentation pages (incl. auto-reload) for getting direct feedback when working on documentation\n- ``clean``: clean build directories\n\nFor details (and other, minor targets), check the ``Makefile``.\n\n\n### Running tests\n\n``` console\n> make test\n# or\n> make coverage\n```\n\n\n## Copyright & license\n\nThis project is MPL v2.0 licensed, for the license text please check the [LICENSE](/LICENSE) file in this repository.\n",
    "bugtrack_url": null,
    "license": "MPL-2.0",
    "summary": "A plugin to create, run and manage a service for kiara functionality.",
    "version": "0.4.7",
    "project_urls": {
        "documentation": "https://DHARPA-Project.github.io/kiara_plugin.service",
        "homepage": "https://github.com/DHARPA-Project/kiara_plugin.service",
        "repository": "https://github.com/DHARPA-Project/kiara_plugin.service"
    },
    "split_keywords": [
        "kiara"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a5e84d17b25cf6faf99c63c0def73b02c52c9f19b3c7c107714fda0153924562",
                "md5": "36207a6f997eb56a7e487c9a57065ce3",
                "sha256": "4d8824eaedc7b3542f7e57463365ab8a6b75d74d378af17b8e9f81ef4ce236cd"
            },
            "downloads": -1,
            "filename": "kiara_plugin.service-0.4.7-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "36207a6f997eb56a7e487c9a57065ce3",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 49171,
            "upload_time": "2023-07-21T10:29:44",
            "upload_time_iso_8601": "2023-07-21T10:29:44.828620Z",
            "url": "https://files.pythonhosted.org/packages/a5/e8/4d17b25cf6faf99c63c0def73b02c52c9f19b3c7c107714fda0153924562/kiara_plugin.service-0.4.7-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "926e4dd4424df59902d959da2ae1d63285fe675c952a7acb975bd68dc5b2b720",
                "md5": "c53b7cb13bafaf43b2a597436af34c0e",
                "sha256": "5e11b58c6d23892c2621843ff46493c7844bdd4b6a5fe641d921a6fdb12b7106"
            },
            "downloads": -1,
            "filename": "kiara_plugin.service-0.4.7.tar.gz",
            "has_sig": false,
            "md5_digest": "c53b7cb13bafaf43b2a597436af34c0e",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 83978,
            "upload_time": "2023-07-21T10:29:46",
            "upload_time_iso_8601": "2023-07-21T10:29:46.951330Z",
            "url": "https://files.pythonhosted.org/packages/92/6e/4dd4424df59902d959da2ae1d63285fe675c952a7acb975bd68dc5b2b720/kiara_plugin.service-0.4.7.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-07-21 10:29:46",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "DHARPA-Project",
    "github_project": "kiara_plugin.service",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "kiara-plugin.service"
}
        
Elapsed time: 0.10008s