Code Monkey home page Code Monkey logo

pomopy's Introduction

POMOPY

Pomopy is a Pomodoro program written in Python, simple, minimalist, and designed to be run in the terminal.

Screenshot


Usage

Pomopy supports Windows, Linux, and MacOS. There are two executables available for easier opening, but you can also run the script directly or add Pomopy to your computer's PATH.

Running the script in the terminal

To run the script in the terminal, simply open it (make sure you have the latest version of Python installed) in the folder where pomo.py is located, and execute the following command:

python3 pomo.py

Using the executables

In the directory, you'll find the files pomopy.bat (Windows) and pomopy.sh (Linux). They are just an easier way to execute the "python3..." code. In Windows, simply run the file normally, and if you're using Linux with the terminal open in the code folder, type the following command:

./pomopy.sh

Adding to the PATH

You can also add the code as a shortcut in your computer's PATH. Check how to do this in the operating system you're using.

For macOS and Linux:

Open the Terminal. Execute the following command to open the .bashrc file in a text editor:

nano ~/.bashrc

Add the following line to the file:

alias pomopy='python3 /path/to/directory/pomo.py'

Make sure to replace "/path/to/directory" with the correct path to the directory where the pomo.py file is located.

Press Ctrl + X to exit the nano editor, then press Y to save the changes.

Execute the following command to update the terminal profile file:

source ~/.bashrc

Now, you can simply type pomopy in the terminal to run the pomo.py program using Python 3. Make sure you have correctly replaced the path to the pomo.py file directory.

pomopy's People

Contributors

pedrogiroldo avatar

Stargazers

 avatar

Watchers

 avatar

pomopy's Issues

Request of new functions

It would be interesting the function of being able to pause the timer temporarily, and then return to the paused time.
Another thing would be to count the total uptime.

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.