2022-11-15 18:10:37 +08:00
2022-11-11 22:02:32 +08:00
2022-11-06 12:46:42 +08:00
2022-11-09 16:09:40 +08:00
2022-11-15 18:10:37 +08:00
2022-11-14 23:51:11 +08:00
2022-11-11 18:57:21 +08:00
2022-11-06 12:16:57 +08:00
2022-11-11 00:47:01 +08:00
2022-11-15 12:51:17 +08:00
2022-11-14 16:08:04 +08:00
2022-11-11 22:01:20 +08:00
2022-11-06 12:16:57 +08:00
2022-11-13 00:08:16 +08:00

pocketpy

build

C++17 single-file header-only cross platform Python Interpreter.

pocketpy is being heavy development now.

You can try our demo on your browser or download a prebuilt windows binary.

sample_img

Build From Source (Linux)

First clone the repository

git clone https://github.com/blueloveTH/pocketpy
cd pocketpy

If you want to get a single header file:

python3 amalgamate.py

It will generate pocketpy.h and main.cpp in amalgamated/ directory. You can use main.cpp to build a REPL console or use pocketpy.h only to embed it to your game engine.

If you want to do development:

g++ -o pocketpy src/main.cpp --std=c++17 -O1

Flutter Plugin

https://github.com/blueloveTH/pocketpy-flutter

Reference

Description
No description provided
Readme 32 MiB
Languages
C 52.5%
Python 35.5%
C++ 6.1%
CMake 4.6%
JavaScript 0.4%
Other 0.9%