Open-Source Project: Introduction to Python

WI-Project: Open-Source Project

Introduction to Python (2)

Prof. Dr. Gerit Wagner
Faculty Information Systems and Applied Computer Sciences
Otto-Friedrich-Universität Bamberg

center

Prof. Dr. Gerit Wagner
Open-Source Project: Introduction to Python

Information on this session:

  • Form groups of three to four participants to collaborate on the tasks, solve them together, and engage in meaningful discussions about your solutions.
  • Over the course of two sessions, we will focus on refining a single module using the colrev run command, progressively enhancing it with each iteration.
Prof. Dr. Gerit Wagner
Open-Source Project: Introduction to Python

Start our development environment on GitHub Codespaces

Resume the Codespace started in the previous session

center

Prof. Dr. Gerit Wagner
Open-Source Project: Introduction to Python

Package setup

To create a new Python package, you can use package and dependency management tools, such as Poetry and poetry init.

If you work on existing CoLRev packages, you can extend the existing code available in the internal packages directory.

To create a new CoLRev package, navigate to the internal packages directory and run

colrev package --init

This command assists you in setting up a new CoLRev package interactively.

More information on package development is available here and in the documentation.

Prof. Dr. Gerit Wagner
Open-Source Project: Introduction to Python

Next: Best practice and hacking sessions (per group)

  • Study the overview of Python and CoLRev packages
  • Read the CoLRev-Enhancement Proposal on SearchSources CEP-002, and raise questions in the issue feed (if any)
  • Take notes on key challenges and questions (for the best practice session)
  • Schedule consultation sessions as needed via Calendly

Useful links and resources for learning Python are available here.

Prof. Dr. Gerit Wagner
Open-Source Project: Introduction to Python

Deliverable: Merge

  • The merge should be done in one of the first hacking session meetings
  • Students should prepare the merge by selecting suitable branches and explaining why they should be merged
  • We will complete the merge together with the students to prevent and solve problems
Prof. Dr. Gerit Wagner
Open-Source Project: Introduction to Python

We value your feedback and suggestions

We encourage you to share your feedback and suggestions on this slide deck:

Edit Suggest specific changes by directly modifying the content
New Issue Provide feedback by submitting an issue

Your feedback plays a crucial role in helping us align with our core goals of impact in research, teaching, and practice. By contributing your suggestions, you help us further our commitment to rigor, openness and participation. Together, we can continuously enhance our work by contributing to continuous learning and collaboration across our community.

Visit this page to learn more about our goals: 🚀 🛠️ ♻️ 🙏 🧑‍🎓️ .

Prof. Dr. Gerit Wagner