{"id":331,"date":"2019-11-08T11:49:56","date_gmt":"2019-11-08T11:49:56","guid":{"rendered":"http:\/\/34.205.177.117.xip.io\/?page_id=331"},"modified":"2025-10-10T03:49:53","modified_gmt":"2025-10-10T03:49:53","slug":"python-api","status":"publish","type":"page","link":"https:\/\/liquidinstruments.com\/products\/apis\/python-api\/","title":{"rendered":"Python API"},"content":{"rendered":"<div class=\"wpb-content-wrapper\"><p>[vc_row el_class=&#8221;container&#8221;][vc_column]<div class='page-hero-wrapper'>\r\n        <div class='page-hero-inner'>\r\n          \r\n          <div class='page-hero-body'><h1>Python API<\/h1>\n<p>Take control of your Moku hardware with Python. The Python API is compatible with Python scripting and live environments, making it easy to start interacting with your Moku device right away.<\/p>\n<a href=\"#scrollto-before-you-start\" class=\"button outline blue\" ><span>Get started<\/span><\/a>\n<\/div>\r\n        <\/div>\r\n      <\/div><div class='centered-image-wrapper'><div class='vc_row'><div class='centered-image'><img decoding=\"async\" width=\"2560\" height=\"1068\" src=\"https:\/\/liquidinstruments.com\/wp-content\/uploads\/2021\/03\/resources-software-and-utilities-ipad-app-Python-scaled.jpg\" class=\"attachment-full size-full\" alt=\"Moku integration for Python API\" srcset=\"https:\/\/liquidinstruments.com\/wp-content\/uploads\/2021\/03\/resources-software-and-utilities-ipad-app-Python-scaled.jpg 2560w, https:\/\/liquidinstruments.com\/wp-content\/uploads\/2021\/03\/resources-software-and-utilities-ipad-app-Python-300x125.jpg 300w, https:\/\/liquidinstruments.com\/wp-content\/uploads\/2021\/03\/resources-software-and-utilities-ipad-app-Python-1024x427.jpg 1024w, https:\/\/liquidinstruments.com\/wp-content\/uploads\/2021\/03\/resources-software-and-utilities-ipad-app-Python-768x320.jpg 768w, https:\/\/liquidinstruments.com\/wp-content\/uploads\/2021\/03\/resources-software-and-utilities-ipad-app-Python-1536x641.jpg 1536w, https:\/\/liquidinstruments.com\/wp-content\/uploads\/2021\/03\/resources-software-and-utilities-ipad-app-Python-2048x854.jpg 2048w, https:\/\/liquidinstruments.com\/wp-content\/uploads\/2021\/03\/resources-software-and-utilities-ipad-app-Python-600x250.jpg 600w\" sizes=\"(max-width: 2560px) 100vw, 2560px\" \/><\/div><\/div><\/div>[\/vc_column][\/vc_row][vc_row][vc_column]<div class='liquid-centered-text-wrapper'><div class='vc_row container'><div class='liquid-centered-text'><h2>Integrate with Python<\/h2>\n<p>There is no limit to what you can do with Python integration for Moku hardware, from real-time interfacing to automated control. Take advantage of the wide array of open-source libraries to further expand your applications.<\/p>\n<\/div><\/div><\/div>[\/vc_column][\/vc_row][vc_row el_class=&#8221;top-bottom-paddding&#8221;][vc_column]<div class='image-text-col-wrapper'>\n        <div class='image-text-col itc-image-pos-right'>\n          <div class='image-text-col-media'><img decoding=\"async\" width=\"552\" height=\"536\" src=\"https:\/\/liquidinstruments.com\/wp-content\/uploads\/2020\/02\/software_python_interact-in-real-time_animation.gif\" class=\"attachment-full size-full\" alt=\"software_python_interact-in-real-time_animation\" \/><\/div>\n          <div class='image-text-col-info'><h3>Interact in real time<\/h3>\n<p>Write and share scripts for repeatable automation, or command your Moku hardware live, to record and analyze your data all in a single place by partnering our Python API with <a href=\"https:\/\/jupyter.org\" target=\"_blank\" rel=\"noopener noreferrer\">Jupyter<\/a>.<\/p>\n<\/div>\n        <\/div>\n    <\/div><div class='image-text-col-wrapper'>\n        <div class='image-text-col itc-image-pos-left'>\n          <div class='image-text-col-media'><img decoding=\"async\" width=\"1100\" height=\"842\" src=\"https:\/\/liquidinstruments.com\/wp-content\/uploads\/2020\/02\/software_python_automated-control.jpg\" class=\"attachment-full size-full\" alt=\"software_python_automated-control\" srcset=\"https:\/\/liquidinstruments.com\/wp-content\/uploads\/2020\/02\/software_python_automated-control.jpg 1100w, https:\/\/liquidinstruments.com\/wp-content\/uploads\/2020\/02\/software_python_automated-control-300x230.jpg 300w, https:\/\/liquidinstruments.com\/wp-content\/uploads\/2020\/02\/software_python_automated-control-1024x784.jpg 1024w, https:\/\/liquidinstruments.com\/wp-content\/uploads\/2020\/02\/software_python_automated-control-768x588.jpg 768w, https:\/\/liquidinstruments.com\/wp-content\/uploads\/2020\/02\/software_python_automated-control-600x459.jpg 600w\" sizes=\"(max-width: 1100px) 100vw, 1100px\" \/><\/div>\n          <div class='image-text-col-info'><h3>Automated control<\/h3>\n<p>The Python API takes Moku hardware to the next level, turning it into an automated test, measurement, and control device for your lab. Python integration enables your Moku to automatically:<\/p>\n<ul>\n<li>Switch instruments<\/li>\n<li>Acquire and process measurements in real-time<\/li>\n<li>Save data logs\/metadata for post-processing<\/li>\n<li>Generate output signals to control your system<\/li>\n<\/ul>\n<\/div>\n        <\/div>\n    <\/div><div class='image-text-col-wrapper'>\n        <div class='image-text-col itc-image-pos-left'>\n          <div class='image-text-col-media'><img decoding=\"async\" width=\"1100\" height=\"861\" src=\"https:\/\/liquidinstruments.com\/wp-content\/uploads\/2020\/02\/software_python_cross-platform.jpg\" class=\"attachment-full size-full\" alt=\"software_python_cross-platform\" srcset=\"https:\/\/liquidinstruments.com\/wp-content\/uploads\/2020\/02\/software_python_cross-platform.jpg 1100w, https:\/\/liquidinstruments.com\/wp-content\/uploads\/2020\/02\/software_python_cross-platform-300x235.jpg 300w, https:\/\/liquidinstruments.com\/wp-content\/uploads\/2020\/02\/software_python_cross-platform-1024x802.jpg 1024w, https:\/\/liquidinstruments.com\/wp-content\/uploads\/2020\/02\/software_python_cross-platform-768x601.jpg 768w, https:\/\/liquidinstruments.com\/wp-content\/uploads\/2020\/02\/software_python_cross-platform-600x470.jpg 600w\" sizes=\"(max-width: 1100px) 100vw, 1100px\" \/><\/div>\n          <div class='image-text-col-info'><h3>Cross-platform performance<\/h3>\n<p>The Python API for Moku can be dropped in to any existing lab infrastructure. It\u2019s fully supported on Windows, Linux, and OSX, and in many cases you can install it without special privileges.<\/p>\n<p>Share your programs with all your colleagues and computers, regardless of operating system \u2014 they\u2019ll run anywhere.<\/p>\n<\/div>\n        <\/div>\n    <\/div><div class='image-text-top-bottom-wrapper'>\r\n        <div class='ittb-col'>\r\n          <div class='ittb-media'><\/div>\r\n          <div class='ittb-info'><h2 class=\"h2-1\">Supported hardware platforms<\/h2>\n<p class=\"p5-1\">Python integration is available across all Moku hardware platforms.<\/p>\n<\/div>\r\n        <\/div>\r\n      <\/div>[\/vc_column][\/vc_row][vc_row full_width=&#8221;stretch_row&#8221;][vc_column]<div class='gray-wave-separator'><\/div>[\/vc_column][\/vc_row][vc_row css=&#8221;.vc_custom_1619032253324{padding-top: 115px !important;padding-right: 60px !important;padding-left: 60px !important;background-color: #f5f6f7 !important;}&#8221; el_id=&#8221;scrollto-before-you-start&#8221;][vc_column]<div class='getstarted-cards-wrapper'>\n        <div class='vc_row container'>\n          <div class='getstarted-cards-inner'>\n            <div class='getstarted-left-title'><h2>Before you start<\/h2><\/div>\n            <div class='getstarted-cards'><div class='getstarted-description-section'><p><strong>Moku hardware supports the following versions of Python:<\/strong><\/p>\n<ul>\n<li>Version 3.5+<\/li>\n<\/ul>\n<a href=\"https:\/\/www.python.org\/downloads\/\" class=\"button filled blue\" target=\"_blank\"><span>Get Python*<\/span><\/a>\n<p>*Make sure your version of Python is compatible.<\/p>\n<\/div><\/div>\n          <\/div>\n        <\/div>\n      <\/div>[\/vc_column][\/vc_row][vc_row css=&#8221;.vc_custom_1624390207961{padding-bottom: 180px !important;background-color: #f5f6f7 !important;}&#8221;][vc_column]<div class='getstarted-cards-wrapper'>\n        <div class='vc_row container'>\n          <div class='getstarted-cards-inner'>\n            <div class='getstarted-left-title'><h2>Getting started<\/h2><\/div>\n            <div class='getstarted-cards'><div class='getstarted-description-section'><p><strong>For Moku:Delta, Moku:Pro, Moku:Lab, and Moku:Go<\/strong><\/p>\n<p>The API for Python is provided by moku-python, available for download at the Python Package Index or <em><code>pip install moku<\/code><\/em>.<\/p>\n<p><a href=\"https:\/\/apis.liquidinstruments.com\/starting-python.html\" class=\"button filled blue\" target=\"_blank\"><span>Download<\/span><\/a> <a href=\"https:\/\/apis.liquidinstruments.com\" class=\"button filled blue\" target=\"_blank\"><span>Documentation<\/span><\/a> <a href=\"https:\/\/apis.liquidinstruments.com\/starting-python.html\" class=\"button filled blue\" target=\"_blank\"><span>Get started<\/span><\/a><\/p>\n<\/div><\/div>\n          <\/div>\n        <\/div>\n      <\/div>[\/vc_column][\/vc_row]<\/p>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>[vc_row el_class=&#8221;container&#8221;][vc_column][\/vc_column][\/vc_row][vc_row][vc_column][\/vc_column][\/vc_row][vc_row el_class=&#8221;top-bottom-paddding&#8221;][vc_column][\/vc_column][\/vc_row][vc_row full_width=&#8221;stretch_row&#8221;][vc_column][\/vc_column][\/vc_row][vc_row css=&#8221;.vc_custom_1619032253324{padding-top: 115px !important;padding-right: 60px !important;padding-left: 60px !important;background-color: #f5f6f7 !important;}&#8221; el_id=&#8221;scrollto-before-you-start&#8221;][vc_column][\/vc_column][\/vc_row][vc_row css=&#8221;.vc_custom_1624390207961{padding-bottom: 180px !important;background-color: #f5f6f7 !important;}&#8221;][vc_column][\/vc_column][\/vc_row]<\/p>\n","protected":false},"author":23,"featured_media":0,"parent":4783,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"content-type":"","footnotes":""},"class_list":["post-331","page","type-page","status-publish","hentry","site-category-python","site-category-software"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.0 (Yoast SEO v27.0) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Python API - Liquid Instruments<\/title>\n<meta name=\"description\" content=\"Full integration with Python scripting and live environments.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/liquidinstruments.com\/products\/apis\/python-api\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Python API\" \/>\n<meta property=\"og:description\" content=\"Full integration with Python scripting and live environments.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/liquidinstruments.com\/products\/apis\/python-api\/\" \/>\n<meta property=\"og:site_name\" content=\"Liquid Instruments\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/LiquidInstruments\/\" \/>\n<meta property=\"article:modified_time\" content=\"2025-10-10T03:49:53+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@liquidinstrmnts\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/liquidinstruments.com\/products\/apis\/python-api\/\",\"url\":\"https:\/\/liquidinstruments.com\/products\/apis\/python-api\/\",\"name\":\"Python API - Liquid Instruments\",\"isPartOf\":{\"@id\":\"https:\/\/liquidinstruments.com\/#website\"},\"datePublished\":\"2019-11-08T11:49:56+00:00\",\"dateModified\":\"2025-10-10T03:49:53+00:00\",\"description\":\"Full integration with Python scripting and live environments.\",\"breadcrumb\":{\"@id\":\"https:\/\/liquidinstruments.com\/products\/apis\/python-api\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/liquidinstruments.com\/products\/apis\/python-api\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/liquidinstruments.com\/products\/apis\/python-api\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/liquidinstruments.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Products\",\"item\":\"https:\/\/liquidinstruments.com\/products\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"APIs\",\"item\":\"https:\/\/liquidinstruments.com\/products\/apis\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Python API\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/liquidinstruments.com\/#website\",\"url\":\"https:\/\/liquidinstruments.com\/\",\"name\":\"Liquid Instruments\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/liquidinstruments.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/liquidinstruments.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/liquidinstruments.com\/#organization\",\"name\":\"Liquid Instruments\",\"url\":\"https:\/\/liquidinstruments.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/liquidinstruments.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/i0.wp.com\/liquidinstruments.com\/wp-content\/uploads\/2020\/10\/BrandMark-Preferred-RGB-Color.png?fit=1000%2C924&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/liquidinstruments.com\/wp-content\/uploads\/2020\/10\/BrandMark-Preferred-RGB-Color.png?fit=1000%2C924&ssl=1\",\"width\":1000,\"height\":924,\"caption\":\"Liquid Instruments\"},\"image\":{\"@id\":\"https:\/\/liquidinstruments.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/LiquidInstruments\/\",\"https:\/\/x.com\/liquidinstrmnts\",\"https:\/\/www.instagram.com\/liquidinstruments\/\",\"https:\/\/www.linkedin.com\/company\/liquidinstruments\/\",\"https:\/\/www.youtube.com\/c\/LiquidInstruments\",\"https:\/\/vimeo.com\/liquidinstruments\"],\"hasMerchantReturnPolicy\":{\"@type\":\"MerchantReturnPolicy\",\"merchantReturnLink\":\"https:\/\/liquidinstruments.com\/support\/warranty-repairs-and-service\/\"}}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Python API - Liquid Instruments","description":"Full integration with Python scripting and live environments.","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:\/\/liquidinstruments.com\/products\/apis\/python-api\/","og_locale":"en_US","og_type":"article","og_title":"Python API","og_description":"Full integration with Python scripting and live environments.","og_url":"https:\/\/liquidinstruments.com\/products\/apis\/python-api\/","og_site_name":"Liquid Instruments","article_publisher":"https:\/\/www.facebook.com\/LiquidInstruments\/","article_modified_time":"2025-10-10T03:49:53+00:00","twitter_card":"summary_large_image","twitter_site":"@liquidinstrmnts","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/liquidinstruments.com\/products\/apis\/python-api\/","url":"https:\/\/liquidinstruments.com\/products\/apis\/python-api\/","name":"Python API - Liquid Instruments","isPartOf":{"@id":"https:\/\/liquidinstruments.com\/#website"},"datePublished":"2019-11-08T11:49:56+00:00","dateModified":"2025-10-10T03:49:53+00:00","description":"Full integration with Python scripting and live environments.","breadcrumb":{"@id":"https:\/\/liquidinstruments.com\/products\/apis\/python-api\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/liquidinstruments.com\/products\/apis\/python-api\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/liquidinstruments.com\/products\/apis\/python-api\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/liquidinstruments.com\/"},{"@type":"ListItem","position":2,"name":"Products","item":"https:\/\/liquidinstruments.com\/products\/"},{"@type":"ListItem","position":3,"name":"APIs","item":"https:\/\/liquidinstruments.com\/products\/apis\/"},{"@type":"ListItem","position":4,"name":"Python API"}]},{"@type":"WebSite","@id":"https:\/\/liquidinstruments.com\/#website","url":"https:\/\/liquidinstruments.com\/","name":"Liquid Instruments","description":"","publisher":{"@id":"https:\/\/liquidinstruments.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/liquidinstruments.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/liquidinstruments.com\/#organization","name":"Liquid Instruments","url":"https:\/\/liquidinstruments.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/liquidinstruments.com\/#\/schema\/logo\/image\/","url":"https:\/\/i0.wp.com\/liquidinstruments.com\/wp-content\/uploads\/2020\/10\/BrandMark-Preferred-RGB-Color.png?fit=1000%2C924&ssl=1","contentUrl":"https:\/\/i0.wp.com\/liquidinstruments.com\/wp-content\/uploads\/2020\/10\/BrandMark-Preferred-RGB-Color.png?fit=1000%2C924&ssl=1","width":1000,"height":924,"caption":"Liquid Instruments"},"image":{"@id":"https:\/\/liquidinstruments.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/LiquidInstruments\/","https:\/\/x.com\/liquidinstrmnts","https:\/\/www.instagram.com\/liquidinstruments\/","https:\/\/www.linkedin.com\/company\/liquidinstruments\/","https:\/\/www.youtube.com\/c\/LiquidInstruments","https:\/\/vimeo.com\/liquidinstruments"],"hasMerchantReturnPolicy":{"@type":"MerchantReturnPolicy","merchantReturnLink":"https:\/\/liquidinstruments.com\/support\/warranty-repairs-and-service\/"}}]}},"_links":{"self":[{"href":"https:\/\/liquidinstruments.com\/wp-json\/wp\/v2\/pages\/331","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/liquidinstruments.com\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/liquidinstruments.com\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/liquidinstruments.com\/wp-json\/wp\/v2\/users\/23"}],"replies":[{"embeddable":true,"href":"https:\/\/liquidinstruments.com\/wp-json\/wp\/v2\/comments?post=331"}],"version-history":[{"count":7,"href":"https:\/\/liquidinstruments.com\/wp-json\/wp\/v2\/pages\/331\/revisions"}],"predecessor-version":[{"id":24113,"href":"https:\/\/liquidinstruments.com\/wp-json\/wp\/v2\/pages\/331\/revisions\/24113"}],"up":[{"embeddable":true,"href":"https:\/\/liquidinstruments.com\/wp-json\/wp\/v2\/pages\/4783"}],"wp:attachment":[{"href":"https:\/\/liquidinstruments.com\/wp-json\/wp\/v2\/media?parent=331"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}