Giter Club home page Giter Club logo

pyadhangui's Introduction

Description

A GUI-based desktop app for prayer calling, made with python using pyside6 package, it uses Prayer Times API which supports all the prayer calculation methods, with many famous adhan sounds pre-included, and it supports adding even more sounds to it easily.

Features

  • Supports all the prayer times calculation methods available in Prayer Times API.
  • Has a tray icon to handle showing, hiding and closing of the app.
  • Caches a full month of prayers times locally to work offline.
  • Has a collection of famous adhan sounds pre-included.
  • Supports adding variable number of adhan sounds.
  • Can be added to the startup with a single click.
  • Triggers toast notifications.
  • Very simple GUI.

How To Add Adhan Sounds

Just place the .mp3 file of the adhan in the "Resources/Adhan Sounds" folder.

How To Build From Code

1- Make a python virtual environment inside the project's folder with the name "venv" and run this command in it's shell: pip install pyside6 requests pywin32 win10toast cx_Freeze playsound==1.2.2.

NOTE: creating a virual environment is very important here becuase in the building process, all the packages in the python enviroment get packed inside the output folder, we can add exception per package and also write code to delete spacific files for us, but we need the minimum amount of packages in the environment.

NOTE: The command I included forces a specific version of playsound to be installed, this is because the latest version of playsound as of now, v1.3.0, is bugged, but v1.2.2 is still working perfectly, so is essential to install that specific version.

2- Open the cmd and make the project's folder is your current working directory, then run Build.bat and it will handle the building and the size optimizing processes automatically.

NOTE: The "Build.bat" file runs the "Builder.py" file in the virtual enviroment, "Builder.py" uses cx_Freeze package to build the application, it also exceludes unused base python libraries, and it also includes custom code that removes unused parts of pyside6 library that takes alot of extra space.

pyadhangui's People

Contributors

ahmedahmedeg avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.