{ "info": { "author": "caustin-usgs", "author_email": "clay.austin.ctr@usgs.gov", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: Public Domain", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5" ], "description": "[![Build Status](https://travis-ci.org/USGS-EROS/lcmap-change-worker.svg?branch=develop)](https://travis-ci.org/USGS-EROS/lcmap-change-worker)\n\n# lcmap-change-worker\nworker for initiating change detection jobs, and sending results to the data store\n\n## Install\n```bash\n # locally\n $ pip install -e.\n```\n\n## Usage\n```bash\n # lcw-listen is available following install with pip\n $ lcw-listen\n\n # lcw-test-send will send stdin to the LCW_RABBIT_EXCHANGE\n $ lcw-test-send '{\"some\":\"message\"}'\n```\n\n```python\n # same effect as lcw-listen\n from cw import __listener__\n __listener__.main()\n\n # useful for sending test messages only.\n from cw import __sender__\n message = '{\"x\": 123, \"y\": 456, \"algorithm\": \"pyccd-beta1\", \"result\": \"OUTPUT\"}'\n __sender__.main(message)\n```\n\n## Configuration\nlandsat-change-worker is configurable with the following environment variables\n\n| Variable | Default | Description |\n| --- | --- | --- |\n| `LCW_RABBIT_HOST` | localhost | RabbitMQ Host |\n| `LCW_RABBIT_PORT` | 5672 | RabbitMQ Port |\n| `LCW_RABBIT_QUEUE` | local.lcmap.changes.worker | Queue for LCW to listen for messages |\n| `LCW_RABBIT_EXCHANGE` | local.lcmap.changes.worker | Exchange for LCW to publish messages |\n| `LCW_RABBIT_RESULT_ROUTING_KEY` | change-detection-result | Routing key used when publishing change detection result messages |\n| `LCW_RABBIT_SSL` | False | Enable/Disable SSL. True/False |\n\n## Developing & Testing\nGet the local environment ready for development and testing.\n```bash\n $ git clone git@github.com:usgs-eros/lcmap-change-worker\n $ cd lcmap-change-worker\n $ virtualenv -p python3 .venv\n $ . .venv/bin/activate\n $ pip install -e .[test]\n $ pip install -e .[dev]\n```\n\nRun tests:\n```bash\n # the right way\n $ python setup.py test\n\n # alternatively\n $ pytest\n```\n## Deploying", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/usgs-eros/lcmap-change-worker", "keywords": "python change detection rabbitmq cassandra", "license": "Public Domain", "maintainer": null, "maintainer_email": null, "name": "lcmap-change-worker", "package_url": "https://pypi.org/project/lcmap-change-worker/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/lcmap-change-worker/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/usgs-eros/lcmap-change-worker" }, "release_url": "https://pypi.org/project/lcmap-change-worker/0.1.0/", "requires_dist": null, "requires_python": null, "summary": "Module for executing change detection and sending results", "version": "0.1.0" }, "last_serial": 2650385, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "60dbc0ca8360ecb92d5e026cc7cd0f5c", "sha256": "8498b7e122971404850e37b201d2290a06dec769bd7dd4eaaed430ed5ef66674" }, "downloads": -1, "filename": "lcmap-change-worker-0.1.0.tar.gz", "has_sig": false, "md5_digest": "60dbc0ca8360ecb92d5e026cc7cd0f5c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7639, "upload_time": "2017-02-17T20:55:46", "url": "https://files.pythonhosted.org/packages/2b/3e/4b015766e95a81735fd1926592d68bd3a2f5e88fa2020e0854428a6d609c/lcmap-change-worker-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "60dbc0ca8360ecb92d5e026cc7cd0f5c", "sha256": "8498b7e122971404850e37b201d2290a06dec769bd7dd4eaaed430ed5ef66674" }, "downloads": -1, "filename": "lcmap-change-worker-0.1.0.tar.gz", "has_sig": false, "md5_digest": "60dbc0ca8360ecb92d5e026cc7cd0f5c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7639, "upload_time": "2017-02-17T20:55:46", "url": "https://files.pythonhosted.org/packages/2b/3e/4b015766e95a81735fd1926592d68bd3a2f5e88fa2020e0854428a6d609c/lcmap-change-worker-0.1.0.tar.gz" } ] }