Install the mysoc-dataset package.
You can then use the
following code to get this file.
from mysoc_dataset import get_dataset_url, get_dataset_df
# get the url of dataset
url = get_dataset_url(
repo_name="2025-constituencies",
package_name="senedd_scottish_parliament_2026_constituencies",
version_name="0.1",
file_name="devolved_constituencies_2026.gpkg",
)
# if working with geodata
import geopandas as gdp
gdf = gdp.from_file(url)