python-chtseg

command
v0.0.0-...-8ebcefe Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 7, 2020 License: MIT Imports: 8 Imported by: 0

README

pychtseg

The python API for chtseg is done by compiling GO file into C shared library like what java API does. Using ctype library in python will make it easy while calling golang. One should be noted is I tried to make string arguments in go format and get return value in C bytes format. It's easy to understand from sample code.

Installation and test

Please run

make all

and it will produce pychtseg.so and pychtseg.h for you to call from java. Please take a look on .h file for the declaration of public functions.

python pychtseg.py

to see the sample output. Note the sample code is tested under python3.8, it should worked on all version of python3. There should be some modifications if you are writing python2 code.

How to use

Please see pychtseg.py for example.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL