{ "info": { "author": "Guilherme Borges", "author_email": "illidam.lopes@gmail.com", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: Portuguese", "Programming Language :: Python :: 2.7", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Multimedia :: Graphics :: Presentation" ], "description": "Apache Cassandra Module for Thumbor\n===================================\n\n[![Build Status](https://travis-ci.org/glborges/thumbor-cassandra.svg?branch=master)](https://travis-ci.org/glborges/thumbor-cassandra)\n\nIntroduction\n------------\n\n[Thumbor](https://github.com/globocom/thumbor/wiki) is a smart imaging service. It enables on-demand crop, resizing and flipping of images.\n\n\n[Apache Cassandra](https://cassandra.apache.org/) is a free and open-source, distributed, wide column store, NoSQL database management system designed to handle large amounts of data across many commodity servers, providing high availability with no single point of failure. Cassandra offers robust support for clusters spanning multiple datacenters,[1] with asynchronous masterless replication allowing low latency operations for all clients.\n\nInstallation\n------------\n\nIn order to install the Apache Cassandra Module for Thumbor, you have to install Apache Cassandra ecosystem first. \n\n## Apache Cassandra installation\n\nThe Apache Cassandra Module for Thumbor was originally developed and tested using the Cassandra docker image [Cassandra Official Docker Image](https://hub.docker.com/_/cassandra).\n\n## Thumbor installation\n\nYou have to install [Thumbor](https://github.com/globocom/thumbor) following the [Thumbor Installation Guide](https://github.com/globocom/thumbor/wiki/Installing)...\n\n\n## Apache Cassandra Module installation\n\n... and finally the Apache Cassandra Module :\n\n pip install thumbor_cassandra\n\n\nUsage\n-----\n\nUsing it is simple, just change your configuration in thumbor.conf:\n\n CASSANDRA_LOADER_SERVER_HOST = 'localhost'\n CASSANDRA_LOADER_SERVER_PORT = 9042\n CASSANDRA_LOADER_KEYSPACE = 'general'\n CASSANDRA_LOADER_TABLE_NAME = 'images'\n CASSANDRA_LOADER_TABLE_ID_COLUMN = 'image_id'\n CASSANDRA_LOADER_TABLE_BLOB_COLUMN = 'image_data'\n CASSANDRA_LOADER_QUERY' = 'SELECT * FROM {0} WHERE {1}=%s'\n\nTo use thumbor_cassandra for loading original images, change your thumbor.conf to read:\n\n LOADER = 'thumbor_cassandra.loader'\n\nTesting\n-------\n\nIn order to execute [pyvows](http://heynemann.github.com/pyvows/) tests, you have to install pyvows :\n\n pip install pyvows \n\nand run tests with :\n\n pyvows vows\n\n\nLicense\n-------\n\n Licensed under the MIT license:\n http://www.opensource.org/licenses/mit-license\n Copyright (c) 2019 TMG Digital - Speurders.nl\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/glborges/thumbor-cassandra", "keywords": "thumbor,cassandra,images", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "thumbor-cassandra", "package_url": "https://pypi.org/project/thumbor-cassandra/", "platform": "", "project_url": "https://pypi.org/project/thumbor-cassandra/", "project_urls": { "Homepage": "https://github.com/glborges/thumbor-cassandra" }, "release_url": "https://pypi.org/project/thumbor-cassandra/1.0/", "requires_dist": [ "thumbor", "cassandra-driver" ], "requires_python": "", "summary": "Apache Cassandra loader for Thumbor", "version": "1.0" }, "last_serial": 4791575, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "86d0a5b313dc79f73736f9474bb7940b", "sha256": "f4da3363110f72dd58bdb4f4ac4dba40e84666d0d76dff86e725d1b29c2c3912" }, "downloads": -1, "filename": "thumbor_cassandra-1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "86d0a5b313dc79f73736f9474bb7940b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4730, "upload_time": "2019-02-07T15:38:15", "url": "https://files.pythonhosted.org/packages/bf/79/e5e9804052a80b14bf6193e3173e6b912eadbdd70ba8b6a1104b9c05d956/thumbor_cassandra-1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "360fc94b9e74e4022e9de7962d190e38", "sha256": "f4b6723b34fbb4a6741544e9f95713ec71eea9012ee8f3cb6dfe7b184346ceb0" }, "downloads": -1, "filename": "thumbor_cassandra-1.0.tar.gz", "has_sig": false, "md5_digest": "360fc94b9e74e4022e9de7962d190e38", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3168, "upload_time": "2019-02-07T15:38:16", "url": "https://files.pythonhosted.org/packages/78/44/13afaf636e0a6887e805c4b0b4907adb8d9a22d07550775b1cd110dd9b61/thumbor_cassandra-1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "86d0a5b313dc79f73736f9474bb7940b", "sha256": "f4da3363110f72dd58bdb4f4ac4dba40e84666d0d76dff86e725d1b29c2c3912" }, "downloads": -1, "filename": "thumbor_cassandra-1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "86d0a5b313dc79f73736f9474bb7940b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4730, "upload_time": "2019-02-07T15:38:15", "url": "https://files.pythonhosted.org/packages/bf/79/e5e9804052a80b14bf6193e3173e6b912eadbdd70ba8b6a1104b9c05d956/thumbor_cassandra-1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "360fc94b9e74e4022e9de7962d190e38", "sha256": "f4b6723b34fbb4a6741544e9f95713ec71eea9012ee8f3cb6dfe7b184346ceb0" }, "downloads": -1, "filename": "thumbor_cassandra-1.0.tar.gz", "has_sig": false, "md5_digest": "360fc94b9e74e4022e9de7962d190e38", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3168, "upload_time": "2019-02-07T15:38:16", "url": "https://files.pythonhosted.org/packages/78/44/13afaf636e0a6887e805c4b0b4907adb8d9a22d07550775b1cd110dd9b61/thumbor_cassandra-1.0.tar.gz" } ] }