Python binding API

class bsdconv.Bsdconv
FROM
INTER
TO

Phase type

CTL_ATTACH_SCORE
CTL_ATTACH_OUTPUT_FILE
CTL_AMBIGUOUS_PAD

Request for ctl()

init()

Initialize/Reset bsdconv converter

ctl(arg_ptr_obj, arg_int)

Manipulate the underlying codec parameters

conv(s)

Perform conversion

conv_chunk(s)

Perform conversion without initializing and flushing

conv_chunk_last(s)

Perform conversion without initializing

conv_file(from_file, to_file)

Perform conversion with given filename

testconv(s)

Perform test conversion

testconv_chunk(s)

Perform test conversion without initializing and flushing

testconv_chunk_last(s)

Perform test conversion without initializing

testconv_file(from_file)

Perform test conversion with given filename

counter([name])

Return counter or counters if not specified

counter_reset([name])

Reset counter, if no name supplied, all counters will be reset

static insert_phase(conversion, codecs, phase_type, phasen)

Insert conversion phase into bsdconv conversion string

static insert_codec(conversion, codec, phasen, codecn)

Insert conversion codec into bsdconv conversion string

static replace_phase(conversion, codecs, phase_type, phasen)

Replace conversion phase in the bsdconv conversion string

static replace_codec(conversion, codec, phasen, codecn)

Replace conversion codec in the bsdconv conversion string

static error()

Return error message

static mktemp()

Make temporary file

static fopen()

Open file

static codecs_list()

list codecs

static codec_check(type, codec)

check if a codec is available

Previous topic

PHP binding API

Next topic

Ruby binding API

This Page