Commit Graph

  • 6b9f1d8d71 Update source and headers path main Jean-Baptiste Nahan 2024-08-20 22:29:46 +02:00
  • f4279fa47a report extension and python version (#64) Remi Collet 2024-08-20 11:21:25 +02:00
  • 2c7b7a9396 this is a c++ ext, use proper linker command (#61) Remi Collet 2024-08-20 10:51:09 +02:00
  • 8aeb181155 Add LICENSE in pecl package (#62) Remi Collet 2024-08-20 10:47:10 +02:00
  • fdda4342c2 Add python-config PECL option hantianfeng 2024-08-20 16:21:53 +08:00
  • fad95683aa Fix incorrect file name introduced by copy and paste hantianfeng 2024-08-20 15:57:23 +08:00
  • ae20c86573 Support PECL compilation and installation hantianfeng 2024-08-20 15:51:28 +08:00
  • d9f853e770 Update string.md Tianfeng.Han 2024-08-19 12:23:41 +08:00
  • 64010f19b8 Update README.md Tianfeng.Han 2024-07-23 10:43:00 +08:00
  • 809e6f2cf6 Update transformers.php Tianfeng.Han 2024-07-23 10:40:52 +08:00
  • 00c4eb56aa Optimize reference count code, fix memory leak (#58) Tianfeng.Han 2024-06-13 09:00:08 +08:00
  • 3446a88d8d Replace environment variables with the display_exception option hantianfeng 2024-05-31 11:07:46 +08:00
  • a1e14d3bde Add Dockerfile for alpine hantianfeng 2024-05-31 11:06:54 +08:00
  • d85e2416de Revert "Added PyObject::toString(), it is an alias for PyObject::__toString()" hantianfeng 2024-05-28 14:38:53 +08:00
  • e55fe306a7 Update version code hantianfeng 2024-05-28 14:19:59 +08:00
  • 2c4ea54f12 Added PyCore::setOptions(), added numeric_as_object option hantianfeng 2024-05-28 14:14:43 +08:00
  • d84fa79970 Update README.md hantianfeng 2024-05-28 13:25:44 +08:00
  • bd0a74f426 Added PyObject::toString(), it is an alias for PyObject::__toString() hantianfeng 2024-05-28 13:22:01 +08:00
  • 9f736012a1 add more examples tianfenghan 2024-04-09 16:39:41 +08:00
  • 8bdde38815 Fix PyFn ctor tianfenghan 2024-03-07 10:59:32 +08:00
  • 2cba8f9d8c Update fn doc tianfenghan 2024-02-27 11:35:57 +08:00
  • 1df79c9512 Fix python config (#45) Yurun 2024-02-20 12:50:40 +08:00
  • bee6a5ad6d Fix reference/resource dtor tianfenghan 2024-02-19 11:06:36 +08:00
  • 5e69b52bd2 Update Socket API doc tianfenghan 2024-02-19 10:49:02 +08:00
  • 07a3e60a39 Added PyCore::fileno() tianfenghan 2024-02-18 15:34:04 +08:00
  • 22a539212f Fix PyObject::__toString() for python bytes tianfenghan 2024-02-18 13:30:39 +08:00
  • 448835b162 修改了文档中的一个错误 (#44) SQSora 2024-01-31 19:45:25 +08:00
  • b5448e9cd6 Update build-on-windows.md (#42) he426100 2024-01-26 17:13:32 +08:00
  • 32ddce862e Update grade examples, add gradio app example tianfenghan 2024-01-26 16:55:30 +08:00
  • adb44a8f04 Added gradio example tianfenghan 2024-01-25 21:26:50 +08:00
  • e0b0a10c5a Update build-on-windows.md Tianfeng.Han 2024-01-24 13:30:36 +08:00
  • 09f7e38477 update .gitignore rango 2024-01-24 12:47:11 +08:00
  • 16e9915603 fix: change the configure option to use --with-python-config (#39) Heelie 2024-01-23 20:12:01 +08:00
  • 34fa98b719 PHP 如何通过 phpy 调用开源大模型平台魔塔ModelScope (#41) ShaoBo Wan(無尘) 2024-01-23 20:11:41 +08:00
  • eec3bb13f1 Fix #40 tianfenghan 2024-01-23 20:04:34 +08:00
  • 7d295a26dc Added phpy_display_exception env setting tianfenghan 2024-01-22 21:08:24 +08:00
  • 15e646bf93 Refactor: throw exception instead of printing error tianfenghan 2024-01-22 19:14:51 +08:00
  • b843fb9522 Fix tianfenghan 2024-01-22 18:48:33 +08:00
  • 5c87947b80 Refactor, Implement arrayaccess/iterator/countable in object base class tianfenghan 2024-01-22 18:43:54 +08:00
  • d56bf451f0 revert tianfenghan 2024-01-22 16:41:31 +08:00
  • bfe76c077a Optimize code tianfenghan 2024-01-22 13:42:01 +08:00
  • 6e44e57e43 Fix tests tianfenghan 2024-01-22 13:21:18 +08:00
  • 4fa62b2bfa Fix incorrect behavior, enum must not be converted to integer tianfenghan 2024-01-22 12:51:38 +08:00
  • e6bf09e716 Print Error tianfenghan 2024-01-19 19:48:16 +08:00
  • 21030f8c71 PyCore::next() may return any type tianfenghan 2024-01-16 11:22:30 +08:00
  • 00d4918dd4 add examples tianfenghan 2024-01-15 18:37:22 +08:00
  • 7a2b74aaee adapt phpunit for windows (#36) he426100 2024-01-15 11:28:33 +08:00
  • 3e80730042 Add gtk examples, Update docs tianfenghan 2024-01-11 19:39:09 +08:00
  • 05fab292c2 merge tianfenghan 2024-01-11 17:58:11 +08:00
  • 22dee05e82 Optimize, update doc tianfenghan 2024-01-11 17:57:19 +08:00
  • 231350f692 Update README.md Tianfeng.Han 2024-01-11 15:34:38 +08:00
  • 9f6ee7f84d Ubuntu 18.04 下PHP8.3 编译安装phpy (#35) ShaoBo Wan(無尘) 2024-01-11 15:30:13 +08:00
  • 26e834ad08 Fix crash when dict/set has undefined behavior tianfenghan 2023-12-28 17:30:37 +08:00
  • 512909082b Update README.md tianfenghan 2023-12-28 15:18:14 +08:00
  • e93c71503f Update README.md tianfenghan 2023-12-28 15:17:49 +08:00
  • bfe59ea3bf Optimize iter tianfenghan 2023-12-28 12:32:42 +08:00
  • 84f0b2dd88 fix core dump when "new PyType" (#30) he426100 2023-12-26 18:37:06 +08:00
  • 60cd1fce27 update windows doc rango 2023-12-26 18:08:51 +08:00
  • 0cfd01dd8d windows supports (#29) Tianfeng.Han 2023-12-26 13:12:49 +08:00
  • 825c5b6c81 Optimize code tianfenghan 2023-12-26 11:25:29 +08:00
  • 51773302b5 fix core dump when key wasn’t string. (#23) Song Yeung 2023-12-26 10:25:16 +08:00
  • 23d143f5a3 修正只有kwargs没有args时报错 (#28) he426100 2023-12-26 10:12:16 +08:00
  • c8bddf70e1 Update docs, Improve workflow name tianfenghan 2023-12-25 19:18:24 +08:00
  • 2ef65830c6 Fix CI (#27) Tianfeng.Han 2023-12-25 17:30:45 +08:00
  • a621d23d96 Print python version tianfenghan 2023-12-25 17:15:52 +08:00
  • 5633191295 Added zend_array::iter/next/collect tianfenghan 2023-12-25 16:34:58 +08:00
  • 66f0521576 Import array/string object tianfenghan 2023-12-25 15:31:25 +08:00
  • 99fb7ebabb update doc, add dict iter tests tianfenghan 2023-12-25 11:34:18 +08:00
  • c591b1d78f Merge pull request #24 from he426100/patch-4 Tianfeng.Han 2023-12-25 11:24:49 +08:00
  • dec0a2eb12 fix he426100 2023-12-25 11:21:48 +08:00
  • 141ff76309 Merge pull request #25 from he426100/patch-5 Tianfeng.Han 2023-12-25 11:06:00 +08:00
  • b8f232225f 简化PyCore::iter和PyCore::next的使用 he426100 2023-12-23 16:13:12 +08:00
  • 945288c693 fix unpack dict he426100 2023-12-23 13:59:26 +08:00
  • a00c0a0308 revert tests lib tianfenghan 2023-12-22 18:24:14 +08:00
  • 8c0cce569d Update wx group png tianfenghan 2023-12-22 18:22:45 +08:00
  • 938d0b80f5 Merge branch 'main' of github.com:swoole/phpy into main tianfenghan 2023-12-22 18:20:20 +08:00
  • 73c4393fef Migration directory tianfenghan 2023-12-22 18:19:25 +08:00
  • 375c4cd56c Merge pull request #22 from he426100/patch-3 Tianfeng.Han 2023-12-22 11:32:45 +08:00
  • b429b09e90 remove use_gpu he426100 2023-12-22 11:15:10 +08:00
  • 6838346266 带带弟弟OCR通用验证码识别 he426100 2023-12-22 11:11:55 +08:00
  • 7752760db6 add modelscope example tianfenghan 2023-12-21 19:13:42 +08:00
  • 554e008d11 Add build py mod docs tianfenghan 2023-12-21 18:21:13 +08:00
  • 1dd5be8d7d Optimize tianfenghan 2023-12-21 18:08:28 +08:00
  • c2e65445c5 When a py exception is thrown, a null pointer must be returned tianfenghan 2023-12-21 15:52:45 +08:00
  • 922552e511 Fix 8.1 tests tianfenghan 2023-12-21 15:26:23 +08:00
  • 6b9a55f638 Make function calls fail when an exception is caught tianfenghan 2023-12-21 15:23:43 +08:00
  • c4b02c7a22 Fix tests [2] tianfenghan 2023-12-21 15:03:00 +08:00
  • 81eb3ffb55 Fix tests tianfenghan 2023-12-21 14:55:25 +08:00
  • f62c4a1f17 Closure and object can be directly passed to Python as callable, without the need for PyCore::Fn() wrapping tianfenghan 2023-12-21 14:15:38 +08:00
  • fdc4ec54ec Merge branch 'main' of github.com:swoole/phpy into main tianfenghan 2023-12-21 13:24:26 +08:00
  • 145d2907c0 Add PyCore::object, PyObject supports passing a value parameter tianfenghan 2023-12-21 13:23:29 +08:00
  • 3062446b6e Merge pull request #20 from swoole/pytest Tianfeng.Han 2023-12-20 20:19:39 +08:00
  • fa1e14003d revert tianfenghan 2023-12-20 20:21:19 +08:00
  • b73f9fed3d fix tests tianfenghan 2023-12-20 20:19:22 +08:00
  • 0af0132204 skip tests tianfenghan 2023-12-20 20:16:05 +08:00
  • d4bf7a56e1 skip tests tianfenghan 2023-12-20 20:11:24 +08:00
  • 752469ce1d update tianfenghan 2023-12-20 20:05:06 +08:00
  • 6554622817 update tianfenghan 2023-12-20 20:03:43 +08:00
  • d879edcfca update tianfenghan 2023-12-20 19:59:05 +08:00
  • fd688737e8 update tianfenghan 2023-12-20 19:57:41 +08:00