panda3d-interrogate 0.10.0__cp313-cp313t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,14 @@
1
+ import os
2
+ import subprocess
3
+ import sys
4
+
5
+
6
+ def _get_executable(name):
7
+ return os.path.join(os.path.dirname(__file__), name)
8
+
9
+ def _run(name):
10
+ executable = _get_executable(name)
11
+ return subprocess.call([executable] + sys.argv[1:])
12
+
13
+ def main():
14
+ raise SystemExit(_run("interrogate"))
@@ -0,0 +1,3 @@
1
+ from . import main
2
+
3
+ main()
Binary file
@@ -0,0 +1,14 @@
1
+ import os
2
+ import subprocess
3
+ import sys
4
+
5
+
6
+ def _get_executable(name):
7
+ return os.path.join(os.path.dirname(__file__), name)
8
+
9
+ def _run(name):
10
+ executable = _get_executable(name)
11
+ return subprocess.call([executable] + sys.argv[1:])
12
+
13
+ def main():
14
+ raise SystemExit(_run("interrogate_module"))
@@ -0,0 +1,3 @@
1
+ from . import main
2
+
3
+ main()
Binary file
interrogatedb.pyi ADDED
@@ -0,0 +1,180 @@
1
+ def interrogate_request_database(database_filename: str) -> None: ...
2
+ def interrogate_request_module(def_: int) -> None: ...
3
+ def interrogate_add_search_directory(dirname: str) -> None: ...
4
+ def interrogate_add_search_path(pathstring: str) -> None: ...
5
+ def interrogate_error_flag() -> bool: ...
6
+
7
+ # Manifest Symbols
8
+ def interrogate_number_of_manifests() -> int: ...
9
+ def interrogate_get_manifest(n: int) -> int: ...
10
+ def interrogate_get_manifest_by_name(manifest_name: str) -> int: ...
11
+ def interrogate_manifest_name(manifest: int) -> str: ...
12
+ def interrogate_manifest_definition(manifest: int) -> str: ...
13
+ def interrogate_manifest_has_type(manifest: int) -> bool: ...
14
+ def interrogate_manifest_get_type(manifest: int) -> int: ...
15
+ def interrogate_manifest_has_getter(manifest: int) -> bool: ...
16
+ def interrogate_manifest_getter(manifest: int) -> int: ...
17
+ def interrogate_manifest_has_int_value(manifest: int) -> bool: ...
18
+ def interrogate_manifest_get_int_value(manifest: int) -> int: ...
19
+
20
+ # Data Elements
21
+ def interrogate_element_name(element: int) -> str: ...
22
+ def interrogate_element_scoped_name(element: int) -> str: ...
23
+ def interrogate_element_has_comment(element: int) -> bool: ...
24
+ def interrogate_element_comment(element: int) -> str: ...
25
+ def interrogate_get_element_by_name(element_name: str) -> int: ...
26
+ def interrogate_get_element_by_scoped_name(element_name: str) -> int: ...
27
+ def interrogate_element_type(element: int) -> int: ...
28
+ def interrogate_element_has_getter(element: int) -> bool: ...
29
+ def interrogate_element_getter(element: int) -> int: ...
30
+ def interrogate_element_has_setter(element: int) -> bool: ...
31
+ def interrogate_element_setter(element: int) -> int: ...
32
+ def interrogate_element_has_has_function(element: int) -> bool: ...
33
+ def interrogate_element_has_function(element: int) -> int: ...
34
+ def interrogate_element_has_clear_function(element: int) -> bool: ...
35
+ def interrogate_element_clear_function(element: int) -> int: ...
36
+ def interrogate_element_has_del_function(element: int) -> bool: ...
37
+ def interrogate_element_del_function(element: int) -> int: ...
38
+ def interrogate_element_has_insert_function(element: int) -> bool: ...
39
+ def interrogate_element_insert_function(element: int) -> int: ...
40
+ def interrogate_element_has_getkey_function(element: int) -> bool: ...
41
+ def interrogate_element_getkey_function(element: int) -> int: ...
42
+ def interrogate_element_length_function(element: int) -> int: ...
43
+ def interrogate_element_is_sequence(element: int) -> bool: ...
44
+ def interrogate_element_is_mapping(element: int) -> bool: ...
45
+
46
+ # Global Data
47
+ def interrogate_number_of_globals() -> int: ...
48
+ def interrogate_get_global(n: int) -> int: ...
49
+
50
+ # Functions
51
+ def interrogate_number_of_global_functions() -> int: ...
52
+ def interrogate_get_global_function(n: int) -> int: ...
53
+ def interrogate_number_of_functions() -> int: ...
54
+ def interrogate_get_function(n: int) -> int: ...
55
+ def interrogate_function_name(function: int) -> str: ...
56
+ def interrogate_function_scoped_name(function: int) -> str: ...
57
+ def interrogate_function_has_comment(function: int) -> bool: ...
58
+ def interrogate_function_comment(function: int) -> str: ...
59
+ def interrogate_function_prototype(function: int) -> str: ...
60
+ def interrogate_function_is_method(function: int) -> bool: ...
61
+ def interrogate_function_class(function: int) -> int: ...
62
+ def interrogate_function_is_unary_op(function: int) -> bool: ...
63
+ def interrogate_function_is_operator_typecast(function: int) -> bool: ...
64
+ def interrogate_function_is_constructor(function: int) -> bool: ...
65
+ def interrogate_function_is_destructor(function: int) -> bool: ...
66
+ def interrogate_function_has_module_name(function: int) -> bool: ...
67
+ def interrogate_function_module_name(function: int) -> str: ...
68
+ def interrogate_function_has_library_name(function: int) -> bool: ...
69
+ def interrogate_function_library_name(function: int) -> str: ...
70
+ def interrogate_function_is_virtual(function: int) -> bool: ...
71
+ def interrogate_function_number_of_c_wrappers(function: int) -> int: ...
72
+ def interrogate_function_c_wrapper(function: int, n: int) -> int: ...
73
+ def interrogate_function_number_of_python_wrappers(function: int) -> int: ...
74
+ def interrogate_function_python_wrapper(function: int, n: int) -> int: ...
75
+
76
+ # Function Wrappers
77
+ def interrogate_wrapper_name(wrapper: int) -> str: ...
78
+ def interrogate_wrapper_function(wrapper: int) -> int: ...
79
+ def interrogate_wrapper_is_callable_by_name(wrapper: int) -> bool: ...
80
+ def interrogate_wrapper_is_copy_constructor(wrapper: int) -> bool: ...
81
+ def interrogate_wrapper_is_coerce_constructor(wrapper: int) -> bool: ...
82
+ def interrogate_wrapper_is_extension(wrapper: int) -> bool: ...
83
+ def interrogate_wrapper_is_deprecated(wrapper: int) -> bool: ...
84
+ def interrogate_wrapper_has_comment(wrapper: int) -> bool: ...
85
+ def interrogate_wrapper_comment(wrapper: int) -> str: ...
86
+ def interrogate_wrapper_has_return_value(wrapper: int) -> bool: ...
87
+ def interrogate_wrapper_return_type(wrapper: int) -> int: ...
88
+ def interrogate_wrapper_caller_manages_return_value(wrapper: int) -> bool: ...
89
+ def interrogate_wrapper_return_value_destructor(wrapper: int) -> int: ...
90
+ def interrogate_wrapper_number_of_parameters(wrapper: int) -> int: ...
91
+ def interrogate_wrapper_parameter_type(wrapper: int, n: int) -> int: ...
92
+ def interrogate_wrapper_parameter_has_name(wrapper: int, n: int) -> bool: ...
93
+ def interrogate_wrapper_parameter_name(wrapper: int, n: int) -> str: ...
94
+ def interrogate_wrapper_parameter_is_this(wrapper: int, n: int) -> bool: ...
95
+ def interrogate_wrapper_parameter_is_optional(wrapper: int, n: int) -> bool: ...
96
+ def interrogate_wrapper_has_pointer(wrapper: int) -> bool: ...
97
+ def interrogate_wrapper_pointer(wrapper: int) -> None: ...
98
+ def interrogate_wrapper_unique_name(wrapper: int) -> str: ...
99
+ def interrogate_get_wrapper_by_unique_name(unique_name: str) -> int: ...
100
+
101
+ # MakeSeqs
102
+ def interrogate_make_seq_seq_name(make_seq: int) -> str: ...
103
+ def interrogate_make_seq_scoped_name(make_seq: int) -> str: ...
104
+ def interrogate_make_seq_has_comment(make_seq: int) -> bool: ...
105
+ def interrogate_make_seq_comment(make_seq: int) -> str: ...
106
+ def interrogate_make_seq_num_name(make_seq: int) -> str: ...
107
+ def interrogate_make_seq_element_name(make_seq: int) -> str: ...
108
+ def interrogate_make_seq_num_getter(make_seq: int) -> int: ...
109
+ def interrogate_make_seq_element_getter(make_seq: int) -> int: ...
110
+
111
+ # Types
112
+ def interrogate_number_of_global_types() -> int: ...
113
+ def interrogate_get_global_type(n: int) -> int: ...
114
+ def interrogate_number_of_types() -> int: ...
115
+ def interrogate_get_type(n: int) -> int: ...
116
+ def interrogate_get_type_by_name(type_name: str) -> int: ...
117
+ def interrogate_get_type_by_scoped_name(type_name: str) -> int: ...
118
+ def interrogate_get_type_by_true_name(type_name: str) -> int: ...
119
+ def interrogate_type_is_global(type: int) -> bool: ...
120
+ def interrogate_type_is_deprecated(type: int) -> bool: ...
121
+ def interrogate_type_name(type: int) -> str: ...
122
+ def interrogate_type_scoped_name(type: int) -> str: ...
123
+ def interrogate_type_true_name(type: int) -> str: ...
124
+ def interrogate_type_is_nested(type: int) -> bool: ...
125
+ def interrogate_type_outer_class(type: int) -> int: ...
126
+ def interrogate_type_has_comment(type: int) -> bool: ...
127
+ def interrogate_type_comment(type: int) -> str: ...
128
+ def interrogate_type_has_module_name(type: int) -> bool: ...
129
+ def interrogate_type_module_name(type: int) -> str: ...
130
+ def interrogate_type_has_library_name(type: int) -> bool: ...
131
+ def interrogate_type_library_name(type: int) -> str: ...
132
+ def interrogate_type_is_atomic(type: int) -> bool: ...
133
+ def interrogate_type_atomic_token(type: int) -> int: ...
134
+ def interrogate_type_is_unsigned(type: int) -> bool: ...
135
+ def interrogate_type_is_signed(type: int) -> bool: ...
136
+ def interrogate_type_is_long(type: int) -> bool: ...
137
+ def interrogate_type_is_longlong(type: int) -> bool: ...
138
+ def interrogate_type_is_short(type: int) -> bool: ...
139
+ def interrogate_type_is_wrapped(type: int) -> bool: ...
140
+ def interrogate_type_is_pointer(type: int) -> bool: ...
141
+ def interrogate_type_is_const(type: int) -> bool: ...
142
+ def interrogate_type_is_typedef(type: int) -> bool: ...
143
+ def interrogate_type_wrapped_type(type: int) -> int: ...
144
+ def interrogate_type_is_array(type: int) -> bool: ...
145
+ def interrogate_type_array_size(type: int) -> int: ...
146
+ def interrogate_type_is_enum(type: int) -> bool: ...
147
+ def interrogate_type_is_scoped_enum(type: int) -> bool: ...
148
+ def interrogate_type_number_of_enum_values(type: int) -> int: ...
149
+ def interrogate_type_enum_value_name(type: int, n: int) -> str: ...
150
+ def interrogate_type_enum_value_scoped_name(type: int, n: int) -> str: ...
151
+ def interrogate_type_enum_value_comment(type: int, n: int) -> str: ...
152
+ def interrogate_type_enum_value(type: int, n: int) -> int: ...
153
+ def interrogate_type_is_struct(type: int) -> bool: ...
154
+ def interrogate_type_is_class(type: int) -> bool: ...
155
+ def interrogate_type_is_union(type: int) -> bool: ...
156
+ def interrogate_type_is_fully_defined(type: int) -> bool: ...
157
+ def interrogate_type_is_unpublished(type: int) -> bool: ...
158
+ def interrogate_type_number_of_constructors(type: int) -> int: ...
159
+ def interrogate_type_get_constructor(type: int, n: int) -> int: ...
160
+ def interrogate_type_has_destructor(type: int) -> bool: ...
161
+ def interrogate_type_destructor_is_inherited(type: int) -> bool: ...
162
+ def interrogate_type_get_destructor(type: int) -> int: ...
163
+ def interrogate_type_number_of_elements(type: int) -> int: ...
164
+ def interrogate_type_get_element(type: int, n: int) -> int: ...
165
+ def interrogate_type_number_of_methods(type: int) -> int: ...
166
+ def interrogate_type_get_method(type: int, n: int) -> int: ...
167
+ def interrogate_type_number_of_make_seqs(type: int) -> int: ...
168
+ def interrogate_type_get_make_seq(type: int, n: int) -> int: ...
169
+ def interrogate_type_number_of_casts(type: int) -> int: ...
170
+ def interrogate_type_get_cast(type: int, n: int) -> int: ...
171
+ def interrogate_type_number_of_derivations(type: int) -> int: ...
172
+ def interrogate_type_get_derivation(type: int, n: int) -> int: ...
173
+ def interrogate_type_is_final(type: int) -> bool: ...
174
+ def interrogate_type_derivation_has_upcast(type: int, n: int) -> bool: ...
175
+ def interrogate_type_get_upcast(type: int, n: int) -> int: ...
176
+ def interrogate_type_derivation_downcast_is_impossible(type: int, n: int) -> bool: ...
177
+ def interrogate_type_derivation_has_downcast(type: int, n: int) -> bool: ...
178
+ def interrogate_type_get_downcast(type: int, n: int) -> int: ...
179
+ def interrogate_type_number_of_nested_types(type: int) -> int: ...
180
+ def interrogate_type_get_nested_type(type: int, n: int) -> int: ...
@@ -0,0 +1,100 @@
1
+ Metadata-Version: 2.2
2
+ Name: panda3d-interrogate
3
+ Version: 0.10.0
4
+ Summary: Binding generator designed for Panda3D
5
+ License: Copyright (c) 2008, Carnegie Mellon University.
6
+ All rights reserved.
7
+
8
+ Redistribution and use in source and binary forms, with or without
9
+ modification, are permitted provided that the following conditions
10
+ are met:
11
+
12
+ 1. Redistributions of source code must retain the above copyright
13
+ notice, this list of conditions and the following disclaimer.
14
+ 2. Redistributions in binary form must reproduce the above copyright
15
+ notice, this list of conditions and the following disclaimer in the
16
+ documentation and/or other materials provided with the distribution.
17
+ 3. Neither the name of Carnegie Mellon University nor the names of
18
+ other contributors may be used to endorse or promote products
19
+ derived from this software without specific prior written
20
+ permission.
21
+
22
+ THIS SOFTWARE IS PROVIDED BY THE AUTHORS "AS IS" AND ANY EXPRESS OR
23
+ IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
24
+ OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
25
+ IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT,
26
+ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
27
+ NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
28
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
29
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
30
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
31
+ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32
+
33
+ (This is the Modified BSD License. See also
34
+ http://www.opensource.org/licenses/bsd-license.php )
35
+
36
+ Classifier: Development Status :: 5 - Production/Stable
37
+ Classifier: Intended Audience :: Developers
38
+ Classifier: License :: OSI Approved :: BSD License
39
+ Classifier: Operating System :: OS Independent
40
+ Classifier: Programming Language :: C++
41
+ Project-URL: Source, https://github.com/panda3d/interrogate
42
+ Project-URL: Tracker, https://github.com/panda3d/interrogate/issues
43
+ Project-URL: Funding, https://opencollective.com/panda3d
44
+ Requires-Python: >=3.2
45
+ Description-Content-Type: text/markdown
46
+
47
+ interrogate
48
+ ===========
49
+
50
+ <img src="https://avatars2.githubusercontent.com/u/590956?v=3&s=500" align="right" width="200" />
51
+
52
+ Interrogate is a binding generator for Python and other scripting languages.
53
+ It was designed for use with the [Panda3D](https://www.panda3d.org/) game
54
+ engine, but can be used for other libraries. It was recently split out of the
55
+ [Panda3D codebase](https://github.com/panda3d/panda3d), and work is ongoing to
56
+ refactor the code and make it more independent.
57
+
58
+ Interrogate consists of the following components:
59
+
60
+ - A library for C++ parsing.
61
+ - Stub headers necessary for efficiently parsing code that uses the C++
62
+ standard library and other popular thirdparty libraries.
63
+ - The interrogate command-line tool, which parses the given set of C++ files
64
+ and outputs Python and/or C bindings.
65
+ - The interrogatedb library, which can be used to parse the .idb files that
66
+ may be generated by the above tool. These can be used to generate
67
+ documentation files.
68
+ - Python bindings for the interrogatedb library.
69
+
70
+ Interrogate is licensed under the Modified BSD License. See the LICENSE file
71
+ for more details.
72
+
73
+ Back-ends
74
+ ---------
75
+
76
+ The following back-ends are currently implemented:
77
+
78
+ - `-c`: generate C wrapper functions for use with an FFI.
79
+ - `-python`: the "simple" Python back-end, supporting basic functions.
80
+ Supports the stable Python API.
81
+ - `-python-obj`: a version of the above back-end with object support.
82
+ - `-python-native`: a very powerful back-end with an exhaustive feature list,
83
+ however, the resulting binaries currently depend on Panda3D.
84
+
85
+ Reporting Issues
86
+ ----------------
87
+
88
+ If you encounter any bugs when using Interrogate, please report them in the
89
+ bug tracker. This is hosted at:
90
+
91
+ https://github.com/panda3d/interrogate/issues
92
+
93
+ Make sure to first use the search function to see if the bug has already been
94
+ reported. When filling out a bug report, make sure that you include as much
95
+ information as possible to help the developers track down the issue, such as
96
+ your version of interrogate, operating system, architecture, and any code and
97
+ models that are necessary for the developers to reproduce the issue.
98
+
99
+ If you're not sure whether you've encountered a bug, feel free to ask about
100
+ it in the forums or the IRC channel first.
@@ -0,0 +1,13 @@
1
+ interrogatedb.cpython-313t-x86_64-linux-gnu.so,sha256=c0rSjQRaRz3RLRdZSpYF59P2lV2DyOWAm2PnKV_NStM,315712
2
+ interrogatedb.pyi,sha256=TXbBZjDBqUSXtCVzm_LUD9TFa_UQNms8IrFnJbIbOtk,10468
3
+ interrogate/__init__.py,sha256=E9JWw53g0NNtMR-ykLIhvjhfpggpuNww3cwxebwLcTE,292
4
+ interrogate/__main__.py,sha256=ubt6XyZvcHwdjCQ90B_U4MeP-3YJduz5GWUC9yOgkrg,27
5
+ interrogate/interrogate,sha256=GUtjTKM5PhIZUzvZXcupzKPsvtibolH6ne2b5-hfODw,1489472
6
+ interrogate_module/__init__.py,sha256=bCMtXk5VAXBFBWP_9FfFQ_UN1zBtVM04WTg7ARjnktE,299
7
+ interrogate_module/__main__.py,sha256=ubt6XyZvcHwdjCQ90B_U4MeP-3YJduz5GWUC9yOgkrg,27
8
+ interrogate_module/interrogate_module,sha256=2QFFSby3sjXJJnMHHwWIHmRv5b4a_bYK59KSo0lxphA,426176
9
+ panda3d_interrogate-0.10.0.dist-info/METADATA,sha256=1JQOvRjOoqOQirD2W9y5oLDO27uId5AE-XQe6mI5A-w,4714
10
+ panda3d_interrogate-0.10.0.dist-info/WHEEL,sha256=Jnr5LD_qSydfV_cAeJHLj1x01SWNOMFL7UdwkHhqlWo,159
11
+ panda3d_interrogate-0.10.0.dist-info/entry_points.txt,sha256=bQA3lpVU1O8qEmSyPUyqveRNLI0hbBOtWgZunhRxAPs,95
12
+ panda3d_interrogate-0.10.0.dist-info/RECORD,,
13
+ panda3d_interrogate-0.10.0.dist-info/licenses/LICENSE,sha256=5z7_ZIyzfa30MmOKvhZDULh-5PqwQA_mJD7Ku2_DEOw,1569
@@ -0,0 +1,6 @@
1
+ Wheel-Version: 1.0
2
+ Generator: scikit-build-core 0.11.6
3
+ Root-Is-Purelib: false
4
+ Tag: cp313-cp313t-manylinux_2_24_x86_64
5
+ Tag: cp313-cp313t-manylinux_2_28_x86_64
6
+
@@ -0,0 +1,4 @@
1
+ [console_scripts]
2
+ interrogate = interrogate:main
3
+ interrogate_module = interrogate_module:main
4
+
@@ -0,0 +1,30 @@
1
+ Copyright (c) 2008, Carnegie Mellon University.
2
+ All rights reserved.
3
+
4
+ Redistribution and use in source and binary forms, with or without
5
+ modification, are permitted provided that the following conditions
6
+ are met:
7
+
8
+ 1. Redistributions of source code must retain the above copyright
9
+ notice, this list of conditions and the following disclaimer.
10
+ 2. Redistributions in binary form must reproduce the above copyright
11
+ notice, this list of conditions and the following disclaimer in the
12
+ documentation and/or other materials provided with the distribution.
13
+ 3. Neither the name of Carnegie Mellon University nor the names of
14
+ other contributors may be used to endorse or promote products
15
+ derived from this software without specific prior written
16
+ permission.
17
+
18
+ THIS SOFTWARE IS PROVIDED BY THE AUTHORS "AS IS" AND ANY EXPRESS OR
19
+ IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
20
+ OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
21
+ IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT,
22
+ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
23
+ NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
25
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
27
+ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28
+
29
+ (This is the Modified BSD License. See also
30
+ http://www.opensource.org/licenses/bsd-license.php )