py_opensdbrussels2026
py_opensdbrussels2026 is a tiny example package for the OpenSD 2026 Brussels summer school. It is intentionally small so it can be used to demonstrate how a Git repository is structured and how open source contributions work.
Assignment
As part of this workshop we aim to co-develop a bit on this package our first assignment is to complete the participant list.
- Download and install GitHub Desktop.
- Clone this repository to your computer: OWI-Lab/OpenSD2026_Brussels_intro_git.
- Add your name to the participant list in
participants.csv - Commit your changes to the repository.
- Push your changes to a new branch.
- Open a pull request.
Secondly we try to resolve an open issue, this one; https://github.com/OWI-Lab/OpenSD2026_Brussels_intro_git/issues/1
What it does
The package ships with a small CSV file of participants and exposes one public function:
attendee_was_present(first_name, family_name) -> bool
It returns True when the provided participant name exists in the packaged CSV file and False otherwise.
Installation
pip install py_opensdbrussels2026
For local development:
pip install -e .[dev]
Usage
from py_opensdbrussels2026 import attendee_was_present
attendee_was_present("Ada", "Lovelace")
Tests
The test suite contains:
- a normal boolean check for an invalid attendee name
- a positive check for a known attendee
- a joke test that reads the packaged CSV, validates countries via
pycountry, and confirms thatBelgiumis the only intentionally invalid country
Run the tests with:
pytest
GitHub Actions
Two workflows are included:
- CI workflow for running
pyteston pushes and pull requests - Publish workflow for building and publishing the package to PyPI when a GitHub release is published
To use the publish workflow, configure PyPI trusted publishing for this repository.
Metadata
Release files for py-opensdbrussels2026 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| py_opensdbrussels2026-0.1.1.tar.gz | 3.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| py_opensdbrussels2026-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.0 kB
Release files / py_opensdbrussels2026-0.1.1.tar.gz
| Download URL | py_opensdbrussels2026-0.1.1.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6ebd6e4e573cac7579feec06d5309c217d08f68a63684b16eecd7eeb93d810fb
|
|
BLAKE2b-256 checksum How to use checksums |
c2984fa4811b389bed5716a3ab6256726ba42af212572f1b1a5f2b6e6c1da3cc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 7, 2026.
Transparency logRelease files / py_opensdbrussels2026-0.1.1-py3-none-any.whl
| Download URL | py_opensdbrussels2026-0.1.1-py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
35d0682a5fd80bb7d1ff2655b26a7275a967b17c8f5c50a831a2d555bc9ec2d9
|
|
BLAKE2b-256 checksum How to use checksums |
0bf38e0cf04f175e9b608056a7267f2f9347d94b40f00965492f23a873b58d80
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 7, 2026.
Transparency log