{ "info": { "author": "Luis Alejandro Mart\u00ednez Faneyth", "author_email": "luis@huntingbears.com.ve", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Natural Language :: English", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": ".. image:: https://gitcdn.xyz/repo/LuisAlejandro/candyshop/master/docs/_static/banner.svg\n\n..\n\n An assistant to determine if all your dependencies are declared properly in your odoo module.\n\n.. image:: https://img.shields.io/pypi/v/candyshop.svg\n :target: https://pypi.python.org/pypi/candyshop\n :alt: PyPI Package\n\n.. image:: https://img.shields.io/travis/LuisAlejandro/candyshop.svg\n :target: https://travis-ci.org/LuisAlejandro/candyshop\n :alt: Travis CI\n\n.. image:: https://coveralls.io/repos/github/LuisAlejandro/candyshop/badge.svg?branch=master\n :target: https://coveralls.io/github/LuisAlejandro/candyshop?branch=master\n :alt: Coveralls\n\n.. image:: https://codeclimate.com/github/LuisAlejandro/candyshop/badges/gpa.svg\n :target: https://codeclimate.com/github/LuisAlejandro/candyshop\n :alt: Code Climate\n\n.. image:: https://pyup.io/repos/github/LuisAlejandro/candyshop/shield.svg\n :target: https://pyup.io/repos/github/LuisAlejandro/candyshop/\n :alt: Updates\n\n.. image:: https://readthedocs.org/projects/candyshop/badge/?version=latest\n :target: https://readthedocs.org/projects/candyshop/?badge=latest\n :alt: Read The Docs\n\n.. image:: https://cla-assistant.io/readme/badge/LuisAlejandro/candyshop\n :target: https://cla-assistant.io/LuisAlejandro/candyshop\n :alt: Contributor License Agreement\n\n.. image:: https://badges.gitter.im/LuisAlejandro/candyshop.svg\n :target: https://gitter.im/LuisAlejandro/candyshop\n :alt: Gitter Chat\n\n|\n|\n\n.. _full documentation: https://candyshop.readthedocs.org\n\nCandyshop is a helper to determine if all your dependencies are declared\nproperly. A Candyshop is a place where you can pick sweets and candies from\na list of wonderful options, but choose wisely.\n\nFor more information, please read the `full documentation`_.\n\nFeatures\n========\n\n* Access an Odoo Module as an object abstraction.\n* Get all module references from all xml files of a module.\n* Generate and clone the dependency tree of a group of modules (bundle).\n* Generate a virtual enviroment where you can add group of modules.\n* Determine which Odoo Modules declare a dependency to another module that is not\n present in the environment.\n* Determine which XML files make reference to an Odoo Module that is not present\n in the environment.\n\nGetting started\n===============\n\nInstallation\n------------\n\n.. _PyPI: https://pypi.python.org/pypi/candyshop\n\nThe ``candyshop`` program is written in python and hosted on PyPI_. Therefore, you can use\npip to install the stable version::\n\n $ pip install --upgrade candyshop\n\nIf you want to install the development version (not recomended), you can install\ndirectlty from GitHub like this::\n\n $ pip install --upgrade https://github.com/LuisAlejandro/candyshop/archive/master.tar.gz\n\nUsage\n-----\n\nHere you can consult practical uses for some of the Candyshop functions.\nFor a more detailed review on what you can do with it, we recommend you to read\nthe `api` documentation.\n\nThe ``Module`` class\n~~~~~~~~~~~~~~~~~~~~\n\nThe ``Module`` class is an abstraction of an Odoo Module. You can perform\nseveral operations to access the module information::\n\n from candyshop.bundle import Module\n\n # Create a Module instance\n module = Module('path/to/module')\n\n # Query for data\n print(module.path)\n print(module.manifest)\n\n # Query information in manifest file\n print(module.properties.name)\n print(module.properties.version)\n print(module.properties.depends)\n\nThe ``Bundle`` class\n~~~~~~~~~~~~~~~~~~~~\n\nThe ``Bundle`` class is an abstraction of a *Group* of modules, often referred\nto as *Addons*. Here you can see how to interact with a bundle::\n\n from candyshop.bundle import Bundle\n\n # Create a Bundle instance\n bundle = Bundle('path/to/bundle')\n\n # Query for data\n print(bundle.name)\n print(bundle.path)\n print(bundle.modules)\n print(bundle.oca_dependencies)\n\nThe ``Environment`` class\n~~~~~~~~~~~~~~~~~~~~~~~~~\n\nThe ``Environment`` class is an abstraction of a virtual Odoo Environment.\nThink of it as an imaginary container inside of which you can add ``Bundles``\nand ask for specific information about them. For example::\n\n from candyshop.environment import Environment\n\n # Create an Environment\n env = Environment()\n\n # Insert bundles\n # If any bundle has an oca_dependencies.txt file,\n # clone its dependencies and insert them as bundles\n env.addbundles(['./path-to-bundle', '../addons', '../etc'])\n\n # Make a report about dependencies that are not present in\n # the environment\n env.get_notmet_dependencies_report()\n\n # Make a report about record ids that reference modules\n # which are not present in the environment\n env.get_notmet_record_ids_report()\n\nGetting help\n============\n\n.. _Gitter Chat: https://gitter.im/LuisAlejandro/candyshop\n.. _StackOverflow: http://stackoverflow.com/questions/ask\n\nIf you have any doubts or problems, suscribe to our `Gitter Chat`_ and ask for help. You can also\nask your question on StackOverflow_ (tag it ``pypicontents``) or drop me an email at luis@huntingbears.com.ve.\n\nContributing\n============\n\n.. _CONTRIBUTING.rst: CONTRIBUTING.rst\n\nSee CONTRIBUTING.rst_ for details.\n\n\nRelease history\n===============\n\n.. _HISTORY.rst: HISTORY.rst\n\nSee HISTORY.rst_ for details.\n\nLicense\n=======\n\n.. _COPYING.rst: COPYING.rst\n.. _AUTHORS.rst: AUTHORS.rst\n.. _GPL-3 License: LICENSE.rst\n\nCopyright 2016-2017, Candyshop Developers (read AUTHORS.rst_ for a full list of copyright holders).\n\nReleased under a `GPL-3 License`_ (read COPYING.rst_ for license details).\n\nMade with :heart: and :hamburger:\n=================================\n\n.. image:: http://huntingbears.com.ve/static/img/site/banner.svg\n\n.. _Patreon: https://www.patreon.com/luisalejandro\n.. _Flattr: https://flattr.com/profile/luisalejandro\n.. _PayPal: https://www.paypal.me/martinezfaneyth\n.. _LuisAlejandroTwitter: https://twitter.com/LuisAlejandro\n.. _LuisAlejandroGitHub: https://github.com/LuisAlejandro\n.. _huntingbears.com.ve: http://huntingbears.com.ve\n\n|\n\nMy name is Luis (`@LuisAlejandro`__) and I'm a Free and\nOpen-Source Software developer living in Maracay, Venezuela.\n\n__ LuisAlejandroTwitter_\n\nIf you like what I do, please support me on Patreon_, Flattr_, or donate via PayPal_,\nso that I can continue doing what I love.\n\n Blog huntingbears.com.ve_ \u00b7 GitHub `@LuisAlejandro`__ \u00b7 Twitter `@LuisAlejandro`__\n\n__ LuisAlejandroGitHub_\n__ LuisAlejandroTwitter_\n\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/LuisAlejandro/candyshop", "keywords": "odoo", "license": "\nCopyright (C) 2016-2017, Candyshop Developers.\n\nPlease refer to AUTHORS.rst for a complete list of Copyright holders.\n\nCandyshop is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nCandyshop is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program. If not, see http://www.gnu.org/licenses.\n", "maintainer": "", "maintainer_email": "", "name": "candyshop", "package_url": "https://pypi.org/project/candyshop/", "platform": "", "project_url": "https://pypi.org/project/candyshop/", "project_urls": { "Homepage": "https://github.com/LuisAlejandro/candyshop" }, "release_url": "https://pypi.org/project/candyshop/0.1.5/", "requires_dist": null, "requires_python": "", "summary": "Candyshop is a helper to determine if all your dependencies are declared properly.", "version": "0.1.5" }, "last_serial": 4610691, "releases": { "0.1.1": [ { "comment_text": "", "digests": { "md5": "f6b4676efe0c410410a193b7a6173ce5", "sha256": "64c1056c7efc4a475ab3dd29a1e3942d84fde30b65640da9f94719abf916a61d" }, "downloads": -1, "filename": "candyshop-0.1.1.tar.gz", "has_sig": false, "md5_digest": "f6b4676efe0c410410a193b7a6173ce5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 102797, "upload_time": "2017-07-17T16:40:20", "url": "https://files.pythonhosted.org/packages/44/f3/80f04d942ea213f089f7bcc18de6969216b512d5cca45fb048c1209623d1/candyshop-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "fb3f1f4426bfc9a12ce7ac44430fa667", "sha256": "d12db4c94732c0d9217267e45fdb324bec7bba280ad016a4b2a97c2a30f3a7b7" }, "downloads": -1, "filename": "candyshop-0.1.2.tar.gz", "has_sig": false, "md5_digest": "fb3f1f4426bfc9a12ce7ac44430fa667", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 107485, "upload_time": "2017-07-17T18:26:11", "url": "https://files.pythonhosted.org/packages/d7/bd/626b8061b6b4378907226bd71cfabcf7a5e8647590024029f49660d58f82/candyshop-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "f15423a136280560c382e5679f6b00a2", "sha256": "cbf37c1567be8228bc26b0c7d73f9f7569a1f2d2ca7bec999781a27e673875c5" }, "downloads": -1, "filename": "candyshop-0.1.3.tar.gz", "has_sig": false, "md5_digest": "f15423a136280560c382e5679f6b00a2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 107972, "upload_time": "2017-07-17T19:06:21", "url": "https://files.pythonhosted.org/packages/a3/8e/700515c4119b5e17ff047371912ce4bae613f632eee2120e205aa540cfc2/candyshop-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "38b82d7f933726e6b5035920a60c604f", "sha256": "a29018d0a5ce6f0abc9df6f335a08cb9296ec0dfa2d70d806b5a92acee2e0431" }, "downloads": -1, "filename": "candyshop-0.1.4.tar.gz", "has_sig": false, "md5_digest": "38b82d7f933726e6b5035920a60c604f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 107369, "upload_time": "2017-08-02T14:52:29", "url": "https://files.pythonhosted.org/packages/4d/c1/85e279e299a24159e4c5c26be924dbffe511375c9a9523106928a59f49f1/candyshop-0.1.4.tar.gz" } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "05004e83d1eedc0da9d456603e45dc4e", "sha256": "1d719c579f9d82a9076839e2bc3709ad7d1ba16b1bd7e65ddd85052bb9557337" }, "downloads": -1, "filename": "candyshop-0.1.5.tar.gz", "has_sig": false, "md5_digest": "05004e83d1eedc0da9d456603e45dc4e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 369651, "upload_time": "2018-12-18T03:40:07", "url": "https://files.pythonhosted.org/packages/f6/37/3f160fc4e088bf53ab458d40c524e3c5c9ecea62f7cc856f9136d02791ff/candyshop-0.1.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "05004e83d1eedc0da9d456603e45dc4e", "sha256": "1d719c579f9d82a9076839e2bc3709ad7d1ba16b1bd7e65ddd85052bb9557337" }, "downloads": -1, "filename": "candyshop-0.1.5.tar.gz", "has_sig": false, "md5_digest": "05004e83d1eedc0da9d456603e45dc4e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 369651, "upload_time": "2018-12-18T03:40:07", "url": "https://files.pythonhosted.org/packages/f6/37/3f160fc4e088bf53ab458d40c524e3c5c9ecea62f7cc856f9136d02791ff/candyshop-0.1.5.tar.gz" } ] }