{ "info": { "author": "Hideo Hattori", "author_email": "hhatto.jp@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Operating System :: POSIX :: Linux", "Programming Language :: C", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3" ], "description": "=======\notamapy\n=======\n\n.. image:: https://travis-ci.org/hhatto/otamapy.png?branch=master\n :target: https://travis-ci.org/hhatto/otamapy\n :alt: Build status\n\nAbout\n=====\notamapy is Python Interface for otama_ (otama is CBIR.).\n\n.. _otama: https://github.com/nagadomi/otama\n.. _nv: https://github.com/nagadomi/nv\n.. _eiio: https://github.com/nagadomi/eiio\n\n\nInstallation\n============\nfrom pip::\n\n $ pip install --upgrade otamapy\n\nfrom easy_install::\n\n $ easy_install -ZU otamapy\n\n\nRequirements\n============\n* Python2.6+ and Python3.2+\n* otama library (otama_, nv_, eiio_)\n\nInstallation otama\n------------------\n\non MacOSX::\n\n $ sh tools/install-libotama-for-macosx.sh\n\non Linux::\n\n $ sh tools/install-libotama.sh\n\n\nUsage\n=====\n\nconfig file (example.conf)\n\n.. code-block:: text\n\n {\n 'namespace': 'testnamespace',\n 'driver': {'name': 'color', 'data_dir': './data', 'color_weight': 0.2},\n 'database': {'driver': 'sqlite3', 'name': './data/store.sqlite3'}\n }\n\nstore to database, and search from database.\n\n.. code-block:: python\n\n # store_and_search.py\n from otama import Otama\n db = Otama.open('example.conf')\n\n kvs = {}\n db.create_table()\n for filename in ('foo.jpg', 'bar.jpg'):\n kvs[db.insert(filename)] = filename\n\n for result in db.search(10, 'foo.jpg'):\n key = result['id']\n print(\"sim=%.3f, file=%s\" % (result['similarity'], kvs[key]))\n\n.. code-block:: text\n\n $ python store_and_search.py\n sim=1.000, file=foo.jpg\n sim=0.969, file=bar.jpg\n\nsee examples_ .\n\n.. _examples: https://github.com/hhatto/otamapy/tree/master/examples\n\nLinks\n=====\n* PyPI_\n* GitHub_\n* `Travis CI`_\n\n.. _PyPI: http://pypi.python.org/pypi/otamapy/\n.. _GitHub: https://github.com/hhatto/otamapy\n.. _`Travis CI`: https://travis-ci.org/hhatto/otamapy", "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/hhatto/otamapy", "keywords": "otama,CBIR", "license": "GPLv3", "maintainer": null, "maintainer_email": null, "name": "otamapy", "package_url": "https://pypi.org/project/otamapy/", "platform": "Linux", "project_url": "https://pypi.org/project/otamapy/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/hhatto/otamapy" }, "release_url": "https://pypi.org/project/otamapy/0.3.2/", "requires_dist": null, "requires_python": null, "summary": "otamapy is Python Interface for otama.", "version": "0.3.2" }, "last_serial": 1300604, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "207435c984db0f4c2740afeeb13e89ce", "sha256": "4173dbd532a4286ead98ee4319c1395ea1d1ed33fdca4d53ad8e4e9d6acf27d1" }, "downloads": -1, "filename": "otamapy-0.0.1.tar.gz", "has_sig": false, "md5_digest": "207435c984db0f4c2740afeeb13e89ce", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4716, "upload_time": "2013-02-10T11:13:31", "url": "https://files.pythonhosted.org/packages/53/45/ea93d2352a907213618c21976ae9d416672184911a48438bd2a174edb41f/otamapy-0.0.1.tar.gz" } ], "0.1": [ { "comment_text": "", "digests": { "md5": "300c902f8890f53d3369bdfdf16ea687", "sha256": "05ad680cfabcb59c9780e217092741633806178c71e9f15e94ea9109297d0c31" }, "downloads": -1, "filename": "otamapy-0.1.tar.gz", "has_sig": false, "md5_digest": "300c902f8890f53d3369bdfdf16ea687", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5267, "upload_time": "2013-02-11T12:57:29", "url": "https://files.pythonhosted.org/packages/ea/e7/f11c1369a1d292537bd58ca6188e8d2531527d3c5d838d70a97c64de7749/otamapy-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "16cbc6d2fdca57cf89b1d519940e2d82", "sha256": "0d815c7864cf9da744572916e4bf7190c039b4178b6f6dbf95ffbac35deaa5ba" }, "downloads": -1, "filename": "otamapy-0.1.1.tar.gz", "has_sig": false, "md5_digest": "16cbc6d2fdca57cf89b1d519940e2d82", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6100, "upload_time": "2013-02-23T16:05:21", "url": "https://files.pythonhosted.org/packages/18/41/43940f18c6ddbefbc3756be69a8a2fff5be0626487c48e5cfe853009e1bf/otamapy-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "b6908299ad33f496a09fe08bd6084e00", "sha256": "cfdeab2807ada971d614ea8c03077c532a82b50dbb3bd0af00a43f727cc2a530" }, "downloads": -1, "filename": "otamapy-0.1.2.tar.gz", "has_sig": false, "md5_digest": "b6908299ad33f496a09fe08bd6084e00", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6092, "upload_time": "2013-03-02T17:52:20", "url": "https://files.pythonhosted.org/packages/18/86/d92077738ae312cba0d855f52558d44e72691c9777afbfab626efd1f17c6/otamapy-0.1.2.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "48158809a4268f61cf6011cbee81ee79", "sha256": "7fd8a8f006ec60e473a02b779365852a8837be7d0817acbc3546684170f21a17" }, "downloads": -1, "filename": "otamapy-0.2.tar.gz", "has_sig": false, "md5_digest": "48158809a4268f61cf6011cbee81ee79", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6433, "upload_time": "2013-03-16T18:49:59", "url": "https://files.pythonhosted.org/packages/28/8e/7cb913495a0dc532a9419df7000f291fa7212c34396b339f93d270f776fa/otamapy-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "0eccc6a40941377ce3145153c8f2ade6", "sha256": "41229b0ff270d4b8fdc15164f95afc99082b48aaea6d69ec3f69937e12cdd29f" }, "downloads": -1, "filename": "otamapy-0.3.tar.gz", "has_sig": false, "md5_digest": "0eccc6a40941377ce3145153c8f2ade6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7191, "upload_time": "2014-01-03T20:11:17", "url": "https://files.pythonhosted.org/packages/83/cd/a86b2345356913f9e6062a10dd9bb561550b726dfc7d92942b198c2f3699/otamapy-0.3.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "598d93def321b198dfe6ae154a7ec9bc", "sha256": "c41fc5dadefbfb4eaa061693d536627de4810a4d2c60052f4ccbb7b53ffd4bf1" }, "downloads": -1, "filename": "otamapy-0.3.1.tar.gz", "has_sig": false, "md5_digest": "598d93def321b198dfe6ae154a7ec9bc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7444, "upload_time": "2014-10-27T09:16:18", "url": "https://files.pythonhosted.org/packages/a1/0e/13aea82cc7103b79e1cea467d6bc58a753d537d2bd235cf057016e3d130c/otamapy-0.3.1.tar.gz" } ], "0.3.2": [ { "comment_text": "", "digests": { "md5": "c4ec107a60aa84adacc7ccac4e27a921", "sha256": "4756d9b30bcb2c01ffefb20eb9b3834ba9d474f76abb135c1054ddbb8f1d0d53" }, "downloads": -1, "filename": "otamapy-0.3.2.tar.gz", "has_sig": false, "md5_digest": "c4ec107a60aa84adacc7ccac4e27a921", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7455, "upload_time": "2014-11-10T05:28:17", "url": "https://files.pythonhosted.org/packages/92/f0/689be95db0e8facbc03f06e10e7834bc2af707ed46f7cf35c5dd1455d5fb/otamapy-0.3.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c4ec107a60aa84adacc7ccac4e27a921", "sha256": "4756d9b30bcb2c01ffefb20eb9b3834ba9d474f76abb135c1054ddbb8f1d0d53" }, "downloads": -1, "filename": "otamapy-0.3.2.tar.gz", "has_sig": false, "md5_digest": "c4ec107a60aa84adacc7ccac4e27a921", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7455, "upload_time": "2014-11-10T05:28:17", "url": "https://files.pythonhosted.org/packages/92/f0/689be95db0e8facbc03f06e10e7834bc2af707ed46f7cf35c5dd1455d5fb/otamapy-0.3.2.tar.gz" } ] }