{"id":13741058,"url":"https://swcarpentry.github.io/python-novice-inflammation/","last_synced_at":"2025-05-08T21:32:05.212Z","repository":{"id":23775185,"uuid":"27150322","full_name":"swcarpentry/python-novice-inflammation","owner":"swcarpentry","description":"Programming with Python","archived":false,"fork":false,"pushed_at":"2025-05-07T15:41:10.000Z","size":23767,"stargazers_count":307,"open_issues_count":154,"forks_count":785,"subscribers_count":81,"default_branch":"main","last_synced_at":"2025-05-07T16:48:13.008Z","etag":null,"topics":["automation","carpentries","data-analysis","data-visualization","english","functions","lesson","loops","matplotlib","numpy","programming","python","software-carpentry","stable"],"latest_commit_sha":null,"homepage":"http://swcarpentry.github.io/python-novice-inflammation/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/swcarpentry.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":"CITATION","codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null,"zenodo":".zenodo.json"},"funding":{"github":["carpentries"],"custom":["https://www.zeffy.com/en-US/donation-form/donate-to-make-a-difference-7497"]}},"created_at":"2014-11-25T23:05:27.000Z","updated_at":"2025-05-07T15:40:09.000Z","dependencies_parsed_at":"2023-09-26T05:14:10.725Z","dependency_job_id":"7a324aa7-e2dd-45d4-86cd-1304213756e7","html_url":"https://github.com/swcarpentry/python-novice-inflammation","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swcarpentry%2Fpython-novice-inflammation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swcarpentry%2Fpython-novice-inflammation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swcarpentry%2Fpython-novice-inflammation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swcarpentry%2Fpython-novice-inflammation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/swcarpentry","download_url":"https://codeload.github.com/swcarpentry/python-novice-inflammation/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253153163,"owners_count":21862318,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automation","carpentries","data-analysis","data-visualization","english","functions","lesson","loops","matplotlib","numpy","programming","python","software-carpentry","stable"],"created_at":"2024-08-03T04:00:54.992Z","updated_at":"2025-05-08T21:32:05.206Z","avatar_url":"https://github.com/swcarpentry.png","language":"Python","readme":"# Programming with Python\n\n[![GitHub release][shields_release]][swc_py_releases]\n[![Create a Slack Account with us][create_slack_svg]][slack_heroku_invite]\n[![Slack Status][slack_channel_status]][slack_channel_url]\n\nAn introduction to Python for non-programmers using inflammation data.\n\n## About the Lesson\n\nThis lesson teaches novice programmers to write modular code to perform data analysis\nusing Python. The emphasis, however, is on teaching language-agnostic principles of\nprogramming such as automation with loops and encapsulation with functions,\nsee [Best Practices for Scientific Computing][best-practices] and\n[Good enough practices in scientific computing][good-practices] to learn more.\n\nThe example used in this lesson analyses a set of 12 files with simulated inflammation\ndata collected from a trial for a new treatment for arthritis. Learners are shown\nhow it is better to automate analysis using functions instead of repeating analysis\nsteps manually.\n\nThe rendered version of the lesson is available at:\n[https://swcarpentry.github.io/python-novice-inflammation/](https://swcarpentry.github.io/python-novice-inflammation/).\n\nThis lesson is also available in [R] and [MATLAB].\n\n## Episodes\n\n| \\#   | Episode | Time | Question(s)                                                                  |\n| --: | :------ | :--: | :--------------------------------------------------------------------------- |\n| 1   | [Python Fundamentals][episode01]        | 30   | What basic data types can I work with in Python?\u003cbr\u003eHow can I create a new variable in Python?\u003cbr\u003eCan I change the value associated with a variable after I create it?                             |\n| 2   | [Analyzing Patient Data][episode02]        | 60   | How can I process tabular data files in Python?                              |\n| 3   | [Visualizing Tabular Data][episode03]        | 50   | How can I visualize tabular data in Python?\u003cbr\u003eHow can I group several plots together?                                  |\n| 4   | [Storing Multiple Values in Lists][episode04]        | 30   | How can I store many values together?                                        |\n| 5   | [Repeating Actions with Loops][episode05]        | 30   | How can I do the same operations on many different values?                   |\n| 6   | [Analyzing Data from Multiple Files][episode06]        | 20   | How can I do the same operations on many different files?                    |\n| 7   | [Making Choices][episode07]        | 30   | How can my programs do different things based on data values?                |\n| 8   | [Creating Functions][episode08]        | 30   | How can I define new functions?\u003cbr\u003eWhat's the difference between defining and calling a function?\u003cbr\u003eWhat happens when I call a function?                                              |\n| 9   | [Errors and Exceptions][episode09]        | 30   | How does Python report errors?\u003cbr\u003eHow can I handle errors in Python programs?                                               |\n| 10  | [Defensive Programming][episode10]        | 30   | How can I make my programs more reliable?                                    |\n| 11  | [Debugging][episode11]        | 30   | How can I debug my program?                                                  |\n| 12  | [Command-Line Programs][episode12]        | 30   | How can I write Python programs that will work like Unix command-line tools? |\n\n## Contributing\n\n[![Travis Build Status][travis_svg]][travis_url]\n\nWe welcome all contributions to improve the lesson!\nMaintainers will do their best to help you if you have any questions, concerns,\nor experience any difficulties along the way.\n\nWe'd like to ask you to familiarize yourself with our [Contribution Guide](CONTRIBUTING.md)\nand have a look at the [more detailed guidelines][lesson-example] on proper formatting,\nways to render the lesson locally, and even how to write new episodes!\n\n## Maintainers\n\nLesson maintainers are [Toan Phung][noatgnu] and [Indraneel Chakraborty][ineelhere].\n\n## Authors\n\nA list of contributors to the lesson can be found in [AUTHORS](AUTHORS).\n\n## License\n\nInstructional material from this lesson is made available under the\n[Creative Commons Attribution][cc-by-human] ([CC BY 4.0][cc-by-legal]) license. Except where\notherwise noted, example programs and software included as part of this lesson are made available\nunder the [MIT license][mit-license]. For more information, see [LICENSE.md](LICENSE.md).\n\n## Citation\n\nTo cite this lesson, please consult with [CITATION](CITATION).\n\n## About Software Carpentry\n\nSoftware Carpentry is a volunteer project that teaches basic computing skills to researchers since\n1998\\. More information about Software Carpentry can be found [here][swc-about].\n\n## About The Carpentries\n\nThe Carpentries is a registered 501(c)3 non-profit organisation based in Delaware, USA. We are a global community\nteaching foundational computational and data science skills to researchers in academia,\nindustry and government. More information can be found [here][cp-about].\n\n[swc_py_releases]: https://github.com/swcarpentry/python-novice-inflammation/releases\n[shields_release]: https://img.shields.io/github/release/swcarpentry/python-novice-inflammation.svg\n[slack_heroku_invite]: https://slack-invite.carpentries.org/\n[create_slack_svg]: https://img.shields.io/badge/Create_Slack_Account-The_Carpentries-071159.svg\n[slack_channel_url]: https://carpentries.slack.com/messages/C9Y0L6MF0\n[slack_channel_status]: https://img.shields.io/badge/Slack_Channel-swc--py--inflammation-E01563.svg\n[best-practices]: https://journals.plos.org/plosbiology/article?id=10.1371/journal.pbio.1001745\n[good-practices]: https://journals.plos.org/ploscompbiol/article?id=10.1371/journal.pcbi.1005510\n[R]: https://github.com/swcarpentry/r-novice-inflammation\n[MATLAB]: https://github.com/swcarpentry/matlab-novice-inflammation\n[episode01]: https://swcarpentry.github.io/python-novice-inflammation/01-intro.html\n[episode02]: https://swcarpentry.github.io/python-novice-inflammation/02-numpy.html\n[episode03]: https://swcarpentry.github.io/python-novice-inflammation/03-matplotlib.html\n[episode04]: https://swcarpentry.github.io/python-novice-inflammation/04-lists.html\n[episode05]: https://swcarpentry.github.io/python-novice-inflammation/05-loop.html\n[episode06]: https://swcarpentry.github.io/python-novice-inflammation/06-files.html\n[episode07]: https://swcarpentry.github.io/python-novice-inflammation/07-cond.html\n[episode08]: https://swcarpentry.github.io/python-novice-inflammation/08-func.html\n[episode09]: https://swcarpentry.github.io/python-novice-inflammation/09-errors.html\n[episode10]: https://swcarpentry.github.io/python-novice-inflammation/10-defensive.html\n[episode11]: https://swcarpentry.github.io/python-novice-inflammation/11-debugging.html\n[episode12]: https://swcarpentry.github.io/python-novice-inflammation/12-cmdline.html\n[travis_url]: https://travis-ci.org/swcarpentry/python-novice-inflammation\n[travis_svg]: https://travis-ci.org/swcarpentry/python-novice-inflammation.svg?branch=gh-pages\n[lesson-example]: https://carpentries.github.io/lesson-example\n[noatgnu]: https://github.com/noatgnu\n[ineelhere]: https://github.com/ineelhere\n[valentina_staneva]: https://software-carpentry.org/team/#staneva_valentina\n[swc_history]: https://software-carpentry.org/scf/history/\n[cc-by-human]: https://creativecommons.org/licenses/by/4.0/\n[cc-by-legal]: https://creativecommons.org/licenses/by/4.0/legalcode\n[mit-license]: https://opensource.org/licenses/mit-license.html\n[swc-about]: https://software-carpentry.org/about/\n[community-initiatives]: https://communityin.org\n[cp-about]: https://carpentries.org/about\n\n\n\n","funding_links":["https://github.com/sponsors/carpentries","https://www.zeffy.com/en-US/donation-form/donate-to-make-a-difference-7497"],"categories":["Generic materials"],"sub_categories":["Lessons"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/swcarpentry.github.io%2Fpython-novice-inflammation%2F","html_url":"https://awesome.ecosyste.ms/projects/swcarpentry.github.io%2Fpython-novice-inflammation%2F","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/swcarpentry.github.io%2Fpython-novice-inflammation%2F/lists"}