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.
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.0
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.0.tar.gz | 3.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| py_opensdbrussels2026-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.5 kB
Release files / py_opensdbrussels2026-0.1.0.tar.gz
| Download URL | py_opensdbrussels2026-0.1.0.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
26309ac67ad9d80760f837c2e3919fcc878d2437ddba9d3fe8c48002b9f1cbb6
|
|
BLAKE2b-256 checksum How to use checksums |
a7463a75a7e0649d7cd9c60c091e581e1777c6a2cf56025f3cd3fbf83c225113
|
| 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 Aug 27, 2026.
Transparency logRelease files / py_opensdbrussels2026-0.1.0-py3-none-any.whl
| Download URL | py_opensdbrussels2026-0.1.0-py3-none-any.whl |
|---|---|
| Size | 3.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b97932ff3f6efbb5e0031d0f333cad90d362b68ef13bdc16937ebd47b040ac7c
|
|
BLAKE2b-256 checksum How to use checksums |
fef005ceb81a5dbca78f24765eed2998eb9d5f6f18c149a6375eceea6ff4dbd8
|
| 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 Aug 27, 2026.
Transparency log