{ "info": { "author": "Raul Gonzalez", "author_email": "mindbender@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", "Programming Language :: Python :: 3.5", "Topic :: Software Development" ], "description": "========\nCognate\n========\n\nWelcome to **Cognate**, a package designed with making it easy to create\ncomponent services. **Cognate** strives to ease the burden of configuration\nmanagement and logging configuration, by providing the infrastructure.\n**Cognate** fosters component service architectures by making the design,\nimplementation, and testing of services less of a chore.\n\nA sample hello world component:\n\n from cognate.component_core import ComponentCore\n import sys\n\n class HelloWorld(ComponentCore):\n def __init__(self, name='World', **kwargs):\n self.name = name\n\n ComponentCore.__init__(self, **kwargs)\n\n def cognate_options(self, arg_parser):\n arg_parser.add_argument(\n '--name',\n default=self.name,\n help='Whom will receive the salutation.')\n\n def run(self):\n self.log.info('Hello %s', self.name)\n\n\n if __name__ == '__main__':\n argv = sys.argv\n service = HelloWorld(argv=argv)\n service.run()\n\nAllows for the executable:\n\n $ python hello_world.py -h\n usage: hello_world.py [-h] [--service_name SERVICE_NAME]\n [--log_level {debug,info,warn,error}]\n [--log_path LOG_PATH] [--verbose] [--name NAME]\n\n optional arguments:\n -h, --help show this help message and exit\n --service_name SERVICE_NAME\n This will set the name for the current instance.\n This will be reflected in the log output.\n (default: HelloWorld)\n --log_level {debug,info,warn,error}\n Set the log level for the log output. (default: error)\n --log_path LOG_PATH Set the path for log output. The default file created\n is \"/.log\". If the path\n ends with a \".log\" extension, then the path be a\n target file. (default: None)\n --verbose Enable verbose log output to console. Useful for\n debugging. (default: False)\n --name NAME Whom will receive the salutation. (default: World)\n\nDocumentation\n==============\n\nFor the latest documentation, visit http://neoinsanity.github.io/cognate.\n\nGetting Cognate\n==============\n\nInstallation\n-------------\n\nUse pip to install Cognate.\n\n > pip install cognate\n\nSource\n-------\n\nThe latest stable release source of **Cognate** can be found on the master \nbranch at https://github.com/neoinsanity/cognate/tree/master. \n\nFor the latest development code, use the develop branch at \nhttps://github.com/neoinsanity/cognate. Please note that the development branch\nmay change without notification.\n\nTo install **Cognate** from source utilize the *setup.py*:\n\n > python setup.py install\n\nProject Development\n====================\n\nIf you are interested in developing **Cognate** code, \nutilize the helper scripts in the *cognate/bin* directory.\n\nSetup the Development Environment\n----------------------------------\n\nPrior to running the dev setup scripts, ensure that you have *virtualenv* \ninstalled. All setup commands are assumed to be run from the project root, \nwhich is the directory containing the *setup.py* file.\n\nPrep the development environment with the command:\n\n > bin/dev_setup.sh\n\nThis command will setup the virtualenv for the project in the \ndirectory */venv*. It will also install the **Cognate** in a develop mode, \nwith the creation of a development egg file.\n\nEnable the Development Environment\n-----------------------------------\n\nTo make it easy to ensure a correctly configured development session, \nutilize the command:\n\n > . bin/enable_dev.sh\n \nor\n\n > source bin/enable_dev.sh\n \nNote that the script must be sourced, as it will enable a virtualenv session \nand add the *bin* directory scripts to environment *PATH*.\n\nRunning Tests\n--------------\n\nTo run the unit tests:\n\n > run_tests.sh\n \nA BUILD/COVERAGE_REPORT directory will be generated with the test coverage\nreport. To view the report, open index.html in the generated directory in \na browser.\n\nBuilding Documentation\n-----------------------\n\nTo run the documentation generation:\n\n > doc_build.sh\n\nA BUILD//doc/build directory will be generated with the documentation. To\nview the documentation, open index.html in the generated directory in \na browser.", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/neoinsanity/cognate", "keywords": "", "license": "Apache License 2.0", "maintainer": "", "maintainer_email": "", "name": "cognate", "package_url": "https://pypi.org/project/cognate/", "platform": "", "project_url": "https://pypi.org/project/cognate/", "project_urls": { "Homepage": "https://github.com/neoinsanity/cognate" }, "release_url": "https://pypi.org/project/cognate/0.0.6/", "requires_dist": null, "requires_python": "", "summary": "From the same Root.", "version": "0.0.6" }, "last_serial": 3513122, "releases": { "0.0.0": [], "0.0.1": [ { "comment_text": "", "digests": { "md5": "611d982b83929e6f114ef3ef789c64d6", "sha256": "4868cbc518c438487b51d0c438dc9d4f0937232ed40e2eaa9a47507e341c5dd1" }, "downloads": -1, "filename": "cognate-0.0.1.tar.gz", "has_sig": false, "md5_digest": "611d982b83929e6f114ef3ef789c64d6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9406, "upload_time": "2014-10-11T11:12:13", "url": "https://files.pythonhosted.org/packages/72/0d/dbf79ebb9af11cff7a08b7b0a948589a857200b4e7d8ee33e51e47f76757/cognate-0.0.1.tar.gz" } ], "0.0.2": [], "0.0.2a": [ { "comment_text": "", "digests": { "md5": "8bba84d93251227af5fbf9069d8935bc", "sha256": "0726c59a54403481320bc5b1f9c9fde881fcec0c0cd5674fd9aef5d0878b58a9" }, "downloads": -1, "filename": "cognate-0.0.2a.tar.gz", "has_sig": false, "md5_digest": "8bba84d93251227af5fbf9069d8935bc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10280, "upload_time": "2016-03-11T23:42:24", "url": "https://files.pythonhosted.org/packages/a6/5f/5ebec74f3c951cc8466d1e4e54f193b3a1f8b3603b9adbcfdabac0f2236d/cognate-0.0.2a.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "9eb9707f1089344c41b0aa29cf7bee0e", "sha256": "f309d8c3843c96cd43675c7ae3a69cd317212406fbbb9575c703bba18bbee554" }, "downloads": -1, "filename": "cognate-0.0.3.tar.gz", "has_sig": false, "md5_digest": "9eb9707f1089344c41b0aa29cf7bee0e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10277, "upload_time": "2016-03-11T23:51:21", "url": "https://files.pythonhosted.org/packages/d1/08/fc2f30ea123fd14b03090e4e548535a77c4b2ebd879e8b809653b21ae8f1/cognate-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "55bd52e6e16d758316e974e800ee1bc2", "sha256": "5197546cdae6e9441d1462d92e7450f3b5f19c57e1dc695256fc7c8a507e63fd" }, "downloads": -1, "filename": "cognate-0.0.4.tar.gz", "has_sig": false, "md5_digest": "55bd52e6e16d758316e974e800ee1bc2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13835, "upload_time": "2016-03-12T22:15:22", "url": "https://files.pythonhosted.org/packages/5e/bc/543f659d34bb5d710a18c811dbec5395dd2b3a2bb55d77320ec4d6cf7969/cognate-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "81082993eabe0ff2d40e689fe4c71080", "sha256": "e651c4566a883a1915e82acbb902d19cb1d750869b66b2230b19e330a32925c4" }, "downloads": -1, "filename": "cognate-0.0.5.tar.gz", "has_sig": false, "md5_digest": "81082993eabe0ff2d40e689fe4c71080", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13722, "upload_time": "2017-07-05T16:41:34", "url": "https://files.pythonhosted.org/packages/ef/57/27d93e49e580c37917c677cc9296c2f559d38963420893454d3e2ebe2ab7/cognate-0.0.5.tar.gz" } ], "0.0.6": [ { "comment_text": "", "digests": { "md5": "2e8b55edbfaaa64d0923717b4ed09802", "sha256": "d7054ca8235a6ecf90b939bcd156dd9431c9d17934c9a36c3d331d489eb81e08" }, "downloads": -1, "filename": "cognate-0.0.6.tar.gz", "has_sig": false, "md5_digest": "2e8b55edbfaaa64d0923717b4ed09802", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15075, "upload_time": "2018-01-23T06:03:30", "url": "https://files.pythonhosted.org/packages/e0/0c/790e946c91e86e8dac199f5e9a92aaa759b21728efd5cf99dcced5a47301/cognate-0.0.6.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "2e8b55edbfaaa64d0923717b4ed09802", "sha256": "d7054ca8235a6ecf90b939bcd156dd9431c9d17934c9a36c3d331d489eb81e08" }, "downloads": -1, "filename": "cognate-0.0.6.tar.gz", "has_sig": false, "md5_digest": "2e8b55edbfaaa64d0923717b4ed09802", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15075, "upload_time": "2018-01-23T06:03:30", "url": "https://files.pythonhosted.org/packages/e0/0c/790e946c91e86e8dac199f5e9a92aaa759b21728efd5cf99dcced5a47301/cognate-0.0.6.tar.gz" } ] }