Skip to content

v1.0.0-pre.1

Pre-release
Pre-release

Choose a tag to compare

@Druzhba-Specifications Druzhba-Specifications released this 22 Dec 23:47
· 27 commits to main since this release

DIP Framework v1.0.0-pre.1

Hey everyone! We're super excited to share the first pre-release of DIP Framework with you all.

What's This?

DIP Framework is basically a Python toolkit that makes annoying tasks easy. Instead of googling "how to clear console in python" for the 50th time, you just use our simple functions and you're done.

What Can It Do?

Here's what we packed into this first release:

System Stuff:

  • Clear your terminal (finally!)
  • Sleep, reboot, or shutdown your computer
  • Check the time and schedule things
  • Get info about your system

Media & Notifications:

  • Play sounds and videos
  • Send desktop notifications (great for letting users know when long tasks finish)

File Operations:

  • Read and write files easily
  • Check if folders exist or create them

Data Parsing:

  • Parse JSON, CSV, YAML, and XML files
  • Grab data from URLs too (same formats)

Internet Tools:

  • Open websites in the browser
  • Convert currencies with live rates
  • Parse URLs and extract domains

Logging:

  • Keep track of what your app is doing with automatic timestamped logs

Installation

git clone https://github.com/Druzhba-Specifications/DIP_Framework.git
cd DIP_Framework
pip install psutil requests pyyaml playsound3 python-vlc plyer freecurrencyapi

Quick Example

import System
import Console

# Clear the screen
Console.clear()

# Log something
System.log("App started!")

# Show a notification
System.computer.notify("Hello", "DIP Framework is ready!", "MyApp", 10)

# Check the time
if System.sysIf.ifTimeIsAfter(datetime.time(14, 30)):
    print("Good afternoon!")

What's "Pre-Release" Mean?

We're calling this a pre-release because we want to get it out there for you all to try, but we know there's still room for improvement. Feel free to test it out, break things, and let us know what you think!

Known Issues

  • Error handling could be better (working on it!)
  • Video playback requires VLC installed
  • Currency conversion needs internet
  • Some features need admin/sudo permissions

What's Next?

We're planning to add more features, improve error messages, and make everything even easier to use. If you have ideas or find bugs, please open an issue!

Credits

Thanks to all the awesome libraries that made this possible: psutil, requests, PyYAML, playsound3, python-vlc, plyer, and freecurrencyapi.

License

CC0 1.0 Universal - it's public domain, do whatever you want with it!


Happy coding! Let us know what you think.

— The Druzhba Specifications Team