A Video Player Using PyQt5 and Python.
This is a simple application which plays Video and Audio using PyQt5 in python.
- Install Python
This project is written in Python and uses PyQt5 for GUI. So, you need to install Python first. This project is tested on Python 3.12.13.
- Clone the repository
mkdir -p ~/Dev/video-player
cd ~/Dev/video-player
git clone https://github.com/arvind-4/video-player-in-pyqt5.git .- Setup the virtual environment
You can use virtual environment to create a separate environment for this project. This will help you to keep your project dependencies separate from your system dependencies.
uv venv --python=python3.12- Sync the dependencies
After setting up the virtual environment, you can sync the dependencies using the following command.
uv sync- Run the application
To run the application, you can use the following command.
uv run python src/main.pyTo run the tests, you can use the following command.
uv run pytest tests/To run the code quality checks, you can use the following command.
uv run ruff check .
uv run ruff format --check .
uv run bandit -r ./src
uv run pip-audit -l
uv run yamllint --strict ./.github/workflowsfrom https://github.com/arvind-4/video-player-in-pyqt5----- Audio Player with PyQt5
This is a simple application which plays Audio.
- Clone the repository
mkdir ~/Dev/audio-player -p
cd ~/Dev/audio-player
git clone https://github.com/arvind-4/audio-player.git .- Create a virtual environment
cd ~/Dev/audio-player
uv venv- Install dependencies
cd ~/Dev/audio-player
uv sync- Run the code
cd ~/Dev/audio-player
uv run src/main.pyfrom https://github.com/arvind-4/audio-player
No comments:
Post a Comment