aboutsummaryrefslogtreecommitdiffstats
path: root/misc/python/botan/__init__.py
blob: 781426921cecccf1b223cd39fce01547fc979808 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
from _botan import *

init = LibraryInitializer()

def Filter(name):
    return make_filter(name)

def Pipe(*filters):
    pipe = PipeObj();
    for filter in filters:
        if filter:
            pipe.append(filter)
    return pipe

#def Filter(name, key):
#    return make_filter(name, key)