Skip to content
/ pylib Public

Python library template, supporting cpp extension compilation.

Notifications You must be signed in to change notification settings

shenfe/pylib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

libpy

Python库项目模板,兼容Python2/3,支持C++扩展。

installation

$ pip install .

安装后,python的site-packages目录下会多出如下文件:

├── libcpp.so
├── libpy/
└── libpy-x.y.z.dist-info/

usage

command line

$ libpy
$ libpy fn1 --help
$ libpy --config-json '{}' fn1
$ libpy --config-file ./demo/some-config.json fn1
$ libpy fn1 < ./demo/some-config.json

python api

import libpy

About

Python library template, supporting cpp extension compilation.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published