{ "info": { "author": "RedMart Ltd", "author_email": "oss@redmart.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Topic :: Utilities" ], "description": "RedMart Github Metrics\n======================\n\nRedtrics generates metrics about the use of Github by developers.\n\nContributors\n------------\n\n- Aniceto Garcia (Concept & Developer)\n- Alberto Resco (Developer & Main Contributor)\n- Benjos Antony (Developer)\n- Mick Jermsack (Developer)\n- Sonia Fabre (UI Design)\n\nExternal Dependencies\n---------------------\n\n- InfluxDB\n- Github\n\nSetup\n-----\n\nInstall InfluxDB\n~~~~~~~~~~~~~~~~\n\nPlease follow instructions in https://docs.influxdata.com/influxdb/\n\nInstall binary\n~~~~~~~~~~~~~~\n\nYou can install the stable build by running:\n\n.. code:: bash\n\n $ pip install redtrics\n\nor install the latest build:\n\n.. code:: bash\n\n $ curl -o redtrics.zip https://github.com/RedMart/redtrics/archive/master.zip\n $ unzip redtrics.zip\n $ cd redtrics\n $ python setup.py install\n\nSetup settings\n~~~~~~~~~~~~~~\n\nSome settings set with default values but we encourage you to setup\nproperly for your current needs. You must create the file\n``/opt/redtrics/etc/settings.py``\n\n.. code:: python\n\n github_token = 'your_github_token'\n github_organization = 'Your Organization'\n\n.. code:: python\n\n influxdb_settings = {\n 'host': 'localhost',\n 'database': 'redtrics',\n 'username': 'redtrics',\n 'password': 'redtrics'\n }\n\n.. code:: python\n\n email = {\n 'from_email': 'change@me.com',\n 'from_name': 'Tech Weekly Metrics',\n 'to': ['change@me.com'],\n 'smtp_host': 'smtp.example.com',\n 'smtp_port': '25',\n }\n\nOverwrite mail template\n~~~~~~~~~~~~~~~~~~~~~~~\n\nIf you want to create your own template you must create your own in the\nfile ``/opt/redtrics/templates/mail.html`` providing the\n`metrics <#metrics>`__ you want to show.\n\nMetrics provided\n----------------\n\nBranch Build Status\n~~~~~~~~~~~~~~~~~~~\n\n::\n\n {\n 'build_status': {\n 'success': 10, # number of travis builds succeded\n 'failure': 2 # number of travis builds failed\n }\n }\n\nCommits on the last week (7 previous days)\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n::\n\n {\n 'commits_last_week': {\n 'commits': 15, # number of commits\n 'additions': 100, # lines added\n 'deletions': 50, # lines deleted\n 'biggest': 20 # biggest commit (lines added + deleted)\n }\n }\n\nPull Requests stats\n~~~~~~~~~~~~~~~~~~~\n\n::\n\n {\n 'pr_stats': {\n 'closed': {\n 'age': {\n 'max': 1000, # in seconds\n 'min': 200, # in seconds\n 'avg': 450, # in seconds\n },\n 'commits': {\n 'pr_count': 4, # number of Pull Requests\n 'commits_count': 14, # total number of commits in all Pull Requests\n 'additions': 1000, # total lines added\n 'deletions': 1000, # total lines deleted\n 'biggest': 1000 # biggest Pull Request (lines added + deleted)\n }\n },\n 'open': [] # List of PullRequest objects\n }\n }\n\n*Handcrafted with \u2665 at RedMart.*\n\nAll Rights Reserved.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/RedMart/redtrics", "keywords": "github metrics redmart commits size age", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "redtrics", "package_url": "https://pypi.org/project/redtrics/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/redtrics/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/RedMart/redtrics" }, "release_url": "https://pypi.org/project/redtrics/1.0.1/", "requires_dist": null, "requires_python": null, "summary": "Redtrics generates metrics about the use of Github by developers.", "version": "1.0.1" }, "last_serial": 2105668, "releases": { "1.0.0": [], "1.0.1": [ { "comment_text": "", "digests": { "md5": "16ff1fe2660ebcaed77d05c1f1870709", "sha256": "edbf0085f2760b24b6c3ff4fc18ebba880618b00adffa2ae968a1428a3b65cbf" }, "downloads": -1, "filename": "redtrics-1.0.1.tar.gz", "has_sig": false, "md5_digest": "16ff1fe2660ebcaed77d05c1f1870709", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11420, "upload_time": "2016-05-09T02:11:39", "url": "https://files.pythonhosted.org/packages/4d/80/2093e956a0017fc501f7d571cde90dbfd2be99a870a81bcbbdc7acc6bd22/redtrics-1.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "16ff1fe2660ebcaed77d05c1f1870709", "sha256": "edbf0085f2760b24b6c3ff4fc18ebba880618b00adffa2ae968a1428a3b65cbf" }, "downloads": -1, "filename": "redtrics-1.0.1.tar.gz", "has_sig": false, "md5_digest": "16ff1fe2660ebcaed77d05c1f1870709", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11420, "upload_time": "2016-05-09T02:11:39", "url": "https://files.pythonhosted.org/packages/4d/80/2093e956a0017fc501f7d571cde90dbfd2be99a870a81bcbbdc7acc6bd22/redtrics-1.0.1.tar.gz" } ] }