hpy
HPy: a better API for Python
파일 탐색기
최종 버전 다운로드 (.zip)- ci.yml
- release-pypi.yml
- valgrind-tests.yml
- FUNDING.yml
- acutest.h
- Makefile
- test_debug_handles.c
- test_stacktrace.c
- README.txt
- README.txt
- argument-parsing.rst
- build-value.rst
- formatting.rst
- function-index.rst
- helpers.rst
- hpy-call.rst
- hpy-ctx.rst
- hpy-dict.rst
- hpy-err.rst
- hpy-eval.rst
- hpy-field.rst
- hpy-gil.rst
- hpy-global.rst
- hpy-object.rst
- hpy-sequence.rst
- hpy-type.rst
- index.rst
- inline-helpers.rst
- public-api.rst
- structseq.rst
- index.rst
- builtin_type.c
- setup.py
- simple_type.c
- simple_type.rst
- mixed.c
- setup.py
- quickstart.c
- setup.py
- setup.py
- simple.c
- hpycall.c
- hpyinit.c
- hpyvarargs.c
- legacyinit.c
- setup.py
- snippets.c
- debug-example.py
- tests.py
- trace-example.py
- embedding.rst
- index.rst
- .gitignore
- conftest.py
- setup00.py
- setup01.py
- setup02.py
- setup03.py
- step_00_c_api.c
- step_00_c_api.rst
- step_01_hpy_legacy.c
- step_01_hpy_legacy.rst
- step_02_hpy_legacy.c
- step_02_hpy_legacy.rst
- step_03_hpy_final.c
- step_03_hpy_final.rst
- test_porting_example.py
- index.rst
- api.rst
- changelog.rst
- conf.py
- debug-mode.rst
- index.rst
- leysin-2020-design-decisions.md
- Makefile
- module-state.txt
- overview.rst
- porting-guide.rst
- quickstart.rst
- requirements.txt
- trace-mode.rst
- xxx-unsorted-notes.txt
- hpy_debug.h
- _debugmod.c
- autogen_debug_ctx_call.i
- autogen_debug_ctx_init.h
- autogen_debug_wrappers.c
- debug_ctx.c
- debug_ctx_cpython.c
- debug_ctx_not_cpython.c
- debug_handles.c
- debug_internal.h
- dhqueue.c
- memprotect.c
- stacktrace.c
- __init__.py
- leakdetector.py
- pytest.py
- autogen_api_impl.h
- autogen_ctx.h
- autogen_hpyfunc_trampolines.h
- hpyfunc_trampolines.h
- misc.h
- Python.h
- argparse.h
- buildvalue.h
- ctx_funcs.h
- ctx_module.h
- ctx_type.h
- format.h
- helpers.h
- structseq.h
- autogen_ctx.h
- autogen_hpyfunc_trampolines.h
- autogen_trampolines.h
- hpyfunc_trampolines.h
- misc_trampolines.h
- autogen_hpyfunc_declare.h
- autogen_hpyslot.h
- cpy_types.h
- hpydef.h
- hpyexports.h
- hpyfunc.h
- hpymodule.h
- hpytype.h
- inline_helpers.h
- macros.h
- hpy.h
- argparse.c
- buildvalue.c
- ctx_bytes.c
- ctx_call.c
- ctx_capsule.c
- ctx_contextvar.c
- ctx_err.c
- ctx_eval.c
- ctx_listbuilder.c
- ctx_long.c
- ctx_module.c
- ctx_object.c
- ctx_tracker.c
- ctx_tuple.c
- ctx_tuplebuilder.c
- ctx_type.c
- format.c
- helpers.c
- structseq.c
- __init__.py
- abitag.py
- __init__.py
- test_autogen.py
- test_hpyfunc.py
- __init__.py
- __main__.py
- autogen.h
- autogenfile.py
- conf.py
- ctx.py
- debug.py
- doc.py
- hpyfunc.py
- hpyslot.py
- parse.py
- public_api.h
- pypy.py
- trace.py
- trampolines.py
- hpy.supp
- python.supp
- include_path.py
- hpy_trace.h
- _tracemod.c
- autogen_trace_ctx_init.h
- autogen_trace_func_table.c
- autogen_trace_wrappers.c
- trace_ctx.c
- trace_internal.h
- __init__.py
- api.h
- autogen_ctx_call.i
- autogen_ctx_def.h
- autogen_ctx_impl.h
- ctx.c
- ctx_meth.c
- ctx_meth.h
- ctx_misc.c
- ctx_misc.h
- handles.h
- hpymodule.c
- misc_win32.h
- cpy_simple.c
- hpy_simple.c
- _valgrind_build.py
- conftest.py
- Makefile
- pixi.toml
- print_other_vs_cpy.py
- pyproject.toml
- pytest_valgrind.sh
- README.md
- setup.py
- test_microbench.py
- bar.cpp
- foo.c
- pof.c
- pofcpp.cpp
- requirements.txt
- setup.py
- test_pof.py
- test_pof.sh
- __init__.py
- test_builder_invalid.py
- test_charptr.py
- test_context_reuse.py
- test_handles_invalid.py
- test_handles_leak.py
- test_misc.py
- __init__.py
- test_abitag.py
- test_distutils.py
- test_trace.py
- __init__.py
- check_py27_compat.py
- conftest.py
- support.py
- test_00_basic.py
- test_argparse.py
- test_call.py
- test_capsule.py
- test_capsule_legacy.py
- test_contextvar.py
- test_cpy_compat.py
- test_eval.py
- test_helpers.py
- test_hpybuildvalue.py
- test_hpybytes.py
- test_hpydict.py
- test_hpyerr.py
- test_hpyfield.py
- test_hpyglobal.py
- test_hpyimport.py
- test_hpyiter.py
- test_hpylist.py
- test_hpylong.py
- test_hpymodule.py
- test_hpyslice.py
- test_hpystructseq.py
- test_hpytuple.py
- test_hpytype.py
- test_hpytype_legacy.py
- test_hpyunicode.py
- test_importing.py
- test_legacy_forbidden.py
- test_number.py
- test_object.py
- test_slots.py
- test_slots_legacy.py
- test_support.py
- test_tracker.py
- .gitattributes
- .gitignore
- .readthedocs.yml
- AUTHORS
- CONTRIBUTING.md
- gdb-py.test
- LICENSE
- Makefile
- MANIFEST.in
- pyproject.toml
- README-gdb.md
- README.md
- requirements-autogen.txt
- setup.py
# 설치 가이드
1. 코드 내려받기
git clone https://github.com/hpyproject/hpy
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd hpy
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. Python
쉬움 추천사전 준비물
pip install -r proof-of-concept/requirements.txt
requirements.txt 등에 명시된 파이썬 라이브러리를 설치합니다.
python <실행할 파일명>.py # README에서 정확한 실행 파일명을 확인하세요
파이썬 스크립트(또는 모듈)를 실행합니다.
에러 메시지 없이 실행되고 터미널에 안내 문구가 출력되면 정상입니다.
3. Make
보통사전 준비물
- Git GitHub에서 프로젝트 코드를 내려받으려면 필요합니다.
- Make Linux/macOS는 보통 기본 설치되어 있습니다. Windows는 별도 설치(예: MSYS2, WSL)가 필요합니다.
make the job much easier for future ones: going from 2 to N is much easier
생성된 빌드 설정을 바탕으로 실제 컴파일을 진행해 실행 파일을 만듭니다.
에러 없이 끝나면 성공입니다. 생성된 실행 파일을 직접 실행해보세요.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
// repository documentation
Was this content helpful?
(0 ratings)
