An unofficial cross-platform software for the Chinese RF power meter
- Cross-platform compatibility
- Standalone one-file build
- And everything else you see on the screenshot below
- Go to the latest release: https://github.com/whatmedoin/USBPowerMeterV5-GUI/releases/latest
- Download the according binary file for your operating system
- Run it!
Required: Python 3.7+ (developed and tested on Python 3.11)
- Clone this repository:
git clone https://github.com/whatmedoin/USBPowerMeterV5-GUI(or download it as a ZIP) - Open the downloaded folder
- (Optional, for PySide6 version) Checkout a different branch:
git checkout qt6 - (Optional, clean installation)
- Initialize a virtual environment for the dependencies:
python -m venv venv - Activate the environment:
- Run
source venv/bin/activatein Linux terminal - Run
venv\Scripts\activatein Windows CMD
- Run
- Initialize a virtual environment for the dependencies:
- Install python dependencies:
pip install -r requirements.txt - Run the script:
python power_meter.py
Note: this section is mainly for developers
This project uses Nuitka as a cross-platform app builder. However, it only works properly with the PySide6 version of the project, as noted in the documentation. Thus, for all further steps you will need to go through steps 1-5 above, inclusive step 3. Afterwards, install Nuitka: pip install nuitka and non-python Nuitka dependencies. Then run the build:
python -m nuitka --onefile --remove-output --disable-console --include-data-files=./powerMeter.ui=powerMeter.ui --enable-plugin=pyside6 power_meter.pyYou will get an executable file named power_meter.exe/power_meter.bin in the root directory of the repository, according to the platform you built on (Windows/Linux).
Alternatively, you can fork this repository and run a workflow, which will automatically build applications for the given systems. They will be available as artifacts in the finished workflow.
This project is currently in testing state and has has some things to be implemented or fixed. If you found any problem, feel free to open an issue on this page. You can also find some temporary workarounds to current bugs, if any.
This project is made in my free time and as soon as I fix critical bugs and implement some more nice features, the project won't be maintained any more. However, you can always fork this repository and add something yourself, which you can suggest via a pull request. And if I like it, your feature will be added to the main repository :)
