{ "info": { "author": "Mohammed", "author_email": "mohammed.s@way2online.co.in", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# mypackage\n\nA testing package for **Digital Kites** processes.\n\n## Installation\n\nMake sure you have [python](http://nodejs.org/) and [pip](https://www.npmjs.com/) installed.\n\n```sh\npip install mypackage\n```\n\n\n## Usage\n\n```sh\nimport mypackage\n\nobj = {\n app_ip:\"x.x.x.x\", // optional \n app_name:\"your pm2 app name\", // optional\n app_id: 1, // pm2 process id (optional)\n date: Math.floor(new Date().setHours(0, 0, 0, 0) / 1000), // your date epoch in seconds\n time: Math.floor(Date.now() / 1000), // your time epoch in seconds\n message: \"some message\",//your message\n status: \"online\",\n log_level:\"info\" //[\"fatal\", \"error\", \"warn\",\"info\",\"debug\"]\n}\n\nmypackage.printMessage(obj)\n```\n\n#### How to include in your process:\n\n```sh\n//Note:Must include this in the first line of your file(which is started with pm2).\n//Note:Make sure this snippet runs in production envirnoment.\nconst dk_logger = require('dk-logger');\n\ndk_logger.setApiKey('YOUR API KEY');\n\n});\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": "", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "way2package", "package_url": "https://pypi.org/project/way2package/", "platform": "", "project_url": "https://pypi.org/project/way2package/", "project_urls": null, "release_url": "https://pypi.org/project/way2package/19.2.3/", "requires_dist": null, "requires_python": "", "summary": "A Docker and AWS utility package", "version": "19.2.3" }, "last_serial": 5877721, "releases": { "19.2.3": [ { "comment_text": "", "digests": { "md5": "1909b9161db62d3781c54a31c1b2fa28", "sha256": "21b8706bf542a0bf00b759ad60e685abcde4f90dfd4b0ad5d792f56cbfbcca87" }, "downloads": -1, "filename": "way2package-19.2.3-py3-none-any.whl", "has_sig": false, "md5_digest": "1909b9161db62d3781c54a31c1b2fa28", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 1970, "upload_time": "2019-09-24T06:06:39", "url": "https://files.pythonhosted.org/packages/a9/e3/91b43fab9b004c1b346fa7b2d9459263da8684694b0d4ddcd9a5e74d3594/way2package-19.2.3-py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "1909b9161db62d3781c54a31c1b2fa28", "sha256": "21b8706bf542a0bf00b759ad60e685abcde4f90dfd4b0ad5d792f56cbfbcca87" }, "downloads": -1, "filename": "way2package-19.2.3-py3-none-any.whl", "has_sig": false, "md5_digest": "1909b9161db62d3781c54a31c1b2fa28", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 1970, "upload_time": "2019-09-24T06:06:39", "url": "https://files.pythonhosted.org/packages/a9/e3/91b43fab9b004c1b346fa7b2d9459263da8684694b0d4ddcd9a5e74d3594/way2package-19.2.3-py3-none-any.whl" } ] }