{ "info": { "author": "CognitiveScale", "author_email": "info@cognitivescale.com", "bugtrack_url": null, "classifiers": [ "Operating System :: MacOS :: MacOS X", "Operating System :: POSIX", "Programming Language :: Python :: 3.6" ], "description": "# Profile of 1 Extension for the Base Python Module of the Cortex Cognitive Platform\n\n[cortex-python][https://github.com/CognitiveScale/cortex-python]\nThe Cortex Python Profiles module extends the [Base Python Module of the Cortex Cognitive Platform](cortex-python) with Profile of 1 related functionality. \n\nRefer to the Cortex documentation for details on how to use the library: \n\n- Developer guide: https://docs.cortex.insights.ai/docs/developer-guide/overview/\n- Cortex Python references: https://docs.cortex.insights.ai/docs/developer-guide/reference-guides\n\n\n## Installation\n\nTo install: \n```\n > pip install cortex-python-profiles\n```\n\nor from source code:\n```\n > git clone git@github.com:CognitiveScale/cortex-python-profiles.git\n > cd cortex-python-profiles\n > pip install -e .\n```\n\n## Development \n\n### Setup\n\nWhen developing, it's a best practice to work in a virtual environment. Create and activate a virtual environment:\n```\n > virtualenv --python=python3.6 _venv\n > source _venv/bin/activate\n```\n\nInstall developer dependencies:\n\n```\n > git clone git@github.com:CognitiveScale/cortex-python-profiles.git\n > cd cortex-python-profiles\n > make dev.install\n```\n\nThere's a convenience `Makefile` that has commands to common tasks, such as build, test, etc. Use it!\n\n### Testing\n\n#### Unit Tests\n\nFollow above setup instructions (making sure to be in the virtual environment and having the necessary dependencies)\n\n- `make test` to run test suite\n\nTo run an individual file or class method, use pytest. Example tests shown below:\n\n- file: `pytest test/unit/agent_test.py` \n- class method: `pytest test/unit/agent_test.py::TestAgent::test_get_agent`\n\n#### Publishing an alpha build\n\nSuppose you want to release new functionality so it can be installed without releasing a new official version. We need to use an alpha version in PyPi.\n\n- we need to create and publish an alpha release:\n- get credentials to the `cortex-python` pypi CognitiveScale account (via lastpass)\n- run `make dev.push TAG=`. Example: `make dev.push TAG=1`\n\n### Contribution \n\nAfter contributing to the library, and before you submit changes as a PR, please do the following\n\n1. Run unit tests via `make test`\n2. Manually verification (i.e. try the new changes out in Cortex) to make sure everything is going well. Not required, but highly encouraged.\n3. Bump up `setup.py` version and update the `CHANGELOG.md` \n\n### Documentation\n\nThe package documentation is built with Sphinx. To build the documentation:\n\n```\n> make docs\n```\nThe documentation will be rendered in HTML format under the `docs/_build/html` directory.\n\nActivate your virtual environment:\n```\n> source _venv/bin/activate\n```\n\nSetup your environment, if you have not done so:\n```\n> make dev.install \n```\n\n### Pre-release to staging\n\n1. Create and push an alpha release:\n ```\n > make dev.push TAG=1\n ```\n Where `TAG` is the alpha version number. This will build an alpha-tagged package.\n2. Merge `develop` to `staging` branch:\n ```\n > make stage\n ```\n3. In GitHub, create a pull request from `staging` to `master`.\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/CognitiveScale/cortex-python-profiles", "keywords": "", "license": "Apache License Version 2.0", "maintainer": "", "maintainer_email": "", "name": "cortex-python-profiles", "package_url": "https://pypi.org/project/cortex-python-profiles/", "platform": "linux", "project_url": "https://pypi.org/project/cortex-python-profiles/", "project_urls": { "Homepage": "https://github.com/CognitiveScale/cortex-python-profiles" }, "release_url": "https://pypi.org/project/cortex-python-profiles/1.0.0/", "requires_dist": [ "cortex-python[builders] (<1.2,>=1.0.0)", "pydash (<4.8,>=4.7.3)", "arrow (<0.13,>=0.12.1)", "pandas (>=0.23.4)", "attrs (==18.2.0)", "objectpath (==0.6.1)", "deprecation (==2.0.6)", "twine (<2,>=1.12.1) ; extra == 'dev'", "setuptools ; extra == 'dev'", "wheel ; extra == 'dev'", "pipdeptree ; extra == 'dev'", "mypy (==0.720) ; extra == 'dev'", "pylint (<3,>=2.3.0) ; extra == 'dev'", "Sphinx (<2,>=1.8.3) ; extra == 'docs'", "sphinxcontrib-restbuilder (==0.2) ; extra == 'docs'", "nbconvert (==5.4.0) ; extra == 'docs'", "iso3166 (==1.0) ; extra == 'synthetic'", "Faker (==2.0.0) ; extra == 'synthetic'", "mocket (<3,>=2.5.0) ; extra == 'test'", "mock (<3,>=2) ; extra == 'test'", "pipdeptree ; extra == 'test'", "tox (<3,>=2.9.1) ; extra == 'test'", "pytest-cov (==2.5.1) ; extra == 'test'", "pytest (<4,>=3.2.5) ; extra == 'test'", "cortex-python[jupyter] (<1.2,>=1.0.0) ; extra == 'viz'", "psutil ; extra == 'viz'" ], "requires_python": "", "summary": "Profile of 1 Extension for the Base Python Module of the Cortex Cognitive Platform", "version": "1.0.0" }, "last_serial": 5924714, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "ac2e747590b28eddaef7df4a49ea0aac", "sha256": "e93ac51239a04b707a0192c72366deffff11a413d241cc3639c06160ea277350" }, "downloads": -1, "filename": "cortex_python_profiles-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "ac2e747590b28eddaef7df4a49ea0aac", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 178090, "upload_time": "2019-10-03T18:33:15", "url": "https://files.pythonhosted.org/packages/59/cd/df7f16f5440131f2c232c83e8cd299a48e71c1504ae80b64a14894ad2d81/cortex_python_profiles-1.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2f07fb8f7e8888219323108ab4ba9c98", "sha256": "9d5052bdf0c27a0204dd7eaff96267b07d61e8f88b37e4519643ea13ec2bb19c" }, "downloads": -1, "filename": "cortex-python-profiles-1.0.0.tar.gz", "has_sig": false, "md5_digest": "2f07fb8f7e8888219323108ab4ba9c98", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 102212, "upload_time": "2019-10-03T18:33:17", "url": "https://files.pythonhosted.org/packages/6f/0f/c986c0f03656d555b4a454840bccc38e0131835a43b2b48ab67b9672d66f/cortex-python-profiles-1.0.0.tar.gz" } ], "1.0.0a0": [ { "comment_text": "", "digests": { "md5": "38acf1b1ea7749e926de4a8889c26528", "sha256": "d477c236a5afd7405e346069ba23c25224a1c4d3298cc08275cb25fd3764a590" }, "downloads": -1, "filename": "cortex_python_profiles-1.0.0a0-py3-none-any.whl", "has_sig": false, "md5_digest": "38acf1b1ea7749e926de4a8889c26528", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 176452, "upload_time": "2019-09-17T14:30:11", "url": "https://files.pythonhosted.org/packages/b2/e7/7e2daa677ae6cf8139549f944d6905a0e0b9952dedc9f8e1b94522e5b1f0/cortex_python_profiles-1.0.0a0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "755c4ca5af28ba2142bd089f97424090", "sha256": "242793dc5e9c826565b970246a9a60f114f0e35cdec596ae597f996104e1f284" }, "downloads": -1, "filename": "cortex-python-profiles-1.0.0a0.tar.gz", "has_sig": false, "md5_digest": "755c4ca5af28ba2142bd089f97424090", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 101681, "upload_time": "2019-09-17T14:30:13", "url": "https://files.pythonhosted.org/packages/4e/a0/6d6a91ecb05f250d966e383752dc7d3aaddbb75522df89ebd3bf7180298b/cortex-python-profiles-1.0.0a0.tar.gz" } ], "1.0.0a1": [ { "comment_text": "", "digests": { "md5": "bf97dab5a93b04132c55ada4ebfee5f9", "sha256": "4434731a07931b189097ed74e2c5e35142ad453c9e8d990a497176ff928f5df7" }, "downloads": -1, "filename": "cortex_python_profiles-1.0.0a1-py3-none-any.whl", "has_sig": false, "md5_digest": "bf97dab5a93b04132c55ada4ebfee5f9", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 176428, "upload_time": "2019-09-18T14:12:46", "url": "https://files.pythonhosted.org/packages/c0/5c/5e3c10e1eb9295855cda453550e7f796524ec72f6ecb798a6c718fb4949b/cortex_python_profiles-1.0.0a1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3c89671c44d0d48faebafd8aaa8ed251", "sha256": "09c97bb5ca2be22ee55612276a1450226757bf034c38d9bb77a0d71a99dd17d5" }, "downloads": -1, "filename": "cortex-python-profiles-1.0.0a1.tar.gz", "has_sig": false, "md5_digest": "3c89671c44d0d48faebafd8aaa8ed251", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 100559, "upload_time": "2019-09-18T14:12:47", "url": "https://files.pythonhosted.org/packages/41/3c/e5db6d1b1b1c1e36e4dafc9be199cb8cf8ffe0ef7834bfbb3624302be9df/cortex-python-profiles-1.0.0a1.tar.gz" } ], "1.0.0a2": [ { "comment_text": "", "digests": { "md5": "51b3e5c1e3076d0334fb9ad76de79715", "sha256": "c43f0d1834a0b70a4fe505540fbc0a5c29ee28267818216e5d52c1f61afd63fe" }, "downloads": -1, "filename": "cortex_python_profiles-1.0.0a2-py3-none-any.whl", "has_sig": false, "md5_digest": "51b3e5c1e3076d0334fb9ad76de79715", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 178048, "upload_time": "2019-09-18T19:58:30", "url": "https://files.pythonhosted.org/packages/dc/3e/25719f03808215a9f8fb7e3472cd9bd07e1ea76e3221eb4a644562aa8282/cortex_python_profiles-1.0.0a2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0b4182e4294f32ad414365a4e9b54997", "sha256": "922fe5f9d3610497e2f934aa163a4be2d63cbad04af730cddca61f2d531a4186" }, "downloads": -1, "filename": "cortex-python-profiles-1.0.0a2.tar.gz", "has_sig": false, "md5_digest": "0b4182e4294f32ad414365a4e9b54997", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 103232, "upload_time": "2019-09-18T19:58:32", "url": "https://files.pythonhosted.org/packages/08/bd/0c2e5bd2c4a53720ee180551a29b92ebe71e961feb7b8ddc3d12e119147a/cortex-python-profiles-1.0.0a2.tar.gz" } ], "1.0.0a3": [ { "comment_text": "", "digests": { "md5": "ad0eefa8e9e703270cf84f679cd68a3e", "sha256": "5fe39c2e1a541c835deafef1f48b158f9df56ace0a07b42d02f49888c359867f" }, "downloads": -1, "filename": "cortex_python_profiles-1.0.0a3-py3-none-any.whl", "has_sig": false, "md5_digest": "ad0eefa8e9e703270cf84f679cd68a3e", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 178094, "upload_time": "2019-09-19T20:31:51", "url": "https://files.pythonhosted.org/packages/b3/bf/2b75de1c428e73f936c926291bfdf70b5f5de82637ac8380f079639230cd/cortex_python_profiles-1.0.0a3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5096e5e09068c48f08294b0c835a29e9", "sha256": "90152b1e019f31c50fa4907a6763495b8a13209857a5e4de67c5b985fff3f125" }, "downloads": -1, "filename": "cortex-python-profiles-1.0.0a3.tar.gz", "has_sig": false, "md5_digest": "5096e5e09068c48f08294b0c835a29e9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 102145, "upload_time": "2019-09-19T20:31:53", "url": "https://files.pythonhosted.org/packages/9b/19/d43c8d5d9c85e2a46d4600c69a3625971138beb40d7b132edf11587ce1ab/cortex-python-profiles-1.0.0a3.tar.gz" } ], "1.0.0a4": [ { "comment_text": "", "digests": { "md5": "9cd4ea81201b6e756e300a97d32b0ea0", "sha256": "48ebb998bc055c00c0a3f7745b3463484d16ad67bcc61c2c620623fbaaeb8d9a" }, "downloads": -1, "filename": "cortex_python_profiles-1.0.0a4-py3-none-any.whl", "has_sig": false, "md5_digest": "9cd4ea81201b6e756e300a97d32b0ea0", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 178114, "upload_time": "2019-09-20T18:13:56", "url": "https://files.pythonhosted.org/packages/ff/9f/80e3f7310d85c61a0f3a0c2dc68a732b9904930bae669836bf1d94b9bf95/cortex_python_profiles-1.0.0a4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "293b5c5c621d990a8a2cacf540ccb9d1", "sha256": "2bd7b769a1578c53ac0dfa6c72ddd711da078330e1a9a036c3f56f582f4b1606" }, "downloads": -1, "filename": "cortex-python-profiles-1.0.0a4.tar.gz", "has_sig": false, "md5_digest": "293b5c5c621d990a8a2cacf540ccb9d1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 102370, "upload_time": "2019-09-20T18:13:58", "url": "https://files.pythonhosted.org/packages/be/e0/7e73ef4861f1d1cf1c29ddc5a1de0052795608a28df8ce88297f86d0e178/cortex-python-profiles-1.0.0a4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ac2e747590b28eddaef7df4a49ea0aac", "sha256": "e93ac51239a04b707a0192c72366deffff11a413d241cc3639c06160ea277350" }, "downloads": -1, "filename": "cortex_python_profiles-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "ac2e747590b28eddaef7df4a49ea0aac", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 178090, "upload_time": "2019-10-03T18:33:15", "url": "https://files.pythonhosted.org/packages/59/cd/df7f16f5440131f2c232c83e8cd299a48e71c1504ae80b64a14894ad2d81/cortex_python_profiles-1.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2f07fb8f7e8888219323108ab4ba9c98", "sha256": "9d5052bdf0c27a0204dd7eaff96267b07d61e8f88b37e4519643ea13ec2bb19c" }, "downloads": -1, "filename": "cortex-python-profiles-1.0.0.tar.gz", "has_sig": false, "md5_digest": "2f07fb8f7e8888219323108ab4ba9c98", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 102212, "upload_time": "2019-10-03T18:33:17", "url": "https://files.pythonhosted.org/packages/6f/0f/c986c0f03656d555b4a454840bccc38e0131835a43b2b48ab67b9672d66f/cortex-python-profiles-1.0.0.tar.gz" } ] }