{"id":17930317,"url":"https://github.com/pmp-p/panda3d-interrogator","last_synced_at":"2025-04-03T10:17:58.631Z","repository":{"id":109580481,"uuid":"204270019","full_name":"pmp-p/panda3d-interrogator","owner":"pmp-p","description":"C++ ffi interfacer to use with MicroPython (or maybe others) easily","archived":false,"fork":false,"pushed_at":"2020-10-08T05:23:57.000Z","size":1623,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-29T13:46:00.909Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pmp-p.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2019-08-25T08:56:36.000Z","updated_at":"2024-03-05T02:37:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"54ebfc1e-89e0-466e-a2f2-f2a218eb4bdf","html_url":"https://github.com/pmp-p/panda3d-interrogator","commit_stats":{"total_commits":35,"total_committers":2,"mean_commits":17.5,"dds":0.02857142857142858,"last_synced_commit":"52789c0d544da73621159108634628c6388bfb8c"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmp-p%2Fpanda3d-interrogator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmp-p%2Fpanda3d-interrogator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmp-p%2Fpanda3d-interrogator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmp-p%2Fpanda3d-interrogator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pmp-p","download_url":"https://codeload.github.com/pmp-p/panda3d-interrogator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246639450,"owners_count":20809994,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-28T21:12:48.910Z","updated_at":"2025-04-03T10:17:58.613Z","avatar_url":"https://github.com/pmp-p.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# panda3d-interrogator\nffi experiment with interrogate C bindings\n\nfirst target :\n\n    MicroPython  https://github.com/micropython/micropython\n\n\n\nrequires cpython 3.7+  ( 3.6 NOT TESTED )\n\nrequires Panda3D , not the \"pip\" version, as it won't work because you need C++ part of sdk\n\nsee :\n\n https://www.panda3d.org/download/sdk-1-10-4-1/ [other downloads]\n\n but better build from source locally  \u003c= preferred : match current test conditions\n\n full sdk installed to /usr/local should be ok too if you create a config.env\n\n\nrequires https://github.com/pmp-p/fstrings_helper for MicroPython f-strings support\nor old cpython targets\n\n\n```\n# run interrogator.sh to get the lib/interrogate_wrapper.cpp from lib/lib.*\n# .cxx and .h of your lib must be already in ./lib/\n# forced exports of extern classes is made by adding them to lib.N\n\nCONFIG=linux-x64.env ./interrogator.sh\n\n# a lib for linking a Panda3D C interface is used for demo\n# link the c++ libupanda_cpp.so then build its C only interface libupanda_c.so\n# there a test for both give it a model.bam to display\n\n./build_c_interface.sh\n\n\n#test micropython build ( need uctypes and ffi modules enabled on unix port )\n./test_upy.sh\n\n# enjoy micropython bindings in build/upanda3d.py\n# and write your own game in place of the test\n# ( kidding there is not whole Panda3D API in there ! -yet- )\n```\n\nThanks thetestgame for teasing with C bindings.\n\nThanks rdb and C​FSworks for help on implementation.\n\nThanks to pfalcon for micropython-ffigen inspiration.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpmp-p%2Fpanda3d-interrogator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpmp-p%2Fpanda3d-interrogator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpmp-p%2Fpanda3d-interrogator/lists"}