pywin32 の API リファレンス
pywin32 (mhammond/pywin32) の公開 API 106 件 —— クラス 56、関数 27、メソッド 23。実際のソースを静的解析して抽出した正確なシグネチャを掲載しています。
リポジトリ: mhammond/pywin32
| 種別 | 件数 |
|---|---|
| クラス | 56 |
| 関数 | 27 |
| メソッド | 23 |
API 一覧
func
adodbapi.adodbapi.connect(*args, **kwargs)Connect to a database.
class
com.win32com.client.CDispatchThe dynamic class used as a last resort.
class
com.win32com.client.ConstantsA container for generated COM constants.
func
com.win32com.client.GetObject(Pathname=None, Class=None, clsctx=None)Mimic VB's GetObject() function.
class
com.win32com.client.build.MapEntrySimple holder for named attibutes - items in a map.
class
com.win32com.client.combrowse.HLICategoryAn actual Registered Category
class
com.win32com.client.combrowse.HLIHeadingCategoryA tree heading for registered categories
class
com.win32com.client.combrowse.HLIHeadingRegisterdTypeLibsA tree heading for registered type libraries
class
com.win32com.client.connect.SimpleConnectionA simple, single connection object
func
com.win32com.client.gencache.SplitGeneratedFileName(fname)Reverse of GetGeneratedFileName()
method
com.win32com.client.genpy.Generator.generate_child(child, dir)Generate a single child.
class
com.win32com.client.makepy.SimpleProgressA simple progress class prints its output to stderr
class
com.win32com.client.tlbrowse.TLBrowserExceptionTypeLib browser internal error
class
com.win32com.client.tlbrowse.TypeBrowseDialogBrowse a type library
class
com.win32com.makegw.makegwparse.ArgFormatterAn instance for a specific type of argument.
class
com.win32com.makegw.makegwparse.ArgFormatterSimpleAn arg formatter for simple integer etc types
class
com.win32com.server.dispatcher.DispatcherBaseThe base class for all Dispatchers.
class
com.win32com.server.exception.COMExceptionAn Exception object that is understood by the framework.
class
com.win32com.server.policy.BasicWrapPolicyThe base class of policies.
func
com.win32com.server.policy.call_func(spec, *args)Call a function specified by name.
class
com.win32com.server.util.CollectionA collection of VARIANT values.
class
com.win32com.server.util.ListEnumeratorA class to expose a Python sequence as an EnumVARIANT.
func
com.win32com.server.util.unwrap(ob)Unwraps an interface.
class
com.win32com.servers.interp.InterpreterThe interpreter object exposed via COM
method
com.win32com.servers.interp.Interpreter.Eval(exp)Evaluate an expression.
method
com.win32com.servers.interp.Interpreter.Exec(exp)Execute a statement.
class
com.win32comext.axdebug.debugger.ModuleTreeNodeHelper class for building a module tree
class
com.win32comext.axdebug.gateways.DebugApplicationNodeEventsEvent interface for DebugApplicationNode object.
class
com.win32comext.axdebug.gateways.DebugDocumentThe base interface to all debug documents.
class
com.win32comext.axdebug.gateways.DebugDocumentTextThe interface to a text only debug document.
method
com.win32comext.axdebug.gateways.DebugDocumentText.GetContextOfPosition(charPos, maxChars)Params are integers.
class
com.win32comext.axscript.client.error.AXScriptExceptionA class used as a COM exception.
func
com.win32comext.axscript.client.error.FormatForAX(text:str)Format a string suitable for an AX Host
class
com.win32comext.axscript.client.framework.COMScriptAn ActiveX Scripting engine base class.
method
com.win32comext.axscript.client.framework.COMScript.HandleException(codeBlock:AXScriptCodeBlock | None) -> NoReturnNever returns - raises a ComException
class
com.win32comext.axscript.client.framework.EventA single event for a ActiveX named object.
class
com.win32comext.axscript.client.framework.EventSinkA set of events against an item.
class
com.win32comext.axscript.client.pyscript.AXScriptAttributeAn attribute in a scripts namespace.
class
com.win32comext.axscript.client.pyscript.NamedScriptAttributeAn explicitly named object in an objects namespace
class
com.win32comext.axscript.server.axsite.AXSiteAn Active Scripting site.
method
com.win32comext.axscript.server.axsite.AXSite.AddEngine(engine)Adds a new engine to the site.
func
isapi.install.InstallModule(conf_module_name, params, options, log=lambda *args: None)Install the extension
func
isapi.install.UninstallModule(conf_module_name, params, options, log=lambda *args: None)Remove the extension
func
isapi.install.split_path(path)Get the parent path and basename.
class
isapi.simple.SimpleExtensionBase class for a simple ISAPI extension
class
isapi.simple.SimpleFilterBase class for a a simple ISAPI filter
class
pythonwin.pywin.Demos.createwin.ControlGeneric control class
class
pythonwin.pywin.Demos.sliderdemo.MyDialogExample using simple controls
class
pythonwin.pywin.debugger.debugger.HierListDebuggerHier List of stack frames, breakpoints, whatever
class
pythonwin.pywin.framework.app.CAppA class for the application
method
pythonwin.pywin.framework.app.CApp.InitInstance()Called to crank up the app
method
pythonwin.pywin.framework.app.CApp.LoadMainFrame()Create the main applications frame
method
pythonwin.pywin.framework.app.CApp.OnRClick(params)Handle right click message
func
pythonwin.pywin.framework.app.Win32Input(prompt=None)Provide input() for gui apps
class
pythonwin.pywin.framework.bitmap.BitmapDocumentA bitmap document.
class
pythonwin.pywin.framework.bitmap.BitmapViewA view of a bitmap.
class
pythonwin.pywin.framework.dlgappcore.AppDialogThe dialog box for the application
class
pythonwin.pywin.framework.dlgappcore.DialogAppAn application class, for an app with main dialog box
class
pythonwin.pywin.framework.editor.color.coloreditor.SyntEditDocumentA SyntEdit document.
class
pythonwin.pywin.framework.editor.color.coloreditor.SyntEditViewA view of a SyntEdit.
method
pythonwin.pywin.framework.editor.color.coloreditor.SyntEditView.TabKeyEvent(event)Insert an indent.
func
pythonwin.pywin.framework.interact.DestroyInteractiveWindow()Destroy the interactive window.
class
pythonwin.pywin.framework.scriptutils.DlgRunScriptA class for the 'run script' dialog
func
pythonwin.pywin.framework.scriptutils.GetDebugger()Get the default Python debugger.
class
pythonwin.pywin.idle.CallTips.TC(self, a=None, *b)
method
pythonwin.pywin.idle.CallTips.TC.t1()(self)
method
pythonwin.pywin.idle.CallTips.TC.t2(a, b=None)(self, a, b=None)
method
pythonwin.pywin.idle.CallTips.TC.t3(a, *args)(self, a, *args)
method
pythonwin.pywin.idle.CallTips.TC.t4(*args)(self, *args)
method
pythonwin.pywin.idle.CallTips.TC.t5(a, *args)(self, a, *args)
method
pythonwin.pywin.idle.CallTips.TC.t6(a, b=None, *args, **kw)(self, a, b=None, *args, **kw)
func
pythonwin.pywin.idle.CallTips.t1()()
func
pythonwin.pywin.idle.CallTips.t2(a, b=None)(a, b=None)
func
pythonwin.pywin.idle.CallTips.t3(a, *args)(a, *args)
func
pythonwin.pywin.idle.CallTips.t4(*args)(*args)
func
pythonwin.pywin.idle.CallTips.t5(a, *args)(a, *args)
func
pythonwin.pywin.idle.CallTips.t6(a, b=None, *args, **kw)(a, b=None, *args, **kw)
class
pythonwin.pywin.mfc.activex.ControlAn ActiveX control base class.
class
pythonwin.pywin.mfc.dialog.DialogBase class for a dialog
class
pythonwin.pywin.mfc.dialog.PrintDialogBase class for a print dialog
method
pythonwin.pywin.mfc.dialog.PrintDialog.OnOK()DoModal has finished.
class
pythonwin.pywin.mfc.dialog.PropertyPageBase class for a Property Page
class
pythonwin.pywin.mfc.docview.CreateContextA transient base class used as a CreateContext
class
pythonwin.pywin.scintilla.document.CScintillaDocumentA SyntEdit document.
class
pythonwin.pywin.scintilla.formatter.StyleRepresents a single format
func
win32.Demos.desktopmanager.icon_wndproc(hwnd, msg, wp, lp)Window proc for the tray icons
func
win32.Demos.win32netdemo.GroupEnum()Enumerates all the domain groups
func
win32.Demos.win32netdemo.LocalGroupEnum()Enumerates all the local groups
func
win32.Demos.win32netdemo.ServerEnum()Enumerates all servers on the network
func
win32.Demos.win32netdemo.UserEnum()Enumerates all the local users
class
win32.Demos.winprocess.ProcessA Windows process.
method
win32.Demos.winprocess.Process.exitCode()Return process exit code.
method
win32.Demos.winprocess.Process.kill(gracePeriod=5000)Kill process.
func
win32.Lib._win32verstamp_pywin32ctypes.EndUpdateResource(handle:int, discard:bool) -> NoneEnd the update resource of the handle.
func
win32.Lib._win32verstamp_pywin32ctypes.UpdateResource(handle:int, type:str | int, name:str | int, data:Iterable[SupportsIndex] | SupportsIndex | SupportsBytes | ReadableBuffer, language:int=LANG_NEUTRAL) -> NoneUpdate a resource.
class
win32.Lib.pywin32_testutil.LeakTestCaseAn 'adaptor' which takes another test.
method
win32.Lib.pywin32_testutil.TestResult.addError(test:unittest.TestCase, err:OptExcInfo) -> NoneCalled when an error has occurred.
func
win32.Lib.regutil.GetRegisteredExe(exeAlias)Get a registered .exe
func
win32.Lib.regutil.GetRootKey()Retrieves the Registry root in use by Python.
class
win32.Lib.sspi.ClientAuthManages the client side of an SSPI authentication handshake
class
win32.Lib.sspi.ServerAuthManages the server side of an SSPI authentication handshake
class
win32.Lib.win32timezone.RangeMap.ItemRangeMap Item
class
win32.Lib.win32timezone.TimeZoneInfoMain class for handling Windows time zones.
method
win32.Lib.win32timezone.TimeZoneInfo.GetDSTEndTime(year:int) -> datetime.datetimeGiven a year, determines the time when daylight savings ends.
method
win32.Lib.win32timezone.TimeZoneInfo.get_sorted_time_zones(key=None) -> list[TimeZoneInfo]Return the time zones sorted by some key.
method
win32.Lib.win32timezone.TimeZoneInfo.utc() -> SelfReturns a time-zone representing UTC.
この情報について
掲載しているシグネチャは mhammond/pywin32 の公開ソースコードを
Python の ast モジュールで静的解析し、引数名・デフォルト値・
型注釈・戻り値型をそのまま抽出したものです。実装コードは保存していません。
詳しくは仕組みの解説をご覧ください。