[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-692325-105":3,"detail-sidebar-cat-0-en-105":80,"doc-detail-692325-en":130,"doc-similar-692325":149},{"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","python-coding-standards-version-a-released","Python Coding Standards - Version A - Released","","Python Coding Standards defines coding and documentation requirements for Python software development within the ALMA project. It specifies standards and best practices for code conformance, including overall adherence to PEP 8 and documented deviations and extensions. The guidance covers module, package, and method naming conventions, plus requirements for comments and docstrings, and describes how to use and integrate a documentation generator for consistent developer-facing documentation across the project.",{"@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/python-coding-standards-version-a-released/692325/",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/python-coding-standards-version-a-released/692325.png","ImageObject",300,407,{"name":42,"@type":43},"Theodore","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-20","2026-11-09",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 and scope of this Python Coding Standards document?","Question",{"text":62,"@type":63},"It specifies standards and best practices for coding and documenting Python code within the ALMA software-development project, applying to all Python code checked into the project’s permanent CVS repository.","Answer",{"name":65,"@type":60,"acceptedAnswer":66},"What baseline coding standard must ALMA Python code follow?",{"text":67,"@type":63},"Except where noted, the code must conform to PEP 8, the Style Guide for Python Code.",{"name":69,"@type":60,"acceptedAnswer":70},"How does ALMA handle naming conventions for modules, packages, and methods?",{"text":71,"@type":63},"Module and package names use the “CapWords” convention, while method names use the “mixedCase” convention.","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},692325,1794193583,{"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":101,"language":139,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":140,"faqs":141,"seo_title":142,"seo_description":12,"update_tm":79,"read_time":143,"preview_page_count":22,"preview_urls":144},7971461740886,"https://ap-avatar.wpscdn.com/davatar_3d24733baf745e90a7e4bdd5f77d97b2","Python Coding Standards  \nCOMP-[70.20.00.00](70.20.00.00)-002-A-STD  \nVersion: A  \nStatus: Released  \n2003-07-21  \n\n| Prepared By: |  |  |\n| --- | --- | --- |\n| Name(s) and Signature(s) | Organization | Date |\n| Jeffrey A. Uphoff | NRAO | 2003-07-21 |\n| Approved By: |  |  |\n| Name and Signature | Organization | Date |\n| B.E. Glendenning | NRAO | 2003-09-12 |\n| G. Raffi | ESO | 2003-09-12 |\n| Released By: |  |  |\n| Name and Signature | Organization | Date |\n| B.E. Glendenning | NRAO | 2003-09-12 |\n| G. Raffi | ESO | 2003-09-12 |\n\nChange Record  \n\n| Version | Date | Affected Section(s) | Change Request \\# | Reason/Initiation/Remarks |\n| --- | --- | --- | --- | --- |\n|  |  |  |  |  |\n|  |  |  |  |  |\n|  |  |  |  |  |\n|  |  |  |  |  |\n\nTable of Contents  \n1 DESCRIPTION............................................................................................................ 4  \n1.1 Purpose .................................................................................................................. 4  \n1.2 Scope ..................................................................................................................... 4  \n2 RELATED DOCUMENTS AND DRAWINGS.......................................................... 4  \n2.1 References ............................................................................................................. 4  \n2.2 Abbreviations and Acronyms ................................................................................ 4  \n2.3 Glossary ................................................................................................................. 4  \n3 CODE ........................................................................................................................... 5  \n3.1 Basic Standard ....................................................................................................... 5  \n3.2 Deviations from, and extensions to, the Basic Standard ....................................... 5  \n3.2.1 Module Names ................................................................................................ 5  \n3.2.2 Package Names ............................................................................................... 5  \n3.2.3 Method Names ................................................................................................ 5  \n3.2.4 Comments ....................................................................................................... 6  \n4 DOCUMENTATION................................................................................................... 6  \n4.1 Docstrings.............................................................................................................. 6  \n4.2 Documentation Generator...................................................................................... 6  \n1 Description  \n1.1 Purpose  \nThis document, primarily through reference to established Python \"community\"documents, specifies standards and best practices for coding and documenting Python code within the ALMA software-development project.  \n1.2 Scope  \nAll Python code checked into the ALMA software-development project’s permanent CVS repository shall adhere to the standards and best practices specified in this document and its references.  \nThis document assumes a working knowledge of the Python programming language.  \n2 Related Documents and Drawings  \n2.1 References  \n1. Style Guide for Python Code, Guido van Rossum and Barry Warsaw, [http://www.python.org/peps/pep-0008.html](http://www.python.org/peps/pep-0008.html)  \n2. Docstring Conventions, David Goodger and Guido van Rossum, [http://www.python.org/peps/pep-0257.html](http://www.python.org/peps/pep-0257.html)  \n3. Docstring Processing System Framework, David Goodger, [http://www.python.org/peps/pep-0256.html](http://www.python.org/peps/pep-0256.html)  \n4. Python Library Reference, §5.1: “pydoc—Documentation generator and online help system,”  \n[http://www.python.org/dev/doc/devel/lib/modu","cbCailZZrH9oDTPN","https://ap.wps.com/l/cbCailZZrH9oDTPN","pdf",251713,"English","# 1 DESCRIPTION\n## 1.1 Purpose\n## 1.2 Scope\n# 2 RELATED DOCUMENTS AND DRAWINGS\n## 2.1 References\n## 2.2 Abbreviations and Acronyms\n## 2.3 Glossary\n# 3 CODE\n## 3.1 Basic Standard\n## 3.2 Deviations from, and extensions to, the Basic Standard\n## 3.2.1 Module Names\n## 3.2.2 Package Names\n## 3.2.3 Method Names\n## 3.2.4 Comments\n# 4 DOCUMENTATION\n## 4.1 Docstrings\n## 4.2 Documentation Generator","[{\"question\":\"What is the purpose and scope of this Python Coding Standards document?\",\"answer\":\"It specifies standards and best practices for coding and documenting Python code within the ALMA software-development project, applying to all Python code checked into the project’s permanent CVS repository.\"},{\"question\":\"What baseline coding standard must ALMA Python code follow?\",\"answer\":\"Except where noted, the code must conform to PEP 8, the Style Guide for Python Code.\"},{\"question\":\"How does ALMA handle naming conventions for modules, packages, and methods?\",\"answer\":\"Module and package names use the “CapWords” convention, while method names use the “mixedCase” convention.\"}]","Python Coding Standards - Version A - Released | PDF",15,[145],{"page_no":22,"url":146,"width":147,"height":148},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/db208194d7e8dfbd630b92acc1dc0e86.webp",983,1272,{"list":150,"token":11},[151,157,163,169,175,181,187,193,199,206],{"doc_id":152,"doc_title":153,"file_type":137,"home_preview_img_url":154,"slug":155,"view_count":96,"category_name":29,"create_tm":156},692315,"Good Coding Practices - Python Code Best Practices","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230002739157/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=6bKrHdixmkN4Irc3b4l0lXWF7SE%3D","good-coding-practices-python-code-best-practices",1794193122,{"doc_id":158,"doc_title":159,"file_type":137,"home_preview_img_url":160,"slug":161,"view_count":101,"category_name":29,"create_tm":162},682219,"Python Style Rules - Docstring Conventions - Coding Style","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229998448620/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=pmCKpUMTQU3rrI8xb9GMZAtc0rs%3D","python-style-rules-docstring-conventions-coding-style",1793963012,{"doc_id":164,"doc_title":165,"file_type":137,"home_preview_img_url":166,"slug":167,"view_count":33,"category_name":29,"create_tm":168},672873,"Programming Style Guides and Coding Standards - Introduction","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229990161749/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=yJEzW41kLtZrkinAxqIr9p%2F753g%3D","programming-style-guides-and-coding-standards-introduction",1793611840,{"doc_id":170,"doc_title":171,"file_type":137,"home_preview_img_url":172,"slug":173,"view_count":101,"category_name":29,"create_tm":174},682223,"Python PEP8 style guide - Cheat Sheet - Naming conventions - Maximum Line Length and Line Breaking - Indentation - Comments - Code Layout","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229999427735/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=b1dn4GULZowUx4s2CMuyZ3CfrEI%3D","python-pep8-style-guide-cheat-sheet-naming-conventions-maximum-line-length-and-line-breaking-indentation-comments-code-layout",1793963021,{"doc_id":176,"doc_title":177,"file_type":137,"home_preview_img_url":178,"slug":179,"view_count":96,"category_name":29,"create_tm":180},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=1796110859&Signature=T7stCvD1giF5WybxW96owQWzjBQ%3D","python-pep8-the-style-guide-for-python-code",1793963024,{"doc_id":182,"doc_title":183,"file_type":137,"home_preview_img_url":184,"slug":185,"view_count":30,"category_name":29,"create_tm":186},682651,"PyScaffold Documentation - Release 4.6","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229999675051/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=Kuevq7S6g3YyWjR%2BG%2FelElhMut4%3D","pyscaffold-documentation-release-46",1793977319,{"doc_id":188,"doc_title":189,"file_type":137,"home_preview_img_url":190,"slug":191,"view_count":123,"category_name":29,"create_tm":192},692230,"Python Handbook - Updated October 14, 2026","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230003011060/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=Ug3VT4YRVCYXLvpMwv1CdaKQCgo%3D","python-handbook-updated-october-14-2026",1794186375,{"doc_id":194,"doc_title":195,"file_type":137,"home_preview_img_url":196,"slug":197,"view_count":143,"category_name":29,"create_tm":198},391232,"Python Interview Questions - List vs Tuples - Key Features","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229917654344/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=6JqBHva0dXIcv8p6QdxkkFQtPKo%3D","python-interview-questions-list-vs-tuples-key-features",1790350253,{"doc_id":200,"doc_title":201,"file_type":137,"home_preview_img_url":202,"slug":203,"view_count":204,"category_name":29,"create_tm":205},84884,"Agents That Teach: Designing Incidental Learning Back into AI-Assisted Software Development","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809215577/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=F5xidOcgj%2B2MKHzNrJRxHLM7Dak%3D","agents-that-teach-designing-incidental-learning-back-into-ai-assisted-software-development",39,1784199011,{"doc_id":207,"doc_title":208,"file_type":137,"home_preview_img_url":209,"slug":210,"view_count":30,"category_name":29,"create_tm":211},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=1796110859&Signature=9tbhbAHtnK%2FZs2SeUalsk7YfrEI%3D","pycharm-2017-1-help-quick-start-guide-step-by-step-getting-started",1794084033]