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
Metadata
Release files for uk-election-timetables 5.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| uk_election_timetables-5.0.2.tar.gz | 13.0 kB | With provenance | Details for uk_election_timetables-5.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| uk_election_timetables-5.0.2-py3-none-any.whl | Python 3 | none | any | Details for uk_election_timetables-5.0.2-py3-none-any.whl |
Total release size: 34.9 kB
Release files / uk_election_timetables-5.0.2.tar.gz
| Download URL | uk_election_timetables-5.0.2.tar.gz |
|---|---|
| Size | 13.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4372ead8ca2fd8269e0061ed63d872ca3ba10f304412384118247b770184c832
|
|
BLAKE2b-256 checksum How to use checksums |
b9f4a4c993833d0d1c20da16f6cb79cdad7096951e6bb44542d195556439d010
|
| 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 11, 2026.
Transparency logRelease files / uk_election_timetables-5.0.2-py3-none-any.whl
| Download URL | uk_election_timetables-5.0.2-py3-none-any.whl |
|---|---|
| Size | 21.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
27a2f866036d4177e0de09f72f88204e2255b074da1347a0db71a759c1307da9
|
|
BLAKE2b-256 checksum How to use checksums |
926d762605e7518a1b51e83ac930c9e614588169ddd7726f4bc59ea5d6e54124
|
| 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 11, 2026.
Transparency logSecurity for uk-election-timetables 5.0.2
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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for uk_election_timetables-5.0.2.tar.gz
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 11, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.