{"id":21557119,"url":"https://github.com/shenfe/pylib","last_synced_at":"2026-05-22T05:14:17.941Z","repository":{"id":143949423,"uuid":"178450420","full_name":"shenfe/pylib","owner":"shenfe","description":"Python library template, supporting cpp extension compilation.","archived":false,"fork":false,"pushed_at":"2019-04-11T15:27:22.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-24T10:32:44.590Z","etag":null,"topics":["boilerplate","cpp","extension","lib","python","template"],"latest_commit_sha":null,"homepage":"","language":"Python","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/shenfe.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-03-29T17:38:27.000Z","updated_at":"2019-04-11T15:27:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"c0152ed4-3ce8-45fe-80d0-a658b8bf385b","html_url":"https://github.com/shenfe/pylib","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shenfe%2Fpylib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shenfe%2Fpylib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shenfe%2Fpylib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shenfe%2Fpylib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shenfe","download_url":"https://codeload.github.com/shenfe/pylib/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244148384,"owners_count":20406172,"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":["boilerplate","cpp","extension","lib","python","template"],"created_at":"2024-11-24T08:11:05.495Z","updated_at":"2026-05-22T05:14:12.900Z","avatar_url":"https://github.com/shenfe.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# libpy\n\n\u003e Python库项目模板，兼容Python2/3，支持C++扩展。\n\n## installation\n\n```sh\n$ pip install .\n```\n\n安装后，python的site-packages目录下会多出如下文件：\n\n```\n├── libcpp.so\n├── libpy/\n└── libpy-x.y.z.dist-info/\n```\n\n## usage\n\n### command line\n\n```sh\n$ libpy\n$ libpy fn1 --help\n$ libpy --config-json '{}' fn1\n$ libpy --config-file ./demo/some-config.json fn1\n$ libpy fn1 \u003c ./demo/some-config.json\n```\n\n### python api\n\n```py\nimport libpy\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshenfe%2Fpylib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshenfe%2Fpylib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshenfe%2Fpylib/lists"}