nerdd-link


Namenerdd-link JSON
Version 0.5.14 PyPI version JSON
download
home_pageNone
SummaryRun a NERDD module as a service
upload_time2025-10-23 02:21:19
maintainerNone
docs_urlNone
authorNone
requires_pythonNone
licenseNone
keywords science research development nerdd
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # NERDD-Link

Run a [NERDD module](https://github.com/molinfo-vienna/nerdd-module) as a  
service that consumes input molecules and produces prediction tuples.


## Installation

```bash
pip install -U nerdd-link
```
  
## Usage

When a class inherits from ```nerdd_module.AbstractModel``` (see 
[NERDD Module Github page](https://github.com/molinfo-vienna/nerdd-module)), it can be 
used to create a Kafka service. 

```bash 
# run a Kafka service for NerddModel on localhost:9092
run_nerdd_server package.path.to.NerddModel

# modify broker url, input topic and batch size
run_nerdd_server package.path.to.NerddModel \
  --broker-url my-cluster-kafka-bootstrap.kafka:9092 \
  --input-topic examples \
  --batch-size 10

# more information via --help
run_nerdd_server --help
```

If the model class is called ```ExamplePredictionModel```, the server will read input 
tuples from the input topic ```example-prediction-inputs``` in batches of size 100
and write results to the ```results``` topic. The batch size specifies the number
of input tuples that are given to the model at once.

## Communication


            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "nerdd-link",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": "Steffen Hirte <steffen.hirte@univie.ac.at>",
    "keywords": "science, research, development, nerdd",
    "author": null,
    "author_email": "Steffen Hirte <steffen.hirte@univie.ac.at>",
    "download_url": "https://files.pythonhosted.org/packages/9e/25/c59d623d5f2f59bf48b16d2490f73eb7876589ad2210966210e0f4c1ade3/nerdd_link-0.5.14.tar.gz",
    "platform": null,
    "description": "# NERDD-Link\n\nRun a [NERDD module](https://github.com/molinfo-vienna/nerdd-module) as a  \nservice that consumes input molecules and produces prediction tuples.\n\n\n## Installation\n\n```bash\npip install -U nerdd-link\n```\n  \n## Usage\n\nWhen a class inherits from ```nerdd_module.AbstractModel``` (see \n[NERDD Module Github page](https://github.com/molinfo-vienna/nerdd-module)), it can be \nused to create a Kafka service. \n\n```bash \n# run a Kafka service for NerddModel on localhost:9092\nrun_nerdd_server package.path.to.NerddModel\n\n# modify broker url, input topic and batch size\nrun_nerdd_server package.path.to.NerddModel \\\n  --broker-url my-cluster-kafka-bootstrap.kafka:9092 \\\n  --input-topic examples \\\n  --batch-size 10\n\n# more information via --help\nrun_nerdd_server --help\n```\n\nIf the model class is called ```ExamplePredictionModel```, the server will read input \ntuples from the input topic ```example-prediction-inputs``` in batches of size 100\nand write results to the ```results``` topic. The batch size specifies the number\nof input tuples that are given to the model at once.\n\n## Communication\n\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Run a NERDD module as a service",
    "version": "0.5.14",
    "project_urls": {
        "Repository": "https://github.com/molinfo-vienna/nerdd-link"
    },
    "split_keywords": [
        "science",
        " research",
        " development",
        " nerdd"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "348937d76b22f06afe43067f49f77c86dee0b691ed7445e202c63c06bce01da8",
                "md5": "fd44d6e27f448fde9f4d416a4cc3cae9",
                "sha256": "2ec0a3ba7939d1b4cee4dc6b10013af2681cd94dab62b0d535d63ee0772092e3"
            },
            "downloads": -1,
            "filename": "nerdd_link-0.5.14-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "fd44d6e27f448fde9f4d416a4cc3cae9",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 43825,
            "upload_time": "2025-10-23T02:21:17",
            "upload_time_iso_8601": "2025-10-23T02:21:17.533259Z",
            "url": "https://files.pythonhosted.org/packages/34/89/37d76b22f06afe43067f49f77c86dee0b691ed7445e202c63c06bce01da8/nerdd_link-0.5.14-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "9e25c59d623d5f2f59bf48b16d2490f73eb7876589ad2210966210e0f4c1ade3",
                "md5": "ee8077044d7d00f822cff7ea66524097",
                "sha256": "1b4173b8f4f0f772659dd6817068afb8749d004572ff8fa17cacf07f42707e0a"
            },
            "downloads": -1,
            "filename": "nerdd_link-0.5.14.tar.gz",
            "has_sig": false,
            "md5_digest": "ee8077044d7d00f822cff7ea66524097",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 29886,
            "upload_time": "2025-10-23T02:21:19",
            "upload_time_iso_8601": "2025-10-23T02:21:19.367298Z",
            "url": "https://files.pythonhosted.org/packages/9e/25/c59d623d5f2f59bf48b16d2490f73eb7876589ad2210966210e0f4c1ade3/nerdd_link-0.5.14.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-10-23 02:21:19",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "molinfo-vienna",
    "github_project": "nerdd-link",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "nerdd-link"
}
        
Elapsed time: 4.19482s