You are browsing as a guest. Sign up (or log in) to start making projects!

Computer Companion

  • 8 Devlogs
  • 4 Total hours

A Python-based companion. Opening software, doing tasks, and searching are all in very different places, and it can be frustrating to have to go to them, or keep them on the taskbar. This simple python script acts like a buddy towards the user. It not only discourages the use of AI, makes workflows quicker, but can make the computer experience slightly more lively and human than otherwise. Install through pipx with pipx install computercompanion

Ship #1

I have made a useful python script called computer companion that remembers the user name, and has a bunch of useful utilities including batch pinging to confirm when a device goes online and offline.
Features include:

  • Remembers user name
  • Opening App Function
  • Help Menu
  • Basic Calculator
  • System Information
  • IPv4 automatic batch ping
  • Random Number Generator
  • Friendly Greetings
  • Fun mode including jokes
    I have uploaded it to pipx, so it can now be installed if you have pipx with:
    “pipx install computercompanion”.
    I found it especially challenging to get the pinging method to work well and work in boundary cases. I also struggled with getting it on pipx, but I got there.
    I’m especially proud of the main utilities that I will use myself, including the batch pinging, app opener, and system information.
    I hope you enjoy using my script!
  • 8 devlogs
  • 4h
  • 5.89x multiplier
  • 24 Stardust
Try project → See source code →
Open comments for this post

25m 18s logged

I believe I am finally ready to ship :) I have done quite a few final touches, and have also made sure that the pipx doesn’t automatically use my name to start. It can be installed with “pipx install computercompanion” once pipx is installed on your device.

2
0
20
Open comments for this post

19m 6s logged

Okay, it took a while, but now it properly works on pipx! You can now just do pipx install computercompanion and it should work :). I am close to shipping I hope, but I am going to add a few more things and do a few more touch ups. I tested installing on another machine - a linux device.

0
0
6
Open comments for this post

30m 28s logged

I have worked on making it run better. I have added jokes to the fun section (although I used AI to gather most of them). I have set up the random utility, which can do random words (the user chooses the amount) or random numbers (the user choose the boundaries). I added try and except to ensure the script doesn’t crash on a bad entry.
I also have started the system information section, and imported platform as it will be used for the system information section.

0
0
4
Open comments for this post

36m logged

Added more boundary cases, and added the calculator utility. I added more to the readme, as well as to the clarity of the script for the user. There is improvements to the overall running, and extra general touch ups. Now, utilities that haven’t been added in yet have a message explaining the fact.

0
0
65
Open comments for this post

43m 23s logged

I have added a pinging utility to the companion. This allows for easy batch pinging where needed. Adding this also meant I created a utility menu, which I will expand upon and add more to. The code requires ping from pythonping, but that means pythonping has to be pip installed. This is not a large problem, as the rest of the code works fine, and the python file warns that it is not installed, and says how. However, a future improvement could be making a way that the user doesn’t need to install this.

0
0
4
Open comments for this post

40m 19s logged

I have been working on getting the main parts of my python script finished, so I can build off there. My code now saves the users name to a .json file which can be accessed the next time the python file is run. It is stored in a name variable, so it can be accessed throughout the script. I have also added an app opening function, which has some simple tasks I have learned how to open. Finally, I added some extra parts to help ensure the code accepts what the user wants, even if it isn’t word-for-word. One way in python of doing this is adding .lower() after an input, or before checking the input, as it reduces the possible inconsistencies if needing to compare it.

0
0
5
Open comments for this post

24m 1s logged

Getting Coding Companion to store .json data. I also made sure that git would not save the .json data, so I am able to run tests, without those modifications being changed in Github. This means other people could use the software, and wouldn’t start with my presets, but with the default.

0
0
6

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…