2022-11-12 15:43:11 +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-12 15:43:11 +08:00
2022-11-09 21:47:52 +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
up
2022-11-11 13:49:23 +08:00
2022-11-11 22:01:20 +08:00
2022-11-11 22:01:20 +08:00
2022-11-06 12:16:57 +08:00
2022-11-11 16:31:52 +08:00
2022-11-06 12:16:57 +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

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%