My own small package of uitilities I use.
Project description
krazy-utils
I am a beginner in programming and have recently started programming in python. krazy-utils is a simple package containing following functions I use frequently. I just wrote some of them so that I dont forget how to write them ;p
Thought of sharing it as it may help beginners like me:
-
Basic pandas operations on columns like retaining columns passed as list, renaming columns passed as dictionery, etc. It contains one line pandas command to retain columns given to this function. For me, it was easier to do it throuh one word functin rather then half screen length command :p
-
Read and write from CSV.
-
Import from multiple excel files if a directory is given.
-
Getting file list of entire tree under a given directory.
-
Excel to pdf converter
-
Date converter: accepts date (based on d/m/y sequence) written as string with / or - as separators and convert to proper date.
-
Timekeeper to keep time during runtimes... print command inbuilt.
-
OCR function using pytesseract. For this to work you will need pytesseract and Tesseract installed.
-
Some other small basic stuff.
-
A simple tkinter frontend ready for use with app label, button bar frame and content frame.
I havent explained them a lot here as the code itself is simple and self explanatory.
Suggestions are most welcome.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.