{ "info": { "author": "Mohamed Cherkaoui", "author_email": "chermed@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "Deasy Package\n=============\n\n**Deasy** package provide a single cli command ***oo*** to intercat with odoo instances\n\n**Deasy** is a Python package providing an easy way to\npilot and interact with **Odoo** instances through `CLI`.\n\nFeatures supported:\n - manage informations of the Odoo instances,\n - backup and restore databases,\n - security audit,\n - search the xml-ids of records,\n - show data,\n - execute functions,\n - python shell,\n - JSON-RPC protocol (SSL supported),\n\nMany thanks to OdooRPC_ and Odoo_.\n\nInstallation :\n==============\n\n.. code-block:: shell\n\n pip install deasy\n\nManage informations of Odoo instances :\n=======================================\n\n**Create an entry for an Odoo instance :**\n\n.. code-block:: python\n\n oo create_section YOUR_SECTION_NAME\n\n\n**List sections :**\n\n\n.. code-block:: python\n\n oo sections\n\n\n*You can also use other commands to manage the informations of instances like `section_update` `delete_section` see `oo --help`*\n\n\nManage databases\n================\n\n**Backup a database :**\n\n.. code-block:: python\n\n oo -l YOUR_SECTION_NAME backupdb /to/your/path\n\n\n**Restore a database :**\n\n.. code-block:: python\n\n oo -l YOUR_SECTION_NAME restoredb /from/your/path/yourdb.zip\n\n\n*You can also use other commands to manage databses like `listdb` `dropdb` see `oo --help`*\n\nManage modules\n==============\n\n**Install some modules :**\n\n.. code-block:: python\n\n oo -l YOUR_SECTION_NAME install sale,fleet,purchase\n\n**Update some modules :**\n\n.. code-block:: python\n\n oo -l YOUR_SECTION_NAME update sale,fleet,purchase\n\n\nYou can also uninstall modules using the argument `uninstall` see `oo --help`\n\nIntercat with data\n==================\n\n*Show some data on res.partner :*\n\n.. code-block:: python\n\n oo -l YOUR_SECTION_NAME data res.partner\n\nWith more options :\n\n.. code-block:: python\n\n oo -l YOUR_SECTION_NAME data res.partner -f name -f customer -f supplier -d name like ASUSTEK -o name -l 1\n\nSee `oo data --help`\n\n*Show fields of the model res.partner :*\n\n.. code-block:: python\n\n oo -l YOUR_SECTION_NAME fields res.partner\n\nLaunch python shell\n===================\n\n*Show some data on res.partner :*\n\n.. code-block:: python\n\n oo -l YOUR_SECTION_NAME shell\n >>> Partner = odoo.env['res.partner']\n >>> partner_ids = Partner.search([])\n >>> for partner in Partner.browse(partner_ids):\n ... print partner.name\n ...\n\nRefer to OdooRPC_ documentation\n\nYou can also retrieve data with a simple command :\n\n.. code-block:: python\n\n oo -l YOUR_SECTION_NAME shell\n >>> partners = browse('res.partner') # or browse('res.partner', [])\n >>> for partner in partners :\n ... print partner.name\n ...\n\n\nLicence\n=======\n\nThis software is made available under the LGPL v3 license.\n\nBug Tracker\n===========\n\nPlease, feel free to report bugs or suggestions in the `Bug Tracker `_!\n\nCredits:\n========\n\nMohamed Cherkaoui \n\n\n.. _OdooRPC: https://pypi.python.org/pypi/OdooRPC/\n\n.. _Odoo: https://www.odoo.com\n\n\n\nNews\n====\n\n2.0.0\n-----\n\n*Release date: 03-Jun-2017*\n\n* First stable version", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/chermed/deasy", "keywords": "odoo backup restore security", "license": "LGPL v3", "maintainer": "", "maintainer_email": "", "name": "deasy", "package_url": "https://pypi.org/project/deasy/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/deasy/", "project_urls": { "Homepage": "https://github.com/chermed/deasy" }, "release_url": "https://pypi.org/project/deasy/2.0.0/", "requires_dist": null, "requires_python": "", "summary": "Simple CLI to manage Odoo instances", "version": "2.0.0" }, "last_serial": 2933354, "releases": { "2.0.0": [ { "comment_text": "", "digests": { "md5": "d08b0d8abb46feac96d2e7be97a29d1f", "sha256": "630d387519baac10280e89471de7097f54879180dc55cc1add57bbd4acbed2e8" }, "downloads": -1, "filename": "deasy-2.0.0.tar.gz", "has_sig": false, "md5_digest": "d08b0d8abb46feac96d2e7be97a29d1f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2612, "upload_time": "2017-06-07T20:14:41", "url": "https://files.pythonhosted.org/packages/c0/1f/155f0dad1349e8dc2ead7333152d726aff73116b89dedd759343f251fe61/deasy-2.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d08b0d8abb46feac96d2e7be97a29d1f", "sha256": "630d387519baac10280e89471de7097f54879180dc55cc1add57bbd4acbed2e8" }, "downloads": -1, "filename": "deasy-2.0.0.tar.gz", "has_sig": false, "md5_digest": "d08b0d8abb46feac96d2e7be97a29d1f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2612, "upload_time": "2017-06-07T20:14:41", "url": "https://files.pythonhosted.org/packages/c0/1f/155f0dad1349e8dc2ead7333152d726aff73116b89dedd759343f251fe61/deasy-2.0.0.tar.gz" } ] }