[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-682222-105":3,"detail-sidebar-cat-0-en-105":80,"doc-detail-682222-en":130,"doc-similar-682222":157},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":73,"head_meta":75,"extra_data":77,"updated_unix":79},105,"en","guidelines-for-python-development-issue-2-draft","GUIDELINES FOR PYTHON DEVELOPMENT - Issue 2 - Draft","","A set of ESA Earth Observation Directorate guidelines defining best practices and standards for Python development across medium to big projects. Covers the end-to-end workflow including source code organisation, packaging, virtual environments, writing/running/debugging, test-driven development, configuration management, and deployment. Addresses quality and performance through code quality rules and performance optimisation practices, and recommends practical Python packages for common development areas such as array-based computation, DataFrame-style analytics, and geo-spatial or satellite data processing tools.",{"@graph":14,"@context":72},[15,34,55],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/technology/","Technology",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/guidelines-for-python-development-issue-2-draft/682222/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/guidelines-for-python-development-issue-2-draft/682222.png","ImageObject",300,407,{"name":42,"@type":43},"McQueen","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-23","2026-11-06",true,{"@type":52,"interactionType":53,"userInteractionCount":33},"InteractionCounter",{"@type":54},"ViewAction",{"@type":56,"mainEntity":57},"FAQPage",[58,64,68],{"name":59,"@type":60,"acceptedAnswer":61},"What is the purpose of these Python development guidelines for ESA projects?","Question",{"text":62,"@type":63},"The guidelines aim to help Python developers produce code that is easier to maintain and improves performance, while unifying Python development and software products for ESA activities related to payload data ground segments and mission performance simulator chains.","Answer",{"name":65,"@type":60,"acceptedAnswer":66},"Which topics are covered in the development workflow section?",{"text":67,"@type":63},"The document covers organising source code and packaging, virtual environments, writing/running/debugging, test-driven development, configuration management, and deployment.",{"name":69,"@type":60,"acceptedAnswer":70},"What does the document recommend regarding quality and performance?",{"text":71,"@type":63},"It specifies practices for maintaining code quality and provides guidance on performance optimisation to support consistent, high-quality Python implementations.","https://schema.org",{"og:url":32,"og:type":74,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":76,"canonical":32},"index,follow",{"doc_id":78,"site_id":7},682222,1793963020,{"code":4,"msg":81,"data":82},"success",[83,87,91,95,100,104,109,114,119,122,126],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":84,"show_sort_weight":85,"slug":86},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":88,"show_sort_weight":89,"slug":90},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":92,"show_sort_weight":93,"slug":94},"Exam",70,"exam",{"id":96,"doc_module":4,"doc_module_name":25,"category_name":97,"show_sort_weight":98,"slug":99},5,"Comic",60,"comic",{"id":101,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":102,"slug":103},6,50,"technology",{"id":105,"doc_module":4,"doc_module_name":25,"category_name":106,"show_sort_weight":107,"slug":108},7,"Healthcare",40,"healthcare",{"id":110,"doc_module":4,"doc_module_name":25,"category_name":111,"show_sort_weight":112,"slug":113},8,"Research & Report",30,"research-report",{"id":115,"doc_module":4,"doc_module_name":25,"category_name":116,"show_sort_weight":117,"slug":118},9,"Religion & Spirituality",20,"religion-spirituality",{"id":117,"doc_module":4,"doc_module_name":25,"category_name":120,"show_sort_weight":117,"slug":121},"World Cup","world-cup",{"id":123,"doc_module":4,"doc_module_name":25,"category_name":124,"show_sort_weight":123,"slug":125},10,"Lifestyle","lifestyle",{"id":127,"doc_module":4,"doc_module_name":25,"category_name":128,"show_sort_weight":96,"slug":129},19,"General","general",{"code":4,"msg":81,"data":131},{"doc_id":78,"user_id":132,"nickname":42,"user_avatar":133,"doc_module":4,"category_id":101,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":33,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":139,"language":140,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":12,"update_tm":79,"read_time":98,"preview_page_count":30,"preview_urls":144},5909890329169,"https://ap-avatar.wpscdn.com/davatar_9964176cb1d06d4a9deccf72a44ae3dc","ESA UNCLASSIFIED – Releasable to the Public  \nESA ESTEC Keplerlaan 1  \n2201 AZ Noordwijk The Netherlands  \nGUIDELINES FOR PYTHON DEVELOPMENT  \nPrepared by  \nDocument Type  \nReference  \nIssue/Revision Date of Issue Status  \nEOP-PEP team ESA  \nTN-Technical Note PE-TN-ESA-GS-0872  \n0 . 2 18/09/2024 Draft  \nESA UNCLASSIFIED – Releasable to the Public  \nESA UNCLASSIFIED – Releasable to the Public  \nAPPROVAL  \nTitle Guidelines for Python development  \n\n| Issue Number | 0 | Revision Number | 2 |\n| --- | --- | --- | --- |\n| Author | EOP-PEP team | Date | 18/09/2024 |\n| Approved By |  | Date of Approval |  |\n\nCHANGE LOG  \n\n| Reason for change | Issue Nr | Revision Number | Date |\n| --- | --- | --- | --- |\n\nInitial version  \n0  \n1  \n25/03/2024  \nSecond revision 0 2 18/09/2024  \nCHANGE RECORD  \n\n| Issue Number 0 | Revision Number 1 |  |  |\n| --- | --- | --- | --- |\n| Reason for change | Date | Pages | Paragraph(s) |\n| Initial version | 25/03/2024 |  |  |\n\n\n| Issue Number 0 | Revision Number 2 |  |  |\n| --- | --- | --- | --- |\n| Reason for change | Date | Pages | Paragraph(s) |\n| Second revision following contributions and comments by EOP-PEP team | 18/09/2024 |  |  |\n\nDISTRIBUTION  \nName/Organisational Unit  \nESA UNCLASSIFIED – Releasable to the Public Page 2/24  \nESA UNCLASSIFIED – Releasable to the Public  \nTable of Contents  \n1. Introduction ...........................................................................................................................4  \n1.1. Reference Documents .......................................................................................................4  \n2. Development Workflow .........................................................................................................5  \n2.1. Organising the source code and packaging the application ..............................................6  \n2.2. Virtual environments ..........................................................................................................7  \n2.3. Writing, running, and debugging Python code ...................................................................9  \n2.4. Test-driven development ................................................................................................. 12  \n2.5. Configuration management ............................................................................................. 14  \n2.6. Deployment ...................................................................................................................... 14  \n3. Quality and Performance .................................................................................................... 15  \n3.1. Code quality ..................................................................................................................... 15  \n3.2. Performance optimisation ................................................................................................ 16  \n4. Recommended packages ...................................................................................................20  \n4.1. Packages based on Python array types ..........................................................................21  \n4.2. Fast DataFrame-type computations ................................................................................22  \n4.3. Geo-spatial and satellite data processing tools ...............................................................23  \n5. Conclusions ........................................................................................................................24  \nESA UNCLASSIFIED – Releasable to the Public Page 3/24  \nESA UNCLASSIFIED – Releasable to the Public  \n1. INTRODUCTION  \nPython is a widely used and versatile programming language that offers many benefits such as readability, simplicity, and a rich set of libraries. However, to ensure the quality, consistency, and maintainability of Python code, it is important to follow some best practices and standards. This document provides a set of gui","cbCaibB4YXnYts4l","https://ap.wps.com/l/cbCaibB4YXnYts4l","pdf",261780,24,"English","# 1. Introduction\n## 1.1. Reference Documents\n# 2. Development Workflow\n## 2.1. Organising the source code and packaging the application\n## 2.2. Virtual environments\n## 2.3. Writing, running, and debugging Python code\n## 2.4. Test-driven development\n## 2.5. Configuration management\n## 2.6. Deployment\n# 3. Quality and Performance\n## 3.1. Code quality\n## 3.2. Performance optimisation\n# 4. Recommended packages\n## 4.1. Packages based on Python array types\n## 4.2. Fast DataFrame-type computations\n## 4.3. Geo-spatial and satellite data processing tools\n# 5. Conclusions","[{\"question\":\"What is the purpose of these Python development guidelines for ESA projects?\",\"answer\":\"The guidelines aim to help Python developers produce code that is easier to maintain and improves performance, while unifying Python development and software products for ESA activities related to payload data ground segments and mission performance simulator chains.\"},{\"question\":\"Which topics are covered in the development workflow section?\",\"answer\":\"The document covers organising source code and packaging, virtual environments, writing/running/debugging, test-driven development, configuration management, and deployment.\"},{\"question\":\"What does the document recommend regarding quality and performance?\",\"answer\":\"It specifies practices for maintaining code quality and provides guidance on performance optimisation to support consistent, high-quality Python implementations.\"}]","GUIDELINES FOR PYTHON DEVELOPMENT - Issue 2 - Draft | PDF",[145,149,153],{"page_no":22,"url":146,"width":147,"height":148},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-06/b35edff57144226e9825b2b2c6bfa58f.webp",983,1390,{"page_no":26,"url":150,"width":151,"height":152},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-06/20d360a671f8f831aa6f13648fc701c1.webp",982,1388,{"page_no":30,"url":154,"width":155,"height":156},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-06/84a4a645f4e66cf30d25dd494fe29bcd.webp",981,1387,{"list":158,"token":11},[159,165,171,178,184,190,197,204,210,216],{"doc_id":160,"doc_title":161,"file_type":137,"home_preview_img_url":162,"slug":163,"view_count":30,"category_name":29,"create_tm":164},687541,"PyCharm 2017. 1 Help - Quick Start Guide - Step-by-step getting started","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000649330/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796114219&Signature=jjWss40VVrExJrGNqbsDksl27W4%3D","pycharm-2017-1-help-quick-start-guide-step-by-step-getting-started",1794084033,{"doc_id":166,"doc_title":167,"file_type":137,"home_preview_img_url":168,"slug":169,"view_count":101,"category_name":29,"create_tm":170},685646,"Programming 101 - Introduction - Programming Basics for FIRST Robotics Competition","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229999685569/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796114219&Signature=8wguS8xIFTIXxBBsm9An%2FTD%2FbpE%3D","programming-101-introduction-programming-basics-for-first-robotics-competition",1794016318,{"doc_id":172,"doc_title":173,"file_type":137,"home_preview_img_url":174,"slug":175,"view_count":176,"category_name":29,"create_tm":177},109479,"The World Bank's MFMod Framework in Python with Modelflow","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229812628538/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796114219&Signature=Yiz5eMVxIQkiuSrzBOyLD0CsDZg%3D","the-world-banks-mfmod-framework-in-python-with-modelflow",22,1784480188,{"doc_id":179,"doc_title":180,"file_type":137,"home_preview_img_url":181,"slug":182,"view_count":33,"category_name":29,"create_tm":183},687537,"PyCharm - About the Tutorial - Getting Started","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230001262099/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796114219&Signature=Di5SaRxrUNxqvwajFapT8KIk8DM%3D","pycharm-about-the-tutorial-getting-started",1794084025,{"doc_id":185,"doc_title":186,"file_type":137,"home_preview_img_url":187,"slug":188,"view_count":96,"category_name":29,"create_tm":189},682224,"Python PEP8 - The Style Guide for Python Code","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229999427682/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796114219&Signature=rVYa%2FovOAAdaXv7ZE8fSLeNHRKw%3D","python-pep8-the-style-guide-for-python-code",1793963024,{"doc_id":191,"doc_title":192,"file_type":137,"home_preview_img_url":193,"slug":194,"view_count":195,"category_name":29,"create_tm":196},118496,"A Practical Guide to Machine Learning Pipelines in Python","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229834614121/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796114219&Signature=ICNAqS%2BoFUIkyrNILQ6aifAPr8Q%3D","a-practical-guide-to-machine-learning-pipelines-in-python",37,1785683874,{"doc_id":198,"doc_title":199,"file_type":137,"home_preview_img_url":200,"slug":201,"view_count":202,"category_name":29,"create_tm":203},150822,"TechnoTurtle Python - Teacher Guide - Lessons for Elementary School Students","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229869770512/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796114219&Signature=XmBIo%2Fz9u2D6SH0p3gDuixTk6MA%3D","technoturtle-python-teacher-guide-lessons-for-elementary-school-students",26,1787827634,{"doc_id":205,"doc_title":206,"file_type":137,"home_preview_img_url":207,"slug":208,"view_count":33,"category_name":29,"create_tm":209},692325,"Python Coding Standards - Version A - Released","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230003217830/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796114219&Signature=RsCZkGFV6iQ5l3a79TRmdosVcUE%3D","python-coding-standards-version-a-released",1794193583,{"doc_id":211,"doc_title":212,"file_type":137,"home_preview_img_url":213,"slug":214,"view_count":176,"category_name":29,"create_tm":215},656406,"Apex Developer Guide - Version 68.0 - Winter ’27","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975308709/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796114219&Signature=%2B6FFVCjkiDLqu2rAMrPP7EXu8FU%3D","apex-developer-guide-version-680-winter-27",1792968277,{"doc_id":217,"doc_title":218,"file_type":137,"home_preview_img_url":219,"slug":220,"view_count":221,"category_name":29,"create_tm":222},267447,"SES Infographic 5G","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229898567915/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796114219&Signature=OxPjyhwir5EywVy9lwOv82id45o%3D","ses-infographic-5g",13,1789419005]