Python project that provides programmatic access to the Windows OS
Win7ools (= Win7 Tools + leet) provides programmatic access to the Windows Operating System . Win7ools was born out of the desire to list and track installed software programmatically and evolved into an attempt at a full-featured window into…Windows. Win7ools is organized into a handful of modules - lib, ipl, sec, pdf, web, and reg, and the package, system.
The general idea is to be able to do things that normally would require a specialized piece of installed software that works mysteriously.
A library of useful code snippets including, but not limited to:
- flattening nested lists
- truncating floats
- segmenting lists
- copying files/directories
- hiding/unhiding files
- creating symbolic links
The system package provides access to the System class. The System class leverages the modules listed above to accomplish a variety of tasks including, but not limited to:
- setting the logon screen image
- getting/setting TRIM
- changing drive icons
- getting process information
- working with the Windows clipboard
- finding duplicate files
- creating Windows message boxes
from wintools.pdf import Checklist cl = Checklist() cl.set_title('My Shopping List').set_pretext('Do not forget to bring a calculator') items = ['apples', 'pears', 'broccoli', 'bread', 'chicken', 'soda'] cl.add(items) cl.save()
win7ools.pdf can check, uncheck, and highlight items. One and two-column format is supported.
from wintools.ipl import IPL ipl = IPL() ipl.print_names()
from wintools.reg import get_user_assist() user_assist = get_user_assist() for item in user_assist: print(item['value'], item['lastrun'], item['count'])
from win7ools.sec import crypt_protect_data, crypt_unprotect_data ctext = crypt_protect_data('Hello world') ptext = crypt_unprotect_data(ctext)
Consult help(win7ools.<module>) for more information and examples
|||Win7ools was tested most rigorously on Win7, but should maintain at least some functionality on WinXP and Vista.|
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|File Name & Checksum SHA256 Checksum Help||Version||File Type||Upload Date|
|win7ools-0.3.0-py2.7.egg (78.6 kB) Copy SHA256 Checksum SHA256||2.7||Egg||Dec 31, 2014|
|win7ools-0.3.0.zip (43.3 kB) Copy SHA256 Checksum SHA256||–||Source||Dec 31, 2014|