Parser for Windows Scheduled Task files
Project description
Parser for Windows Scheduled Task files. This module will attempt to determine if the job file is in binary or xml format and then create an object that contains attributes for all of the fields. Calling that object’s parse method will cause it to return a dictionary of those fields. When used from the command line it will output that dictionary as a JSON object.
Build Status
Installation
$ pip install winjob
$ python setup.py install
Usage
As a module:
>>> import winjob
>>> fd = open('taskfile.job', 'r')
>>> task = winjob.winjob.read_task(fd.read())
>>> print task.parse()
On the command line:
$ winjob.py taskfile.job
More Information
Free software: BSD license, see LICENSE.txt for details
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
winjob-0.0.12.tar.gz
(9.3 kB
view details)
File details
Details for the file winjob-0.0.12.tar.gz
.
File metadata
- Download URL: winjob-0.0.12.tar.gz
- Upload date:
- Size: 9.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3dd8a8a2a06d3a0654a63ba0872335ef92bafc1d6e791c780de590f49a5f034a |
|
MD5 | 9cd41693871f19588f9c4f9173178d47 |
|
BLAKE2b-256 | e9eb8f62037ad2340c326080ee69b7086935e09b7845129c3b667b1ad8bd589e |