{"id":170145,"date":"2019-04-16T10:19:44","date_gmt":"2019-04-16T10:19:44","guid":{"rendered":"https:\/\/webkul.com\/blog\/?p=170145"},"modified":"2021-07-13T14:59:54","modified_gmt":"2021-07-13T14:59:54","slug":"create-word-document-in-python-odoo-python-docx","status":"publish","type":"post","link":"https:\/\/webkul.com\/blog\/create-word-document-in-python-odoo-python-docx\/","title":{"rendered":"Create .docx file in python(Odoo): python-docx"},"content":{"rendered":"\n<p>In this tutorial, I will discuss how to create the .docx file using python. In python one of the ways to create the .docx file is using the <span class=\"n\">python<\/span><span class=\"o\">&#8211;<\/span><span class=\"n\">docx <\/span>library. Recently I was working on a project in Odoo where I needed to create a .docx file using python. I faced some challenges that I am sharing here.&nbsp; I will show how to add the images, header, footer, etc in the .docx file.<\/p>\n\n\n\n<p>In order to start with the python-docx, you have to install the library, you can install the library using any of the following ways.<br><strong><span class=\"n\">1) You can install it using pip as:<\/span><\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">pip <span class=\"n\">install<\/span> <span class=\"n\">python<\/span><span class=\"o\">-<\/span><span class=\"n\">docx<\/span><\/pre>\n\n\n\n<p><strong>2<span class=\"n\">)You can install it using easy_install as:<\/span><\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><span class=\"n\">easy_install<\/span> <span class=\"n\">python<\/span><span class=\"o\">-<\/span><span class=\"n\">docx<\/span><\/pre>\n\n\n\n<p><strong>3) You can also install it by manually downloading from PyPI, unpack it and then simply run setup.py<\/strong><\/p>\n\n\n\n<p>tar xvzf python-docx-{version}.tar.gz<\/p>\n\n\n\n<p>cd python-docx-{version}<\/p>\n\n\n\n<p><span class=\"n\">python<\/span> <span class=\"n\">setup<\/span><span class=\"o\">.<\/span><span class=\"n\">py<\/span> <span class=\"n\">install<\/span><\/p>\n\n\n\n<p><strong>4) After the library is installed you can create a .docx file. I will create a &#8220;Test_word.docx&#8221; file and I will explain the meaning of some words also.<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">from docx import Document   #Import the Document\nfrom docx.shared import Inches   #Import Inches, used to set width, height etc\nfrom docx.shared import Pt   #Import Pt, used to font etc\ndocument = Document()  \nlogo_path = &#039;logo.png&#039;    # Path of the image file\nsection = document.sections&#091;0]   # Create a section\nsec_header = section.header   # Create header \nheader_tp = sec_header.add_paragraph()  # Add a paragraph in the header, you can add any anything in the paragraph\nheader_run = header_tp.add_run()   # Add a run in the paragraph. In the run you can set the values \nheader_run.add_picture(logo_path, width=Inches(2.0))  # Add a picture and set width.\nrml_header = &quot;\\t\\t This is the header message&quot;\nheader_run.add_text(rml_header)\nheader_run.add_text(&quot;\\n________________________________________________________________________________________________&quot;)\nheader_run.font.size =  Pt(8)\ntext = &quot;Second Floor\\nA 20 Sector 1\\n Lajpat Nagar \\nNew Delhi 201301\\n______________&quot;\ntable_main = document.add_table(rows=1, cols=2)\n\ntable_main.allow_autofit = True\ntx_cells = table_main.rows&#091;0].cells\n\ntb_cell_run = tx_cells&#091;0].add_paragraph().add_run()\ntb_cell_run.add_text(text)\ntb_cell_run.font.size =  Pt(8)\ntx_cells&#091;0].width = Inches(5)\n\npic_cells = table_main.rows&#091;0].cells\npic_cell = pic_cells&#091;1]\n\nrun = pic_cell.add_paragraph().add_run()\nrun.add_picture(&quot;user_image.jpg&quot;, width=Inches(0.8))\n\nuser_address = document.add_paragraph()\nuser_address_run = user_address.add_run()\nuser_address_run.text = &quot;First Floor\\nA 50 Sector 1\\n Noida \\n U.P 201301\\n______________&quot;\nuser_address_run.font.size =  Pt(8)\ntable = document.add_table(rows=1, cols=4)  #Create a table with and set the rows and columns\ntable.style = &quot;Table Grid&quot;   # Define the table style.  You can set any style defined in the styles files of the library\nhdr_cells = table.rows&#091;0].cells\nhdr_cells&#091;0].text = &#039;Image&#039;\nhdr_cells&#091;1].text = &#039;Product&#039;\nhdr_cells&#091;2].text = &#039;Quantity&#039;\nhdr_cells&#091;3].text = &#039;Unit Price&#039;\n\nrecords = &#091;{&#039;image&#039;:&quot;1.jpeg&quot;, &quot;product&quot;:&quot;Product 1&quot;,&#039;quantity&#039;:1, &#039;price&#039;:100}, {&#039;image&#039;:&quot;2.png&quot;, &quot;product&quot;:&quot;Product 2&quot;,&#039;quantity&#039;:2, &#039;price&#039;:200}]\nfor record in records:\n    row_cells = table.add_row().cells\n    image_cell = row_cells&#091;0].add_paragraph(&#039;&#039;)\n    image_cell.add_run().add_picture(record.get(&#039;image&#039;), width=Inches(0.5))\n    row_cells&#091;1].text = str(record.get(&#039;product&#039;))\n    row_cells&#091;2].text = str(record.get(&#039;quantity&#039;)) \n    row_cells&#091;3].text = str(record.get(&#039;price&#039;))\nsection = document.sections&#091;0]\ndefault_footer = section.footer   # Add a footer\nfooter_p = default_footer.add_paragraph()\ntext = &quot;Phone: 1256252352565  .  Email:test@gmail.com   .   Website: http:\/\/www.example.com&quot;\nfooter_r = footer_p.add_run()\nfooter_r.add_text(text)\nfooter_r.font.size = Pt(8)\n\ndocument.add_page_break()\ndocument.save(&quot;Test_word.docx&quot;)  # Save the file<\/pre>\n\n\n\n<p>This is the screenshot of the file that has been created after compilation.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"775\" height=\"520\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/04\/Test_file.png\" alt=\"Test_file\" class=\"wp-image-170184\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/04\/Test_file.png 775w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/04\/Test_file-250x168.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/04\/Test_file-300x201.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/04\/Test_file-768x515.png 768w\" sizes=\"(max-width: 775px) 100vw, 775px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>You can customize your file according to your requirement using the style, fonts, width, alignment, etc. You can check the features from the GitHub.<br>https:\/\/github.com\/python-openxml\/python-docx<\/p>\n\n\n\n<p>If you are using Odoo then you can also save this file in the attachment and then can download it from there whenever required.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted brush:py\">Attachment = self.env['ir.attachment'].sudo().create({\n\t\t\t\t'datas': base64Data,\n\t\t\t\t'type': 'binary',\n\t\t\t\t'res_model': 'modal.modal',\n\t\t\t\t'res_id': int(quote_id),\n\t\t\t\t'db_datas': 'Test_Docx.docx',\n\t\t\t\t'datas_fname':'Test_Docx.docx',\n\t\t\t\t'name':'Test_Docx.docx',\n\t\t\t\t}\n\t\t\t\t)<\/pre>\n\n\n\n<p>That is it.!!!<br><span style=\"color: #666699;\">If you liked this post, I would be very grateful if you write your opinions, comments and suggestions to keep the post updated and interesting.<\/span><br><strong><span style=\"color: #666699;\">Thank you!<\/span><\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this tutorial, I will discuss how to create the .docx file using python. In python one of the ways to create the .docx file is using the python&#8211;docx library. Recently I was working on a project in Odoo where I needed to create a .docx file using python. I faced some challenges that I <a href=\"https:\/\/webkul.com\/blog\/create-word-document-in-python-odoo-python-docx\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":88,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2007],"tags":[8375,8374,1267,8377,3324,8373,8372,8376],"class_list":["post-170145","post","type-post","status-publish","format-standard","hentry","category-odoo","tag-doc","tag-docx","tag-odoo","tag-odoo-doc-file","tag-python","tag-python-doc","tag-python-docx","tag-word-file"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Create a simple docx file usign python (Odoo): python-docx library<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/webkul.com\/blog\/create-word-document-in-python-odoo-python-docx\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Create a simple docx file usign python (Odoo): python-docx library\" \/>\n<meta property=\"og:description\" content=\"In this tutorial, I will discuss how to create the .docx file using python. In python one of the ways to create the .docx file is using the python&#8211;docx library. Recently I was working on a project in Odoo where I needed to create a .docx file using python. I faced some challenges that I [...]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webkul.com\/blog\/create-word-document-in-python-odoo-python-docx\/\" \/>\n<meta property=\"og:site_name\" content=\"Webkul Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/webkul\/\" \/>\n<meta property=\"article:published_time\" content=\"2019-04-16T10:19:44+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-07-13T14:59:54+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2019\/04\/Test_file.png\" \/>\n<meta name=\"author\" content=\"Jahangir Naik\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@webkul\" \/>\n<meta name=\"twitter:site\" content=\"@webkul\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jahangir Naik\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/webkul.com\/blog\/create-word-document-in-python-odoo-python-docx\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/create-word-document-in-python-odoo-python-docx\/\"},\"author\":{\"name\":\"Jahangir Naik\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/d3efd6f1d02c2713752e7cba0b626ca6\"},\"headline\":\"Create .docx file in python(Odoo): python-docx\",\"datePublished\":\"2019-04-16T10:19:44+00:00\",\"dateModified\":\"2021-07-13T14:59:54+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/create-word-document-in-python-odoo-python-docx\/\"},\"wordCount\":278,\"commentCount\":9,\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/create-word-document-in-python-odoo-python-docx\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2019\/04\/Test_file.png\",\"keywords\":[\".doc\",\".docx\",\"odoo\",\"Odoo doc file\",\"python\",\"python doc\",\"Python-docx\",\"word file\"],\"articleSection\":[\"Odoo\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/webkul.com\/blog\/create-word-document-in-python-odoo-python-docx\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webkul.com\/blog\/create-word-document-in-python-odoo-python-docx\/\",\"url\":\"https:\/\/webkul.com\/blog\/create-word-document-in-python-odoo-python-docx\/\",\"name\":\"Create a simple docx file usign python (Odoo): python-docx library\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/create-word-document-in-python-odoo-python-docx\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/create-word-document-in-python-odoo-python-docx\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2019\/04\/Test_file.png\",\"datePublished\":\"2019-04-16T10:19:44+00:00\",\"dateModified\":\"2021-07-13T14:59:54+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/webkul.com\/blog\/create-word-document-in-python-odoo-python-docx\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webkul.com\/blog\/create-word-document-in-python-odoo-python-docx\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/create-word-document-in-python-odoo-python-docx\/#primaryimage\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/04\/Test_file.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/04\/Test_file.png\",\"width\":775,\"height\":520,\"caption\":\"Test_file\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webkul.com\/blog\/create-word-document-in-python-odoo-python-docx\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create .docx file in python(Odoo): python-docx\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/webkul.com\/blog\/#website\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"name\":\"Webkul Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/webkul.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/webkul.com\/blog\/#organization\",\"name\":\"WebKul Software Private Limited\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"width\":380,\"height\":380,\"caption\":\"WebKul Software Private Limited\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/webkul\/\",\"https:\/\/x.com\/webkul\",\"https:\/\/www.instagram.com\/webkul\/\",\"https:\/\/www.linkedin.com\/company\/webkul\",\"https:\/\/www.youtube.com\/user\/webkul\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/d3efd6f1d02c2713752e7cba0b626ca6\",\"name\":\"Jahangir Naik\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/20021fdcdb324166dd5aef0f183ffb391facf8853dd58f9fcabc0950f4118c01?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/20021fdcdb324166dd5aef0f183ffb391facf8853dd58f9fcabc0950f4118c01?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"caption\":\"Jahangir Naik\"},\"url\":\"https:\/\/webkul.com\/blog\/author\/jahangir260\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Create a simple docx file usign python (Odoo): python-docx library","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/webkul.com\/blog\/create-word-document-in-python-odoo-python-docx\/","og_locale":"en_US","og_type":"article","og_title":"Create a simple docx file usign python (Odoo): python-docx library","og_description":"In this tutorial, I will discuss how to create the .docx file using python. In python one of the ways to create the .docx file is using the python&#8211;docx library. Recently I was working on a project in Odoo where I needed to create a .docx file using python. I faced some challenges that I [...]","og_url":"https:\/\/webkul.com\/blog\/create-word-document-in-python-odoo-python-docx\/","og_site_name":"Webkul Blog","article_publisher":"https:\/\/www.facebook.com\/webkul\/","article_published_time":"2019-04-16T10:19:44+00:00","article_modified_time":"2021-07-13T14:59:54+00:00","og_image":[{"url":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2019\/04\/Test_file.png","type":"","width":"","height":""}],"author":"Jahangir Naik","twitter_card":"summary_large_image","twitter_creator":"@webkul","twitter_site":"@webkul","twitter_misc":{"Written by":"Jahangir Naik","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/webkul.com\/blog\/create-word-document-in-python-odoo-python-docx\/#article","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/create-word-document-in-python-odoo-python-docx\/"},"author":{"name":"Jahangir Naik","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/d3efd6f1d02c2713752e7cba0b626ca6"},"headline":"Create .docx file in python(Odoo): python-docx","datePublished":"2019-04-16T10:19:44+00:00","dateModified":"2021-07-13T14:59:54+00:00","mainEntityOfPage":{"@id":"https:\/\/webkul.com\/blog\/create-word-document-in-python-odoo-python-docx\/"},"wordCount":278,"commentCount":9,"publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"image":{"@id":"https:\/\/webkul.com\/blog\/create-word-document-in-python-odoo-python-docx\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2019\/04\/Test_file.png","keywords":[".doc",".docx","odoo","Odoo doc file","python","python doc","Python-docx","word file"],"articleSection":["Odoo"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webkul.com\/blog\/create-word-document-in-python-odoo-python-docx\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webkul.com\/blog\/create-word-document-in-python-odoo-python-docx\/","url":"https:\/\/webkul.com\/blog\/create-word-document-in-python-odoo-python-docx\/","name":"Create a simple docx file usign python (Odoo): python-docx library","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/webkul.com\/blog\/create-word-document-in-python-odoo-python-docx\/#primaryimage"},"image":{"@id":"https:\/\/webkul.com\/blog\/create-word-document-in-python-odoo-python-docx\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2019\/04\/Test_file.png","datePublished":"2019-04-16T10:19:44+00:00","dateModified":"2021-07-13T14:59:54+00:00","breadcrumb":{"@id":"https:\/\/webkul.com\/blog\/create-word-document-in-python-odoo-python-docx\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webkul.com\/blog\/create-word-document-in-python-odoo-python-docx\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/create-word-document-in-python-odoo-python-docx\/#primaryimage","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/04\/Test_file.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/04\/Test_file.png","width":775,"height":520,"caption":"Test_file"},{"@type":"BreadcrumbList","@id":"https:\/\/webkul.com\/blog\/create-word-document-in-python-odoo-python-docx\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Create .docx file in python(Odoo): python-docx"}]},{"@type":"WebSite","@id":"https:\/\/webkul.com\/blog\/#website","url":"https:\/\/webkul.com\/blog\/","name":"Webkul Blog","description":"","publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/webkul.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/webkul.com\/blog\/#organization","name":"WebKul Software Private Limited","url":"https:\/\/webkul.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","width":380,"height":380,"caption":"WebKul Software Private Limited"},"image":{"@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/webkul\/","https:\/\/x.com\/webkul","https:\/\/www.instagram.com\/webkul\/","https:\/\/www.linkedin.com\/company\/webkul","https:\/\/www.youtube.com\/user\/webkul\/"]},{"@type":"Person","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/d3efd6f1d02c2713752e7cba0b626ca6","name":"Jahangir Naik","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/20021fdcdb324166dd5aef0f183ffb391facf8853dd58f9fcabc0950f4118c01?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/20021fdcdb324166dd5aef0f183ffb391facf8853dd58f9fcabc0950f4118c01?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","caption":"Jahangir Naik"},"url":"https:\/\/webkul.com\/blog\/author\/jahangir260\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/170145","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/users\/88"}],"replies":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/comments?post=170145"}],"version-history":[{"count":22,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/170145\/revisions"}],"predecessor-version":[{"id":295917,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/170145\/revisions\/295917"}],"wp:attachment":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media?parent=170145"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/categories?post=170145"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/tags?post=170145"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}