to_cabrillo
Convert ADIF log files to Cabrillo contest format for amateur radio contest submissions.
Overview
to_cabrillo is a Python utility that reads Amateur Data Interchange Format (ADIF) log files and generates Cabrillo format files suitable for submitting contest logs.
Features
- Reads standard ADIF log files
- Generates properly formatted Cabrillo v3.0 files
- Supports various contest types
- Handles multiple bands and modes
- Validates QSO data during conversion
- Command-line interface
Installation
From PyPI
pip install to_cabrillo
From Source
git clone https://github.com/0x9900/to_cabrillo.git
cd to_cabrillo
pip install .
Usage
Basic Usage
to_cabrillo -a CSSB2025.adi -c - --config ./contest-template.toml
START-OF-LOG: 3.0
CONTEST: CQ-WW-SSB
CALLSIGN: W6BSD
LOCATION: SCV
CATEGORY-OPERATOR: SINGLE-OP
CATEGORY-TRANSMITTER: ONE
CATEGORY-BAND: ALL
CATEGORY-POWER: LOW
CATEGORY-MODE: SSB
CATEGORY-ASSISTED: NON-ASSISTED
CATEGORY-STATION: FIXED
CATEGORY-OVERLAY: CLASSIC
EMAIL: f4wfx@bsdworld.org
NAME: Fred C.
SOAPBOX: RTTY contests are the best
QSO: 3730 PH 2025-02-22 0600 W6BSD 599 1 F8GAF 599 71 0
QSO: 3730 PH 2025-02-22 0600 W6BSD 599 2 F5TYQ 599 59 0
QSO: 3730 PH 2025-02-22 0600 W6BSD 599 3 PE1EWR 599 1 0
QSO: 3730 PH 2025-02-22 0601 W6BSD 599 4 F4KJN 599 46 0
QSO: 3730 PH 2025-02-22 0601 W6BSD 599 5 F8CRS 599 67 0
QSO: 3730 PH 2025-02-22 0601 W6BSD 599 6 TM3P 599 38 0
QSO: 3730 PH 2025-02-22 0601 W6BSD 599 7 F4GOP 599 61 0
QSO: 3730 PH 2025-02-22 0601 W6BSD 599 8 SE4E 599 2 0
END-OF-LOG:
Command Line Options
usage: to_cabrillo [-h] [--config CONFIG] -a ADIF_FILE -c CABRILLO_FILE
ADIF to Cabrillo
options:
-h, --help show this help message and exit
--config CONFIG Configuration file (default: config.toml)
-a ADIF_FILE, --adif-file ADIF_FILE
Adif filename
-c CABRILLO_FILE, --cabrillo-file CABRILLO_FILE
Cabrillo filename (output)
Requirements
- Python 3.12 or higher
- Standard Python libraries (no external dependencies)
Contributing
Contributions are welcome! Please feel free to submit pull requests or open issues for bugs and feature requests.
License
This project is licensed under the BSD 2-Clause License. See the LICENSE file for details.
Author
Fred C. (0x9900)
Resources
Support
For issues, questions, or suggestions, please open an issue on the GitHub repository.
73 de 0x9900 📻
Metadata
Release files for to-cabrillo 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| to_cabrillo-0.1.1.tar.gz | 3.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| to_cabrillo-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.4 kB
Release files / to_cabrillo-0.1.1.tar.gz
| Download URL | to_cabrillo-0.1.1.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
087c6d98a0060ef1ef7ffa4e04e8e26721b2830dd81cd40ab827a76dc8ec03a1
|
|
BLAKE2b-256 checksum How to use checksums |
1e15f1daef5727049b74830fb671b579bbbdcbb0c4d4d10fad78ffb75e9b24fa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.11
|
Release files / to_cabrillo-0.1.1-py3-none-any.whl
| Download URL | to_cabrillo-0.1.1-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d66907890c7c7c2df017eb16e6a0efa8a6e68a063f140082bc870814ca6e8d14
|
|
BLAKE2b-256 checksum How to use checksums |
c5b253904ea864482a3dca60af20beb925e817b95eedcc0927fb2536708e751e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.11
|