Saravanan666/pypi-org huggingface dataset:
Package: win32printing
printingPrinting utils for Windows.Installpipinstallwin32printingInstalled Utilswin32printing.get_system_fontswin32printing.PrinterBasewin32printing.PrinterContextwin32printing.PrinterPrinter APIstext(text, align="left", font_config=None)new_page()Usage Examplefromwin32printingimportPrinterfont={"height":8,}withPrinter(linegap=1)asprinter:printer.text("title1",font_config=font)printer.text("title2",font_config=font)printer.text("title3",font_config=font)printer.text("title4",font_config=font)printer.new_page()printer.text("title5",font_config=font)printer.text("title6",font_config=font)printer.text("title7",font_config=font)printer.text("title8",font_config=font)Printer init parametersprinter_name: The printer name which will be used to print. None value means use system default's printer. Default to None.doc_name: The file name will be used. None value means "NoNameFile". Default to None.margin: The page margin. Default to (0, 0, 0, 0).linegap: Gap between two lines.default_font: Default font config used in print, will be override by .text(...,font_config).auto_page: Do auto page or not. Default to False means you shuold care about pagination by yourself.font_config itemsheightwidthescapementorientationweightitalicunderlinestrikeOutcharSetoutPrecisionclipPrecisionqualitypitchAndFamilyfaceNameNote: See item detail athttps://docs.microsoft.com/en-us/windows/win32/api/wingdi/nf-wingdi-createfontwReleasesv0.1.3 2020-06-21Add auto_page for Printer.Fix Printer(...,default_font) not used problem.Update doc, add new_page usage in example.v0.1.2 2020-02-12Fix printer_name parameter not using problem. Thanks to Mark Butsch.v0.1.1 2019-10-22Fix py_modules problem in setup.py.v0.1.0 2019-10-22Allow text printing on Windows system.Support text alignment and font settings.Support linegap setting.
Package: win32-setfiletime
win32-setfiletimeA small Python utility to set file creation/modified/accessed time on Windows.Installationpipinstallwin32-setfiletimeUsagefromwin32_setfiletimeimportsetctime,setmtime,setatimesetctime("my_file.txt",1561675987.509)setmtime("my_file.txt",1561675987.509)setatime("my_file.txt",1561675987.509)
Package: win32wifi
win32wifi is a set of Python bindings for the Windows Native Wifi API.The Native Wifi API is designed for C/C++ developers. Programmers should be
familiar with wireless networking concepts and terminology.AuthorsAndres Blanco   (6e726d)Shaked Gitelman (almondg)LicenseThis program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.ReferencesWindows Native Wifi API –http://msdn.microsoft.com/en-us/library/windows/desktop/ms706556(v=vs.85).aspx
Package: win64pyinstaller
|      |    |    |\    |     /    |    |     |\   \    /
         	 |      |    |    | \   |    /     |    |     | \   \  /
                     |  /\  |    |    |  \  |   / \    |____|__   | /    \/     
	         | /  \ |    |    |   \ |  |   \        |     |       |
	         |/    \|    |    |    \|  \___/        |     |       |WIN64INSTALLER (OR) WIN64PYINSTALLER IS AN SUBMODULE OF THE MAIN MODULE WIN64PY WHICH IS EXPECTED TO BE RELEASED SOON.WIN64INSTALLER FETCHES THE FILE FROM THE PROVIDED URL AND DOWNLOADES IT USING A BIT OF POWERSHELL MAGIC.
THIS MODULE WILL BE MAINTAINED UNTILL THE MAIN MODULE WIN64PY IS RELEASED. AFTER THAT THE MODULE BECOMES A PART OF
WIN64PY AND WOULD BE DELETED SO THAT THE USERS HAVE THE UPDATED VERSION IN WIN64PYTHANK YOU FOR USING THIS MODULE!!
Package: win7ools
Win7ools(=Win7 Tools+leet) provides programmatic access to the Windows
Operating System[1]. 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, andreg,
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.modulesiplInstalledProgramsList - theiplmodule scans the Windows registry and returns
information related all installed programs on the parent OS.  Comparatively, it should
find all the information that the control panel provides (sometimes more).  IPLs can be created
from an active OS, saved for various purposes, created from scratch, merged, and loaded.libAlibrary of useful code snippets including, but not limited to:flattening nested liststruncating floatssegmenting listscopying files/directorieshiding/unhiding filescreating symbolic linkspdfLeverages the PythonPDFToolkit,ReportLab, to create generic PDFs and PDF checklists.regFunctions and classes that Win7ools uses to work with the Windowsregistry.  It contains several functions
for accessing and working with the registry.  It contains useful registry locations and
can retrieve & decode UserAssist data.secHandlessecurity-related tasks.  Among other things, it contains several hashing functions
and provides access to WindowsDPAPIfunctions such asCryptProtectData()andCryptUnprotectData().webFunctions and classes for working with theweb.packagessystemThesystempackage 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 imagegetting/settingTRIMchanging drive iconsgetting process informationworking with the Windows clipboardfinding duplicate filescreating Windows message boxesExamplesUse win7ools.pdf to create a shopping list: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.Use win7ools.ipl to print names of installed software:from wintools.ipl import IPL
ipl = IPL()
ipl.print_names()Use wint7ools.reg to print names of software run on host computer with the last run date and count:from wintools.reg import get_user_assist()
user_assist = get_user_assist()
for item in user_assist:
    print(item['value'], item['lastrun'], item['count'])Encrypt and decrypt data using the Windows Data Protection API:from win7ools.sec import crypt_protect_data, crypt_unprotect_data
