PyCon Pune 2017

A conference on the Python programming language

Make a submission

Submissions are closed for this project

AMANORA THE FERN HOTELS AND CLUB, PUNE, Pune

PyCon, the gathering for the community using and developing the open-source Python programming language. This is the first year of the PyCon Pune where the community will meet for two days of talks and working on upstream projects in two days of dev sprint. CFP ends on 30th November AoE.

Hosted by

PyCon Pune 2017 more

Noufal Ibrahim

@noufalibrahim

Testing native binaries using CFFI

Submitted Nov 29, 2016

This a quick intro to the idea of FFI in Python and one practical use case based on my own experiences with a personal project.

Outline

I’ve been working a native cross platform library to gather system information. The long term intention is to make bindings for it in various languages. The whole thing is written in C and it’s somewhat hard to write unit tests for these kinds of libraries.

This talk is about using a combination of cffi and py.test to write unit tests for the library in Python.

The talk will cover some basics of writing python bindings using CFFI and then writing unit tests using these. As a bonus, a small py.test plugin which can be used to measure the unit tests coverage of the C library will be presented.

The presentation is and outline are at https://github.com/nibrahim/presentation-cffi/blob/master/outline.org
I might tweak it a little for stlyistic purposes but this is what I’ll be presenting

Speaker bio

I’m the founder of PyCon India and have been involved with the Indian Python community for quite a while now. I mostly work in infrastructure and automation projects. I’m the founder of the technology services company Hamon

Links

Slides

https://github.com/nibrahim/presentation-cffi/blob/master/outline.pdf

Comments

{{ gettext('Login to leave a comment') }}

{{ gettext('Post a comment…') }}
{{ gettext('New comment') }}
{{ formTitle }}

{{ errorMsg }}

{{ gettext('No comments posted yet') }}

Sachin Patil

Python for Object Storage

OpenStack Swift object storage is designed to scale, be it on commodity or enterprise hardware, Swift offers data to be stored with efficiency and cheaply. Accessing the stored data has become a major problem as everyone wants the data to be highly available from their devices and across platforms. Swift answers this need in lucid way via ReST APIs with consistency and safety. more

29 Nov 2016