File tree 4 files changed +25
-28
lines changed
4 files changed +25
-28
lines changed Original file line number Diff line number Diff line change @@ -9,16 +9,15 @@ completion in editors like PyCharm or Visual Studio Code.
9
9
10
10
Example usage:
11
11
12
- # _Application is the main "Excel.Application" class
13
- from exceltypes import _Application
12
+ # Application is the main "Excel.Application" class
13
+ from exceltypes import Application
14
14
15
15
# If using win32com directly
16
16
import win32com.client
17
- xl: _Application = win32com.client.Dispatch("Excel.Application")
17
+ xl: Application = win32com.client.Dispatch("Excel.Application")
18
18
19
19
# Or if using pyxll
20
20
import pyxll
21
- xl: _Application = pyxll.xl_app()
21
+ xl: Application = pyxll.xl_app()
22
22
23
23
For details of PyXLL please see https://www.pyxll.com .
24
-
Original file line number Diff line number Diff line change @@ -27743,26 +27743,25 @@ def __iter__(self):
27743
27743
...
27744
27744
27745
27745
# This CoClass is known by the name 'Excel.Application.16'
27746
- class Application(typing.Protocol ): # A CoClass
27746
+ class Application(_Application ): # A CoClass
27747
27747
...
27748
27748
27749
27749
# This CoClass is known by the name 'Excel.Chart.8'
27750
- class Chart(typing.Protocol ): # A CoClass
27750
+ class Chart(_Chart ): # A CoClass
27751
27751
...
27752
27752
27753
- class Global(typing.Protocol ): # A CoClass
27753
+ class Global(_Global ): # A CoClass
27754
27754
...
27755
27755
27756
- class OLEObject(typing.Protocol ): # A CoClass
27756
+ class OLEObject(_OLEObject ): # A CoClass
27757
27757
...
27758
27758
27759
- class QueryTable(typing.Protocol ): # A CoClass
27759
+ class QueryTable(_QueryTable ): # A CoClass
27760
27760
...
27761
27761
27762
- class Workbook(typing.Protocol ): # A CoClass
27762
+ class Workbook(_Workbook ): # A CoClass
27763
27763
...
27764
27764
27765
27765
# This CoClass is known by the name 'Excel.Sheet.8'
27766
- class Worksheet(typing.Protocol ): # A CoClass
27766
+ class Worksheet(_Worksheet ): # A CoClass
27767
27767
...
27768
-
Original file line number Diff line number Diff line change @@ -10838,30 +10838,30 @@ class _SensitivityLabelEvents:
10838
10838
...
10839
10839
10840
10840
10841
- class CommandBarButton (typing . Protocol ): # A CoClass
10841
+ class CommandBarButton (_CommandBarButton ): # A CoClass
10842
10842
...
10843
10843
10844
- class CommandBarComboBox (typing . Protocol ): # A CoClass
10844
+ class CommandBarComboBox (_CommandBarComboBox ): # A CoClass
10845
10845
...
10846
10846
10847
- class CommandBars (typing . Protocol ): # A CoClass
10847
+ class CommandBars (_CommandBars ): # A CoClass
10848
10848
...
10849
10849
10850
- class CustomTaskPane (typing . Protocol ): # A CoClass
10850
+ class CustomTaskPane (_CustomTaskPane ): # A CoClass
10851
10851
...
10852
10852
10853
- class CustomXMLPart (typing . Protocol ): # A CoClass
10853
+ class CustomXMLPart (_CustomXMLPart ): # A CoClass
10854
10854
...
10855
10855
10856
- class CustomXMLParts (typing . Protocol ): # A CoClass
10856
+ class CustomXMLParts (_CustomXMLParts ): # A CoClass
10857
10857
...
10858
10858
10859
- class CustomXMLSchemaCollection (typing . Protocol ): # A CoClass
10859
+ class CustomXMLSchemaCollection (_CustomXMLSchemaCollection ): # A CoClass
10860
10860
...
10861
10861
10862
- class MsoEnvelope (typing . Protocol ): # A CoClass
10862
+ class MsoEnvelope (IMsoEnvelopeVB ): # A CoClass
10863
10863
...
10864
10864
10865
- class SensitivityLabel (typing . Protocol ): # A CoClass
10865
+ class SensitivityLabel (ISensitivityLabel ): # A CoClass
10866
10866
...
10867
10867
Original file line number Diff line number Diff line change 10
10
11
11
Example usage::
12
12
13
- # _Application is the main "Excel.Application" class
14
- from exceltypes import _Application
13
+ # Application is the main "Excel.Application" class
14
+ from exceltypes import Application
15
15
16
16
# If using win32com directly
17
17
import win32com.client
18
- xl: _Application = win32com.client.Dispatch("Excel.Application")
18
+ xl: Application = win32com.client.Dispatch("Excel.Application")
19
19
20
20
# Or if using pyxll
21
21
import pyxll
22
- xl: _Application = pyxll.xl_app()
23
-
22
+ xl: Application = pyxll.xl_app()
24
23
"""
25
24
from setuptools import setup , find_packages
26
25
from os import path
36
35
description = "Type annotations for Excel types using win32com / pywin32" ,
37
36
long_description = long_description ,
38
37
long_description_content_type = 'text/markdown' ,
39
- version = "0.0.1 " ,
38
+ version = "0.0.2 " ,
40
39
packages = find_packages (),
41
40
project_urls = {
42
41
"Source" : "https://github.com/pyxll/exceltypes" ,
You can’t perform that action at this time.
0 commit comments