Giter Site home page Giter Site logo

py-alarm's Introduction

🚧 NOT finished

Although the project does what its supposed to, I plan on replacing tkinter with PyGTK or PyQT

⏰ PyAlarm

This is my first python application, without the hello world ones :) For my first python applicaiton i deciced to make an alarm clock. It uses tkinter for the graphical user interface and also has multi threading so that the GUI doesnt freeze when alarm manager is doing its thing.

Screenshot from 2023-10-02 19-02-31

🔥 Features

  1. Alarm name
  2. Alarm time
  3. Play a sound when alarm goes off
  4. Messagebox to stop the alarm when it goes off. I could not make a separate window for this(or couldnt figure out how) due to tkinter not supporting multi threading
  5. Alarm settings - you can change the settings of the alarm by double clicking an alarm in the alarm list
  6. Graphical user interface(GUI)
  7. Multithreading - one thread for the GUI, other for the alarm manager

📔 Libraries used

  • tkinter
  • vlc
  • threading
  • time
  • os
  • datetime

🏃 Running the application

  • Using python's interpreter in the Py-Alarm/Src/ dir:
python3 main.py

⚠️ Problem

Tkinter framework doesnt support threading and its documentation is not great(I had to use stackoverflow and chatgpt a lot to do basic things), I feel like it limits what I can do with it... I was going to add way more functionality but not having the ability to use multi threading really makes it difficult and inconvenient...

  • Rewrite the gui using PyGTK/PyQT
  • Replace vlc with other audio playing library

📜 License

This project is licensed under the GPL v2 LICENSE.

py-alarm's People

Contributors

edveika avatar

Watchers

 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.