How import works in Python

Sasidhar Donaparthi (~sasidhar)


10

Votes

Description:

Import machinery has been revamped and has been re-written in Python3. Not many of the developers are aware of the internal mechanics of how the import system works and how this can be leveraged for some specific use cases

This talk will introduce the audience to:

  • Evolution of import system in python
  • What happens under the hoods when a module/package is imported into Python namespace
  • Various hooks available that can be leveraged for customization
  • Some of the usecases where this can be leveraged

After the talk, audience will get a clear idea of how import system is implemented in Python3 and will be able to leverage the hooks available for any future use cases

Prerequisites:

Knowledge of python programming, basic understanding of Python modules and Packages, knowledge of python standard library modules like sys, os, etc

Content URLs:

https://github.com/sdonapar/how_import_works

https://github.com/sdonapar/how_import_works/blob/master/how_import_works.pdf

Speaker Info:

I am a mechanical engineering graduate with 25+ years of experience in manufacturing and financial services domains, I have started my career as design engineer in hydraulic turbine manufacturing company. After spending 5 years, I have stated my IT journey at Aspect Development/i2 Technology. I have worked primarily on data scrubbing, modelling, analysis and data migration projects for supply chain management. I then joined technology services side of Fidelity, financial services company. I have been using python for last 5 years for automation, data analysis, web development, etc. I am very excited about the endless opportunities that arise in day today work and application of python for solving/automating the same. I am very passionate about teaching python to engineering students thru pythonexpress program. I conduct regular training sessions for data analys ( numpy, pandas and matplotlib).

Speaker Links:

github link - https://github.com/sdonapar

linkedin profile - https://www.linkedin.com/in/sasidonaparthi

twitter handle - @sdonapar

Section: Python 3k
Type: Talks
Target Audience: Intermediate
Last Updated: