php-parser-py 1.2.4__py3-none-win_amd64.whl → 1.2.6__py3-none-win_amd64.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.
@@ -1,20 +1,24 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: php-parser-py
3
- Version: 1.2.4
3
+ Version: 1.2.6
4
4
  Summary: Python wrapper for PHP-Parser using cpg2py
5
+ License-Expression: GPL-2.0-only
5
6
  License-File: LICENSE
7
+ License-File: PHP-LICENSE
8
+ License-File: PHP-Parser-LICENSE
9
+ License-File: Zend-Engine-LICENSE
6
10
  Classifier: Development Status :: 4 - Beta
7
11
  Classifier: Intended Audience :: Developers
8
12
  Classifier: Programming Language :: Python :: 3
9
13
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
10
- Requires-Python: >=3.11
14
+ Requires-Python: >=3.10
11
15
  Requires-Dist: cpg2py>=1.2.0
12
- Requires-Dist: static-php-py>=0.1.6
16
+ Requires-Dist: static-php-py>=0.2.0
13
17
  Description-Content-Type: text/markdown
14
18
 
15
19
  # php-parser-py
16
20
 
17
- > *php* + *parser* + *py*: nikic/PHP-Parser, driven from Python.
21
+ > PHP's parser, in py - Drive nikic/PHP-Parser from Python.
18
22
 
19
23
  Parse, query, mutate, and regenerate PHP code in Python through a graph API — no local PHP required.
20
24
 
@@ -28,7 +32,7 @@ uv add php-parser-py
28
32
  pip install php-parser-py
29
33
  ```
30
34
 
31
- Requires Python >= 3.11.
35
+ Requires Python >= 3.10.
32
36
 
33
37
  ## Usage
34
38
 
@@ -26,7 +26,10 @@ php_parser_py/_transport.py,sha256=J4qo0c8gBEGv05Vww59QnkDZ1R0Bjzrjtr8mV2xbCjo,3
26
26
  php_parser_py/_types.py,sha256=E_eNJqyWN8guIlNGmSs7qILmT9xa289IdjiwaeGMzSA,2719
27
27
  php_parser_py/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
28
28
  php_parser_py/_resources/php.exe,sha256=yv_KdAxqo8Pc_xrwnCjdBA2_jn24PL1V4TB1Aey34vY,9529856
29
- php_parser_py-1.2.4.dist-info/METADATA,sha256=2HAUjcli7zupaclZ4YqvAd7gyvpEcXhBiIlGWoS8das,3423
30
- php_parser_py-1.2.4.dist-info/WHEEL,sha256=eOph205RIaepfK4qdVVjtNnzanETS7NC0N2C0Ks5Yc8,104
31
- php_parser_py-1.2.4.dist-info/licenses/LICENSE,sha256=gXf5dRMhNSbfLPYYTY_5hsZ1r7UU1OaKQEAQUhuIBkM,18092
32
- php_parser_py-1.2.4.dist-info/RECORD,,
29
+ php_parser_py-1.2.6.dist-info/METADATA,sha256=pO-QeApnKgXthtQees0JvDRi9BNe84r-DR-ViNukLhE,3544
30
+ php_parser_py-1.2.6.dist-info/WHEEL,sha256=eOph205RIaepfK4qdVVjtNnzanETS7NC0N2C0Ks5Yc8,104
31
+ php_parser_py-1.2.6.dist-info/licenses/LICENSE,sha256=gXf5dRMhNSbfLPYYTY_5hsZ1r7UU1OaKQEAQUhuIBkM,18092
32
+ php_parser_py-1.2.6.dist-info/licenses/PHP-LICENSE,sha256=tC5N9eUObs2hBH1QPW2R1xAy0J7RAnuh7ynu0m-JDFo,3204
33
+ php_parser_py-1.2.6.dist-info/licenses/PHP-Parser-LICENSE,sha256=3YWeEH-sn4ekQTq4w8lvDxYRoX9Zai21YqWk9JBMHpc,1520
34
+ php_parser_py-1.2.6.dist-info/licenses/Zend-Engine-LICENSE,sha256=UJrrO-ZOQo1-AATOIkYgqwG_lK2qzvu0SWEZOd9WvFs,2803
35
+ php_parser_py-1.2.6.dist-info/RECORD,,
@@ -0,0 +1,68 @@
1
+ --------------------------------------------------------------------
2
+ The PHP License, version 3.01
3
+ Copyright (c) 1999 - 2024 The PHP Group. All rights reserved.
4
+ --------------------------------------------------------------------
5
+
6
+ Redistribution and use in source and binary forms, with or without
7
+ modification, is permitted provided that the following conditions
8
+ are met:
9
+
10
+ 1. Redistributions of source code must retain the above copyright
11
+ notice, this list of conditions and the following disclaimer.
12
+
13
+ 2. Redistributions in binary form must reproduce the above copyright
14
+ notice, this list of conditions and the following disclaimer in
15
+ the documentation and/or other materials provided with the
16
+ distribution.
17
+
18
+ 3. The name "PHP" must not be used to endorse or promote products
19
+ derived from this software without prior written permission. For
20
+ written permission, please contact group@php.net.
21
+
22
+ 4. Products derived from this software may not be called "PHP", nor
23
+ may "PHP" appear in their name, without prior written permission
24
+ from group@php.net. You may indicate that your software works in
25
+ conjunction with PHP by saying "Foo for PHP" instead of calling
26
+ it "PHP Foo" or "phpfoo"
27
+
28
+ 5. The PHP Group may publish revised and/or new versions of the
29
+ license from time to time. Each version will be given a
30
+ distinguishing version number.
31
+ Once covered code has been published under a particular version
32
+ of the license, you may always continue to use it under the terms
33
+ of that version. You may also choose to use such covered code
34
+ under the terms of any subsequent version of the license
35
+ published by the PHP Group. No one other than the PHP Group has
36
+ the right to modify the terms applicable to covered code created
37
+ under this License.
38
+
39
+ 6. Redistributions of any form whatsoever must retain the following
40
+ acknowledgment:
41
+ "This product includes PHP software, freely available from
42
+ <http://www.php.net/software/>".
43
+
44
+ THIS SOFTWARE IS PROVIDED BY THE PHP DEVELOPMENT TEAM ``AS IS'' AND
45
+ ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
46
+ THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
47
+ PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE PHP
48
+ DEVELOPMENT TEAM OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
49
+ INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
50
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
51
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
52
+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
53
+ STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
54
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
55
+ OF THE POSSIBILITY OF SUCH DAMAGE.
56
+
57
+ --------------------------------------------------------------------
58
+
59
+ This software consists of voluntary contributions made by many
60
+ individuals on behalf of the PHP Group.
61
+
62
+ The PHP Group can be contacted via Email at group@php.net.
63
+
64
+ For more information on the PHP Group and the PHP project,
65
+ please see <http://www.php.net>.
66
+
67
+ PHP includes the Zend Engine, freely available at
68
+ <http://www.zend.com>.
@@ -0,0 +1,29 @@
1
+ BSD 3-Clause License
2
+
3
+ Copyright (c) 2011, Nikita Popov
4
+ All rights reserved.
5
+
6
+ Redistribution and use in source and binary forms, with or without
7
+ modification, are permitted provided that the following conditions are met:
8
+
9
+ 1. Redistributions of source code must retain the above copyright notice, this
10
+ list of conditions and the following disclaimer.
11
+
12
+ 2. Redistributions in binary form must reproduce the above copyright notice,
13
+ this list of conditions and the following disclaimer in the documentation
14
+ and/or other materials provided with the distribution.
15
+
16
+ 3. Neither the name of the copyright holder nor the names of its
17
+ contributors may be used to endorse or promote products derived from
18
+ this software without specific prior written permission.
19
+
20
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
23
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
24
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
26
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
27
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
28
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -0,0 +1,56 @@
1
+ --------------------------------------------------------------------
2
+ The Zend Engine License, Version 2.00
3
+ Copyright (c) 1999-2006 Zend Technologies Ltd. All rights reserved.
4
+ --------------------------------------------------------------------
5
+
6
+ Redistribution and use in source and binary forms, with or without
7
+ modification, is permitted provided that the following conditions
8
+ are met:
9
+
10
+ 1. Redistributions of source code must retain the above copyright
11
+ notice, this list of conditions and the following disclaimer.
12
+
13
+ 2. Redistributions in binary form must reproduce the above
14
+ copyright notice, this list of conditions and the following
15
+ disclaimer in the documentation and/or other materials provided
16
+ with the distribution.
17
+
18
+ 3. The names "Zend" and "Zend Engine" must not be used to endorse
19
+ or promote products derived from this software without prior
20
+ permission from Zend Technologies Ltd. For written permission,
21
+ please contact license@zend.com.
22
+
23
+ 4. Zend Technologies Ltd. may publish revised and/or new versions
24
+ of the license from time to time. Each version will be given a
25
+ distinguishing version number.
26
+ Once covered code has been published under a particular version
27
+ of the license, you may always continue to use it under the
28
+ terms of that version. You may also choose to use such covered
29
+ code under the terms of any subsequent version of the license
30
+ published by Zend Technologies Ltd. No one other than Zend
31
+ Technologies Ltd. has the right to modify the terms applicable
32
+ to covered code created under this License.
33
+
34
+ 5. Redistributions of any form whatsoever must retain the following
35
+ acknowledgment:
36
+ "This product includes the Zend Engine, freely available at
37
+ http://www.zend.com"
38
+
39
+ 6. All advertising materials mentioning features or use of this
40
+ software must display the following acknowledgment:
41
+ "The Zend Engine is freely available at http://www.zend.com"
42
+
43
+ THIS SOFTWARE IS PROVIDED BY ZEND TECHNOLOGIES LTD. ``AS IS'' AND
44
+ ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
45
+ THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
46
+ PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ZEND
47
+ TECHNOLOGIES LTD. BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
48
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
49
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
50
+ USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
51
+ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
52
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
53
+ OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
54
+ SUCH DAMAGE.
55
+
56
+ --------------------------------------------------------------------