ctext = crypt_protect_data('Hello world')
ptext = crypt_unprotect_data(ctext)Consulthelp(win7ools.<module>)for more information and examples[1]Win7ools was tested most rigorously on Win7, but should maintain at least some functionality on WinXP and Vista.
Package: winappdbg
What is WinAppDbg?==================The WinAppDbg python module allows developers to quickly code instrumentationscripts in Python under a Windows environment.It uses ctypes to wrap many Win32 API calls related to debugging, and providesan object-oriented abstraction layer to manipulate threads, libraries andprocesses, attach your script as a debugger, trace execution, hook API calls,handle events in your debugee and set breakpoints of different kinds (code,hardware and memory). Additionally it has no native code at all, making iteasier to maintain or modify than other debuggers on Windows.The intended audience are QA engineers and software security auditors wishing totest / fuzz Windows applications with quickly coded Python scripts. Severalready to use utilities are shipped and can be used for this purposes.Current features also include disassembling x86/x64 native code, debuggingmultiple processes simultaneously and produce a detailed log of applicationcrashes, useful for fuzzing and automated testing.Where can I find WinAppDbg?===========================Project homepage:-----------------http://winappdbg.sourceforge.net/Download links:---------------Windows installer (32 bits)http://sourceforge.net/projects/winappdbg/files/WinAppDbg/1.5/winappdbg-1.5.win32.msi/downloadWindows installer (64 bits)http://sourceforge.net/projects/winappdbg/files/WinAppDbg/1.5/winappdbg-1.5.win-amd64.msi/downloadSource codehttp://sourceforge.net/projects/winappdbg/files/WinAppDbg/1.5/winappdbg-1.5.zip/downloadDocumentation:--------------Onlinehttp://winappdbg.sourceforge.net/doc/v1.5/tutorialhttp://winappdbg.sourceforge.net/doc/v1.5/referenceWindows Helphttp://sourceforge.net/projects/winappdbg/files/WinAppDbg/1.5/winappdbg-1.5-tutorial.chm/downloadhttp://sourceforge.net/projects/winappdbg/files/WinAppDbg/1.5/winappdbg-1.5-reference.chm/downloadHTML format (offline)http://sourceforge.net/projects/winappdbg/files/WinAppDbg/1.5/winappdbg-1.5-tutorial.chm/downloadhttp://sourceforge.net/projects/winappdbg/files/WinAppDbg/1.5/winappdbg-1.5-reference.chm/downloadPDF format (suitable for printing)http://sourceforge.net/projects/winappdbg/files/WinAppDbg/1.5/winappdbg-1.5-tutorial.pdf/downloadhttp://sourceforge.net/projects/winappdbg/files/WinAppDbg/1.5/winappdbg-1.5-reference.pdf/download
Package: win-app-packager
Python Win App PackagerDistributing end user software on windows should not require the
end user to install dependancies, like python.This tool turns a python program into a package that is suitable
to be installed on window via installation software like INNO setup
(http://www.jrsoftware.org/isinfo.php).The method used to create the package copies the source code of the
program, the source code from any python libraries and any required
python extensions and the DLLs that depend on.The inclusion of the source code allows users to modify the program,
if they so desire.win_app_packager supports python 3 for win64.1.5.0 add supoprt for python 3.11
Fix issue with not finding python3XX.dllIf environment variable PY_WIN_APP_DEBUG is set to 1 then
show debug information.Add GUI test for PyQt61.4.3 add support for python 3.10
Add test for cli tzlocal.
Kits built for 3.9 and 3.10 only.1.4.2 add support for python 3.91.4.1 add support for python 3.8 (includes patched modulefinder.py)1.4.0 add support for packaging projects from a virtual env (venv).1.3.0 supports changing the version resource of the created .EXE.
The version fields that name the app are set to the app .EXE name.The –version option allows the app’s version to be set.Python version 3.5, 3.6 and 3.7 are supported.Installationpy -3 -m pip install win-app-packagerUsageC:\Users\barry> py -3 -m win_app_packager
python3 -m win_app_packager build <main-script> <package-folder> [<options>...]
  main-script
    - python main module
  package-folder
    - folder to create package into

  Where <options> are:
    --console
    --cli
        build a windows console progam (the default).
    --gui
        build a windows gui program.
    --name
        name the program (defaults to the <main-script> name).
    --version <version>
        Set the version of the .EXE to be <version>.
        e.g 1.0.2.5
    --install-key <key>
    --install-value <value>
        The install path of the package can be read
        from the windows registry from key HKLM:<key> value <value>
        otherwise the install path is assumed to be the same folder
        that the .EXE files is in.
    --modules-allowed-to-be-missing-file <file-name>
        Add all the modules listed in the file <file-name> to the allowed
        to be missing list. Blank lines and lines starting with a '#' as ignored.
    --merge
        Do not clean out the <package-folder> before building the package.
        Useful for putting multiple programs into one package.
    --verbose
        Output extra information about the build process.
    --debug
        Developer option. Output lots of details about the build process.
    --bootstrap-debug
        Developer option. Copy PDF files and setup a Microsoft Visual
        Studio solution (.sln) file suitable for running the bootstrap
        under the debugger.

python3 -m win_app_packager flags <exe-file> <verbose>'
  exe-file
    - the win_app_package create EXE file to modify
  verbose
    - either "0" or "1". The value to see the python verbose flag to.
Package: winapps
winapps - Python library for managing installed applications on WindowsInstallationTo installwinappsfrom PyPI run:$pipinstallwinappsOr clone it using git:$gitclonehttps://github.com/rominf/winapps.git
$cdwinapps
$python(3)setup.pyinstallUsagePrinting installed applicationsimportwinappsforappinwinapps.list_installed():print(app)# InstalledApplication(name='7-Zip 19.00 (x64)', version='19.00', install_date=None, install_location=WindowsPath('C:/Program Files/7-Zip'), install_source=None, modify_path=None, publisher='Igor Pavlov', uninstall_string='C:\\Program Files\\7-Zip\\Uninstall.exe')# InstalledApplication(name='Mozilla Firefox 66.0.2 (x64 ru)', version='66.0.2', install_date=None, install_location=WindowsPath('C:/Program Files/Mozilla Firefox'), install_source=None, modify_path=None, publisher='Mozilla', uninstall_string='"C:\\Program Files\\Mozilla Firefox\\uninstall\\helper.exe"')# InstalledApplication(name='Mozilla Maintenance Service', version='66.0.2', install_date=None, install_location=None, install_source=None, modify_path=None, publisher='Mozilla', uninstall_string='"C:\\Program Files (x86)\\Mozilla Maintenance Service\\uninstall.exe"')# InstalledApplication(name='Oracle VM VirtualBox Guest Additions 6.0.4', version='6.0.4.0', install_date=None, install_location=None, install_source=None, modify_path=None, publisher='Oracle Corporation', uninstall_string='C:\\Program Files\\Oracle\\VirtualBox Guest Additions\\uninst.exe')# InstalledApplication(name='Python 3.7.1 (Miniconda3 4.5.12 64-bit)', version='4.5.12', install_date=None, install_location=None, install_source=None, modify_path=None, publisher='Anaconda, Inc.', uninstall_string='"C:\\ProgramData\\Miniconda3\\Uninstall-Miniconda3.exe"')# InstalledApplication(name='TortoiseHg 4.9.0 (x64)', version='4.9.0', install_date=datetime.date(2019, 4, 3), install_location=WindowsPath('C:/Program Files/TortoiseHg'), install_source=WindowsPath('C:/Users/Roman Inflianskas/Downloads'), modify_path='MsiExec.exe /I{9DF3A4E8-0C61-49CC-9170-79B0DE20EF25}', publisher='Steve Borho and others', uninstall_string='MsiExec.exe /I{9DF3A4E8-0C61-49CC-9170-79B0DE20EF25}')# ...Searching applicationsimportwinappsforappinwinapps.search_installed('tortoisehg'):print(app)Uninstalling applicationsimportwinapps# Assuming you have exactly one installed Notepad++[npp]=winapps.search_installed('Notepad++')npp.uninstall('/S')# Simpler universal variant (uninstall all Notepad++ applications)winapps.uninstall('Notepad++',args=['/S'])CaveatsThe library currently lookups only for software installed for all users. Only Windows Installer 3.0 .exe installers are
supported ininstaller_command,install, anduninstallare supported.CreditsThis library is heavily inspired bywin_pkgSaltStack module.
Package: winbackup
WinbackupA python package to back up user files on Windows to 7z archives. Useful for offsite or cloud backups and backups can be optionally encrypted with AES256. Archives can be Optionally split archives into smaller archives for easier management. As well as user files can backup Plex Media Server, Hyper-V Virtual Machines and VirtualBox Virtual Machines.embeds 7z to perform compressionsaves lists of installed programs and driversoptional AES256 encryptionArchives produced are full backups - no incremental backups at presentArchives saved in the format - host_user_yyyy-mm-dd_folder.7zTested on Windows 10, Python 3.7+ (not compatible with macOS or Linux)InstallationInstallation is from a package on GitHub Releases or frompipwithpip install winbackupUsageInteractive CLI:winbackupD:/backup_pathRun from configuration file:winbackup-c./winbackup_config.yamlCreate configuration fileCan also be run using a configuration file. To generate a blank configuration file usewinbackup -Corwinbackup --create-configfile. This config file must be modified before use with valid paths or will raise an exception whe run.To generate a configuration file interactively runwinbackup -iorwinbackup --interactive-config. This file can be run without modification for later use.Full CLI optionsAvailable CLI options.FlagOptionDesc-a--allRun backup with all possible backup targets selected-c--configfileRun backup from a supplied yaml config file-C--create-configfileCreate a default configuration file template. Will need modified before being run.-h--helpDisplays help information-i--interactive-configGenerate a configuration file interactively, can be run directly after generation-q--quietMinimal terminal output-v--verboseSets logging to debug. Only affects log file not stdout.-V--versionPrint version info.-y--autoconfirmAutoconfirm promptsTestsTo run unitestspython-munittestdiscovertests-v
python-mpytesttests-vBuild Packagespython-mbuildAboutCreation date: 2021Modified date: 03-05-2022Dependencies: colorama, tqdm, Send2trash, humanize, PyYAMLLicenceThis code is licensed under the GNU GPLv3 Licence.
Included dependencies and code are covered by their own licence - check project pages for details.For finding windows paths there is a section of code in configsaver fromhttps://gist.github.com/mkropat/7550097covered under the MIT Licence copyrightmkropat7z- covered by the L-GPL licence availableherewinfetch- under MIT LicenceCopyright (C) 2021-2022 Joe Campbell  
 GNU GENERAL PUBLIC LICENSE (GPLv3)  

This program is free software: you can redistribute it and / or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY
without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see < https: // www.gnu.org/licenses/>.
Package: win-basic-tools
win-basic-toolsDescription:CLI tool for listing a directory in Windows.Also has config helper for cmd.exe.Installation> pip install win-basic-toolsUsage$ win-basic-tools setupThis will create aliases likepython -m win_basic_tools -acil, "acil" being each letter an option.'a' for all files, 'c' for colors, 'i' for icons and 'l' for list.It will create the.macros.doskeyat your home directory and point it in Registry.After refreshing your prompt, you can usels,ll,touch. See%USERPROFILE%\.macros.doskeyfor the list of aliases.Uninstall: runwin-basic-tools uninstallbeforepip uninstallfor reseting Registry.Also has further options for integrating with other programs.ImageLicenseMIT
Package: winboost
WinBoostWinBoost: Boost your windows system.Winboost runs a complete checkup of your entire system locating junk files, speed-reducing issues and causes of any system or application glitches or crashes. Through a lot of research and testing, we have worked out precise techniques that allow locating issues, which can be safely removed with no risk of damaging your operating system.InstallationpipinstallwinboostUsageimportwinboostwinboost.go()ContributingPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.LicenseMITDisclaimerWe have developed this module for helping people to optimize their system. To opimized system we are deleting cache files and
unnecessary files. Please avoid using this module if you have very important files in your cache.
Package: winbopen
Opens ipynb files on double-clickwinbopen looks for the nearest running notebook server - if it finds one, it
opens a web browser to that notebook. If not, it starts a new notebook server
in that directory.Installation on Windows:pip install winbopen --no-binary winbopenUsage::double-click on ipynbIf you're not on Windows, or double-clicking does not work run:
`2Linux/BSD:python3 -m nbopen.install_xdgMac: Clone the repository and run./osx-install.shWindows:python -m nbopen.install_winNB --no-binary is necessary to let the installer write to windows registry.
Binary wheels do not support post-install hooks.This is a fork of Thomas Kluyver'snbopenfocused on Windows platform
with the following improvements:one-line installationoriginal nbopen stops working at a certain point of time - this bug is fixed
Package: wincertstore
WarningThe package is deprecated. Since Python 2.7.9ssl.create_default_context()automatically loads certificates from
Windows’ cert store.wincertstore provides an interface to access Windows’ CA and CRL certificates.
It uses ctypes and Windows’s sytem cert store API through crypt32.dll.Exampleimport wincertstore
for storename in ("CA", "ROOT"):
    with wincertstore.CertSystemStore(storename) as store:
        for cert in store.itercerts(usage=wincertstore.SERVER_AUTH):
            print(cert.get_pem().decode("ascii"))
            print(cert.get_name())
            print(cert.enhanced_keyusage_names())SERVER_AUTHis the default enhanced key usage. In order to get all
certificates for any usage, useNone. The module offers more OIDs likeCLIENT_AUTH, too.For Python versions without the with statement:for storename in ("CA", "ROOT"):
    store = wincertstore.CertSystemStore(storename)
    try:
        for cert in store.itercerts():
            print(cert.get_pem().decode("ascii")
    finally:
        store.close()SeeCertOpenSystemStoreCertFile helper:import wincertstore
import atexit
import ssl

certfile = wincertstore.CertFile()
certfile.addstore("CA")
certfile.addstore("ROOT")
atexit.register(certfile.close) # cleanup and remove files on shutdown)

ssl_sock = ssl.wrap_socket(sock,
                           ca_certs=certfile.name,
                           cert_reqs=ssl.CERT_REQUIRED)RequirementsPython 2.3 to 3.3Windows XP, Windows Server 2003 or newerctypes 1.0.2 (Python 2.3 and 2.4)
fromhttp://sourceforge.net/projects/ctypes/LicenseCopyright (c) 2013, 2014 by Christian Heimes <christian@python.org>Licensed to PSF under a Contributor Agreement.Seehttp://www.python.org/psf/licensefor licensing details.Acknowledgementshttp://fixunix.com/openssl/254866-re-can-openssl-use-windows-certificate-store.htmlhttp://bugs.python.org/issue17134ReferencesChangeLogwincertstore 0.2Release date: 26-Feb-2013By default CertSystemStore.itercerts() is now limited to return only
certs that are suitable for SERVER_AUTH – that is to validate a TLS/SSL’s
server cert from the perspective of a client.Add CERT_CONTEXT.get_name() to get a human readable name of a certificate.Add CERT_CONTEXT.enhanced_keyusage() to get enhanced key usage and trust
settings from registry. The method returns eitherTrueor a frozenset
of OIDs. True means that the certificate is valid for any purpose.CERT_CONTEXT.enhanced_keyusage_names() maps OIDs to human readable names.Add commin OIDs for enhanced key usages like SERVER_AUTH and CLIENT_AUTH.Add support for universal wheels.Add tox for testing Python 2.6 to 3.3. Python 2.4 and 2.5 are tested
manually.Use pypi.python.org:443 for TLS tests.wincertstore 0.1Release date: 22-Mar-2013Initial release
Package: win-cmd-cleaner
win-cmd-cleanerA customized cleaner for Windows command-line files.DisclamerThis tool is deobfuscation uses only, the author will not be held responsible for any misuse of this tool.Example:The python script can turn all lines of a file such as@%pUBLIc:~89,83%%PUBLic:~5,1%CHo of%PuBlIC:~46,16%f
%pUBlIC:~14,1%L%pUBliC:~55,17%%publIc:~4,1%
SEt R=Jg%pUBLIc:~13,1%gtGXz%pUBLIc:~4,1%w%pUBLIc:~11,1%hm%pUBLIc:~10,1%SHIO
%r:~8,1%e%r:~4,1% na%r:~12,1%e = %r:~10,1%a%r:~4,1%c%r:~11,1% o%r:~10,1%%r:~13,1%%r:~8,1%ca%r:~4,1%or %r:~10,1%b %r:~12,1%oo%r:~12,1%825into@eCHo off
cLs
SEt R=JgigtGXzswbhmuSHIO
set name = batch obuscator bb moom825Info:This python script was made as a result of watching the videoAsync RAT - Batch Obfuscationby John HammondLink HereRequirements: Python3, WindowsAdditional InfoINFORM.md