Thesis Details

Libyang - modul pro Python 3

Bachelor's Thesis Student: Sedlák David Academic Year: 2019/2020 Supervisor: Kučera Jan, Ing.
English title
Libyang - Python 3 Module
Language
Czech
Abstract

This bachelor thesis deals with interaction  between C and Python 3 languages. The main goal was to provide user friendly Python 3 binding for libyang2 library which provides interface for C language. Final Python 3 interface is created with help of CFFI package,  is simply usable in Python 3 and adequately uses rich features of Python 3 language. Comparison of few approaches and tools to interact with C library from Python code is also covered in the thesis, including measurements of call overhead caused by them. Implemented Python 3 interface will help with integration of YANG modeling language in network applications and devices.

Keywords

libyang2, YANG, Python binding, Python wrapper,  API design, CFFI, C extension, Cython, Ctypes

Department
Degree Programme
Information Technology
Files
Status
defended, grade C
Date
27 August 2020
Reviewer
Committee
Růžička Richard, doc. Ing., Ph.D., MBA (DCSY FIT BUT), předseda
Hliněná Dana, doc. RNDr., Ph.D. (DMAT FEEC BUT), člen
Křena Bohuslav, Ing., Ph.D. (DITS FIT BUT), člen
Křivka Zbyněk, Ing., Ph.D. (DIFS FIT BUT), člen
Citation
SEDLÁK, David. Libyang - modul pro Python 3. Brno, 2020. Bachelor's Thesis. Brno University of Technology, Faculty of Information Technology. 2020-08-27. Supervised by Kučera Jan. Available from: https://www.fit.vut.cz/study/thesis/22919/
BibTeX
@bachelorsthesis{FITBT22919,
    author = "David Sedl\'{a}k",
    type = "Bachelor's thesis",
    title = "Libyang - modul pro Python 3",
    school = "Brno University of Technology, Faculty of Information Technology",
    year = 2020,
    location = "Brno, CZ",
    language = "czech",
    url = "https://www.fit.vut.cz/study/thesis/22919/"
}
Back to top