Skip to main content

WWARA CHIRP Export Script Update

Project description

WWARA CHIRP Export Script Update

Note: This is a work in progress. The script is mostly functional, and the documentation is aspirational.

Please report any issues or bugs you encounter, and feel free to contribute to the documentation or code.

Overview

This repository contains an updated CHIRP export script for the Western Washington Amateur Relay Association (WWARA).

WWARA maintains a database of coordinated repeaters west of the Cascade Mountains in Washington State, between the Canadian border and the Oregon borders. WWARA publishes a nightly extract of their database in various CSV variations.

This script is intended to be used with the WWARA-rptrlist-DATE.csv file. The v2.x.x updates address a longstanding format change for CHIRP import files, moving away from XML in favor of CSV due to improved compatibility and reliability. These updates also implement a modern Python packaging structure to facilitate installation, especially managing dependencies.

Background

CHIRP, an open-source tool for programming amateur radios, initially supported XML as an import format for radio frequency data. However, the XML import feature had issues, including strict schema requirements and formatting constraints that frequently resulted in validation errors. Users experienced challenges due to the XML schema’s rigidity, which required fields in precise order and allowed minimal flexibility. These limitations hindered interoperability and led to CHIRP adopting CSV as the preferred import format. CSV files are easier to create and maintain, and they seamlessly integrate with CHIRP’s features, allowing users to import frequency data across a wide range of supported radios without the schema-related errors encountered with XML.

Prerequisites

wwara_chirp is tested on python 3.10, 3.11, 3.12, and 3.13

Installation

To install the package, you can use pip to install the package from PyPI for the latest stable release. bash pip install -i wwara-chirp
or from the test PyPI for the latest pre-release version.

pip install -i https://test.pypi.org/simple/ wwara-chirp

you can also upgrade the package to the latest stable version. bash pip install -i --upgrade wwara-chirp

Usage

To export WWARA repeater data for CHIRP programming, run the script with the following command:

  • wwara_chirp <input_file> <output_file>

  • <input_file> is the CSV file containing WWARA repeater data and

  • <output_file> is the CSV file to be generated for CHIRP import. (Be sure the output_file does not exist.)

The script is intended to read the daily WWARA input file, convert the data to CHIRP format, and write the output file in CSV format for CHIRP import. The output file should be imported to a new CHIRP channel list, and specific entries can be copy and pasted to the desired radio memory channels of the user's radio file.

Future Plans

As CHIRP evolves, this script will be maintained to reflect any new updates or changes in CHIRP\’s file compatibility. Contributions and bug reports are welcome and encouraged, as the goal is to provide a reliable and user-friendly tool for WWARA members and other amateur radio operators.

License

This project is now licensed under the GPL-3.0 License to allow the reuse of code from the code from the chirp project, which is also licensed under GPL-3.0. This change ensures compatibility and compliance with the licensing terms of the chirp project.

If the chirp project is ever published to PyPi under a more permissive license, such as the MIT License, we can consider switching back to the MIT License for this project. This would allow for greater flexibility and ease of use for contributors and users.

For more details, see the LICENSE.txt file in this repository.

Contact

This project is maintained by Tom Sayles (KE4HET) on a volunteer and as time allows basis.

For questions, please reach out to the maintainers or open an issue on this repository.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wwara_chirp-2.0.4.tar.gz (57.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wwara_chirp-2.0.4-py3-none-any.whl (58.0 kB view details)

Uploaded Python 3

File details

Details for the file wwara_chirp-2.0.4.tar.gz.

File metadata

  • Download URL: wwara_chirp-2.0.4.tar.gz
  • Upload date:
  • Size: 57.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for wwara_chirp-2.0.4.tar.gz
Algorithm Hash digest
SHA256 5e17abdda7782f4671b23474f2397639b330aa7ed5d18689e875fdaac4c5512d
MD5 5c26e1b24d1effaae9720394f101ff55
BLAKE2b-256 30fe325ee6ac5a8b820effce3156073ae5a201070ac68996a0b18a25637b764b

See more details on using hashes here.

File details

Details for the file wwara_chirp-2.0.4-py3-none-any.whl.

File metadata

  • Download URL: wwara_chirp-2.0.4-py3-none-any.whl
  • Upload date:
  • Size: 58.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for wwara_chirp-2.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 556c101e2ea419565fa88651c665148bf1d5342e02d9f229fc696a3a5f1a3b12
MD5 bd330f10b13bdfb2f661deaab97df2e2
BLAKE2b-256 47f046aaf9edd2e9999fabad25dc9b9936367b98a0deefb1981ac1c36737263e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page