A simple script that generate cabrillo files from an adif.
Project description
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 📻
Project details
Release history Release notifications | RSS feed
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 to_cabrillo-0.1.1.tar.gz.
File metadata
- Download URL: to_cabrillo-0.1.1.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
087c6d98a0060ef1ef7ffa4e04e8e26721b2830dd81cd40ab827a76dc8ec03a1
|
|
| MD5 |
8b20ee2451692b68288a4c011dca838c
|
|
| BLAKE2b-256 |
1e15f1daef5727049b74830fb671b579bbbdcbb0c4d4d10fad78ffb75e9b24fa
|
File details
Details for the file to_cabrillo-0.1.1-py3-none-any.whl.
File metadata
- Download URL: to_cabrillo-0.1.1-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d66907890c7c7c2df017eb16e6a0efa8a6e68a063f140082bc870814ca6e8d14
|
|
| MD5 |
7cc6a234ace49e723d44db0727f6c46e
|
|
| BLAKE2b-256 |
c5b253904ea864482a3dca60af20beb925e817b95eedcc0927fb2536708e751e
|