uk-election-timetables
Installation
pip install uk_election_timetables
This library encapsulates timetable legislation for elections run in the United Kingdom and its devolved administrations.
The election timetable varies based on:
- Type of Post - Parliamentary, Local, devolved Government, etc.
- Country - The United Kingdom has up to four different rules for the same type of election, one for each country.
- Calendar - each country has their own unique set of Bank Holidays.
Usage (publishing of candidate lists)
from datetime import date
from uk_election_timetables.elections.uk_parliament import UKParliamentElection
election = UKParliamentElection(date(2019, 2, 21))
print(election.close_of_nominations) # date(2019, 1, 25)
Supported Election Types
- Local
- City of London Local
- United Kingdom Parliament
- Scottish Parliament
- Senedd Cymru
- Northern Ireland Assembly
- Mayoral
- Mayoral (London)
- Greater London Assembly
- Police and Crime commissioner
- Referendum
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file uk_election_timetables-5.0.2.tar.gz.
File metadata
- Download URL: uk_election_timetables-5.0.2.tar.gz
- Upload date:
- Size: 13.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4372ead8ca2fd8269e0061ed63d872ca3ba10f304412384118247b770184c832
|
|
| MD5 |
961228f46613beed510eb6825d7b89aa
|
|
| BLAKE2b-256 |
b9f4a4c993833d0d1c20da16f6cb79cdad7096951e6bb44542d195556439d010
|
Provenance
The following attestation bundles were made for uk_election_timetables-5.0.2.tar.gz:
Publisher:
python-publish.yml on DemocracyClub/EveryElection
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
uk_election_timetables-5.0.2.tar.gz -
Subject digest:
4372ead8ca2fd8269e0061ed63d872ca3ba10f304412384118247b770184c832 - Sigstore transparency entry: 2421993072
- Sigstore integration time:
-
Permalink:
DemocracyClub/EveryElection@9bf689442c33bbcda2d9c877f8e59c184abe2a89 -
Branch / Tag:
refs/tags/uk-election-timetables-5.0.2 - Owner: https://github.com/DemocracyClub
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@9bf689442c33bbcda2d9c877f8e59c184abe2a89 -
Trigger Event:
release
-
Statement type:
File details
Details for the file uk_election_timetables-5.0.2-py3-none-any.whl.
File metadata
- Download URL: uk_election_timetables-5.0.2-py3-none-any.whl
- Upload date:
- Size: 21.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
27a2f866036d4177e0de09f72f88204e2255b074da1347a0db71a759c1307da9
|
|
| MD5 |
a40998551edbe714b992c748d657726c
|
|
| BLAKE2b-256 |
926d762605e7518a1b51e83ac930c9e614588169ddd7726f4bc59ea5d6e54124
|
Provenance
The following attestation bundles were made for uk_election_timetables-5.0.2-py3-none-any.whl:
Publisher:
python-publish.yml on DemocracyClub/EveryElection
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
uk_election_timetables-5.0.2-py3-none-any.whl -
Subject digest:
27a2f866036d4177e0de09f72f88204e2255b074da1347a0db71a759c1307da9 - Sigstore transparency entry: 2421993192
- Sigstore integration time:
-
Permalink:
DemocracyClub/EveryElection@9bf689442c33bbcda2d9c877f8e59c184abe2a89 -
Branch / Tag:
refs/tags/uk-election-timetables-5.0.2 - Owner: https://github.com/DemocracyClub
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@9bf689442c33bbcda2d9c877f8e59c184abe2a89 -
Trigger Event:
release
-
Statement type: