{ "info": { "author": "Choongmin Lee", "author_email": "choongmin@me.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Web Environment", "Framework :: Flask", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: Implementation :: CPython", "Topic :: Communications", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Internet :: WWW/HTTP :: WSGI :: Application" ], "description": "CPU Cooler Chart\n================\n\n.. image:: https://travis-ci.org/clee704/cpucoolerchart.png?branch=master\n :target: https://travis-ci.org/clee704/cpucoolerchart\n\nCPU Cooler Chart (CCC) is CPU cooler performance and price database.\nIt merges data from CPU cooler performance measurements and price information\nfrom Coolenjoy and Danawa.\n\nCPU Cooler Chart is comprised of two parts, the API server part (this project)\nand the web client part. You can find the web part at\n`github.com/clee704/cpucoolerchart-web`_.\n\n.. _github.com/clee704/cpucoolerchart-web: https://github.com/clee704/cpucoolerchart-web\n\n\nInstall\n-------\n\nCPU Cooler Chart depends on lxml_, which in turn depends on liblxml2\nand libxslt. You can install these with following commands.\n\n- Debian/Ubuntu: ``sudo apt-get install libxml2-dev libxslt1-dev``\n- Mac OS X (with Homebrew_): ``brew install libxml2 libxslt``\n\nFor more information, see `Installing lxml`_.\n\nIf you are ready to install lxml, you can install CPU Cooler Chart. There are\nmany ways to do that but using pip is recommended:\n\n.. code-block:: console\n\n $ pip install --pre cpucoolerchart\n\nCurrently ``--pre`` argument is needed but it will be unnecessary once a\nnon-developmental release is out.\n\n.. _lxml: http://lxml.de\n.. _Homebrew: http://brew.sh\n.. _Installing lxml: http://lxml.de/installation.html\n\n\nRunning\n-------\n\nBefore running the web server, you must initialize a database:\n\n.. code-block:: console\n\n $ cpucoolerchart createdb\n\nIt will make a SQLite database at ``instance/development.db`` under the current\ndirectory. Although not tested, there is no restrictions on the choice of\nthe database to use as long as SQLAlchemy_ supports it. See Configuration_ for\nhow to change database options.\n\nNow the database is ready and empty. Run the following command to fill it with\ndata:\n\n.. code-block:: console\n\n $ cpucoolerchart update\n\nIt will fetch measurement data from Coolenjoy_. It might spit out some\nwarnings due to inconsistencies in the data or because you haven't provided\nDanawa_ API keys. Nothing is a serious problem for now.\n\nTo see the data, first you need to run a web server:\n\n.. code-block:: console\n\n $ cpucoolerchart runserver\n\nIt will run a development server at port 5000. Open your browser and go to\n``http://localhost:5000/makers``. It should show some heatsink makers in JSON\nformat. Go to ``http://localhost:5000/all`` to download a CSV file that\ncontains all data. For the complete list of HTTP APIs, see `the docs`__.\nMeanwhile, you can read `views.py`_ file for what's there.\n\nFor production, there are `many options`_ to run a web server (you should not\nuse the development server in production). CPU Cooler Chart is built with\nFlask_, which means it's WSGI-compatible. The endpoint is\n``cpucoolerchart.wsgi:app``. Or you can make a custom Python file and create an\napp there:\n\n.. code-block:: python\n\n from cpucoolerchart.app import create_app\n app = create_app({\n 'SQLALCHEMY_DATABASE_URI': 'postgres://user:pass@somewhere:5432/ccc'\n })\n\n.. _SQLAlchemy: http://www.sqlalchemy.org\n.. _Configuration: http://cpucoolerchart.readthedocs.org/en/latest/#configuration\n.. _Coolenjoy: http://www.coolenjoy.net\n.. _Danawa: http://danawa.co.kr\n.. _views.py: cpucoolerchart/views.py\n__ Documentation_\n.. _many options: http://flask.pocoo.org/docs/deploying/\n.. _Flask: http://flask.pocoo.org\n\n\nLinks\n-----\n\n- `GitHub repository`_\n- Documentation_\n- `CPU Cooler Chart`_ (deployed site)\n\n.. _GitHub repository: https://github.com/clee704/cpucoolerchart\n.. _Documentation: http://cpucoolerchart.readthedocs.org\n.. _CPU Cooler Chart: http://cpucoolerchart.clee.kr\n\n\nLicense\n-------\n\nCPU Cooler Chart is licensed under the MIT License. See LICENSE_ for more.\n\n.. _LICENSE: LICENSE", "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/clee704/cpucoolerchart", "keywords": "cpu heatsink cooler performance price database", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "cpucoolerchart", "package_url": "https://pypi.org/project/cpucoolerchart/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/cpucoolerchart/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/clee704/cpucoolerchart" }, "release_url": "https://pypi.org/project/cpucoolerchart/0.1.dev2/", "requires_dist": null, "requires_python": null, "summary": "CPU cooler performance and price database", "version": "0.1.dev2" }, "last_serial": 996767, "releases": { "0.1.dev1": [ { "comment_text": "", "digests": { "md5": "a3e64fcbd07b29627f115cdbb3ea0200", "sha256": "d30ca404ce8e27598564be179cc90f91e5b79660432060ad102a881a7075b2a2" }, "downloads": -1, "filename": "cpucoolerchart-0.1.dev1.tar.gz", "has_sig": false, "md5_digest": "a3e64fcbd07b29627f115cdbb3ea0200", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 45430, "upload_time": "2014-01-31T16:21:00", "url": "https://files.pythonhosted.org/packages/79/72/e3d6b04736788624ec4342d863a0f2267203d8eceb5d291c532feeff5a64/cpucoolerchart-0.1.dev1.tar.gz" } ], "0.1.dev2": [ { "comment_text": "", "digests": { "md5": "ac10fe215f92bf9f390f46612393e16a", "sha256": "c6dd500103c684a16690038ea1a6816e4c14117a3832faa03fdcbefc7a899573" }, "downloads": -1, "filename": "cpucoolerchart-0.1.dev2.tar.gz", "has_sig": false, "md5_digest": "ac10fe215f92bf9f390f46612393e16a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 254410, "upload_time": "2014-02-11T02:16:17", "url": "https://files.pythonhosted.org/packages/95/73/85545df06d1c748d42cfb755edbbdbef1e64c29ae5b655a9fba1dfd6358f/cpucoolerchart-0.1.dev2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ac10fe215f92bf9f390f46612393e16a", "sha256": "c6dd500103c684a16690038ea1a6816e4c14117a3832faa03fdcbefc7a899573" }, "downloads": -1, "filename": "cpucoolerchart-0.1.dev2.tar.gz", "has_sig": false, "md5_digest": "ac10fe215f92bf9f390f46612393e16a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 254410, "upload_time": "2014-02-11T02:16:17", "url": "https://files.pythonhosted.org/packages/95/73/85545df06d1c748d42cfb755edbbdbef1e64c29ae5b655a9fba1dfd6358f/cpucoolerchart-0.1.dev2.tar.gz" } ] }