british-cycling-utils
About
Python library package to manipulate data exported from British Cycling ('BC'). Unofficial and not affiliated.
Installation
Install from PyPI, e.g.:
pip install british-cycling-utils
Example code
Load club subscriptions from a CSV previously exported from the BC Club Management Tool
Note that any columns except membership_number can be omitted.
from pathlib import Path
from british_cycling_utils.club_subscription import ClubSubscription
file_path = Path(__file__).parent / "exported.csv"
club_subscriptions = ClubSubscription.list_from_bc_csv(file_path)
print(f"Loaded {len(club_subscriptions)} subscriptions from CSV.")
Each ClubSubscription is an instance of an
attrs class with these fields:
| Field | Type | Note | Derived from CSV column | Corresponds to UI column |
|---|---|---|---|---|
british_cycling_membership_number |
int |
This is a really a BC profile/login id, not limited to current BC members | membership_number |
British Cycling Member, but this is blank if not a current BC member |
first_name |
str | None |
Same name | Forename |
|
last_name |
str | None |
Same name | Surname |
|
email |
str | None |
Same name | Email |
|
telephone |
str | None |
telephone_day |
Telephone |
|
dob |
datetime.date | None |
Same name | Dob |
|
emergency_contact_name |
str | None |
Same name | None: only appears in person's detail view | |
emergency_contact_number |
str | None |
Same name | None: only appears in person's detail view | |
primary_club |
str | None |
Same name | Primary Club |
|
club_membership_expiry |
datetime.date | None |
end_dt |
Club Membership Expiry |
|
british_cycling_membership_type |
str | None |
membership_type |
British Cycling Member Type |
|
british_cycling_membership_status |
str | None |
membership_status |
British Cycling Member Status |
|
british_cycling_membership_expiry |
datetime.date | None |
valid_to_dt |
British Cycling Expiry |
Metadata
Release files for british-cycling-utils 0.8.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 | Provenance | Actions |
|---|---|---|---|---|
| british_cycling_utils-0.8.0.tar.gz | 35.4 kB | With provenance | Details for british_cycling_utils-0.8.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| british_cycling_utils-0.8.0-py3-none-any.whl | Python 3 | none | any | Details for british_cycling_utils-0.8.0-py3-none-any.whl |
Total release size: 40.3 kB
Release files / british_cycling_utils-0.8.0.tar.gz
| Download URL | british_cycling_utils-0.8.0.tar.gz |
|---|---|
| Size | 35.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
db17dfb7ae86e88f8afa8ee6cb2ceb808b062512df0cd86d6016fd67471a31d3
|
|
BLAKE2b-256 checksum How to use checksums |
0985db07ab8cdf8ea5fdb4bc3de86c0db30213d3af6487563ec4f17a431ccfc0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
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 Nov 19, 2026.
Transparency logRelease files / british_cycling_utils-0.8.0-py3-none-any.whl
| Download URL | british_cycling_utils-0.8.0-py3-none-any.whl |
|---|---|
| Size | 4.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
19296a26a4b649c03032d3ab468465ae19a0eba4bc3b65d19eb56faa40d876ab
|
|
BLAKE2b-256 checksum How to use checksums |
6699518a589e59d8eb734d840ee62059b51f0e7414ff4f4215bda0f1a284e3c9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
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 Nov 19, 2026.
Transparency logSecurity for british-cycling-utils 0.8.0
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
Both files in this release have been uploaded with provenance metadata.
Attestation for british_cycling_utils-0.8.0.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 Nov 19, 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.