We're sorry but this page doesn't work properly without JavaScript enabled. Please enable it to continue.
Feedback

Extending Python, what is the best option for me?

00:00

Formal Metadata

Title
Extending Python, what is the best option for me?
Title of Series
Part Number
60
Number of Parts
119
Author
License
CC Attribution 3.0 Unported:
You are free to use, adapt and copy, distribute and transmit the work or content in adapted or unchanged form for any legal purpose as long as the work is attributed to the author in the manner specified by the author or licensor.
Identifiers
Publisher
Release Date
Language
Production PlaceBerlin

Content Metadata

Subject Area
Genre
Abstract
Francisco Fernández Castaño - Extending Python, what is the best option for me? Python is a great language, but there are occasions where we need access to low level operations or connect with some database driver written in C. With the FFI(Foreign function interface) we can connect Python with other languages like C, C++ and even the new Rust. There are some alternatives to achieve this goal, Native Extensions, Ctypes and CFFI. I'll compare this three ways of extending Python. ----- In this talk we will explore all the alternatives in cpython ecosystem to load external libraries. In first place we'll study the principles and how shared libraries work. After that we will look into the internals of CPython to understand how extensions work and how modules are loaded. Then we will study the main three alternatives to extend CPython: Native Extensions, Ctypes and CFFI and how to automate the process. Furthermore we will take a look to other python implementations and how we can extend it.
Keywords
CodeGoogolComputer configurationBerlin (carriage)Different (Kate Ryan album)Computer animation
Group actionSoftware engineeringData managementMaxima and minimaStandard deviationSocial classProcess (computing)Endliche ModelltheorieLecture/Conference
Extension (kinesiology)Metropolitan area networkBitPlanningFormal languageRepresentation (politics)Computer fileLibrary (computing)Extension (kinesiology)Computer animation
Metropolitan area networkSample (statistics)SummierbarkeitMultiplication signQuicksortPhysical systemLibrary (computing)Gastropod shellImplementationFamilyMechanism designWindowMiniDiscLecture/ConferenceComputer animation
Metropolitan area networkSemiconductor memoryFormal languagePointer (computer programming)Point (geometry)Computer animationLecture/Conference
CodeCalculationLibrary (computing)Physical systemProduct (business)Computer programmingMultiplication signMereologyDecision theoryWritingMechanism designCodeGoodness of fitComputer animation
Ocean currentDigital electronicsMechanism designLevel (video gaming)WritingInterpreter (computing)Computer programmingExtension (kinesiology)Library (computing)INTEGRALLecture/Conference
Single-precision floating-point formatRead-only memoryCodeBinary codeLibrary (computing)Sound effectDifferent (Kate Ryan album)Fluid staticsDeclarative programmingWage labourObject (grammar)Variable (mathematics)Computer fileStructural loadLink (knot theory)Semiconductor memoryContext awarenessInformationComputer programmingMechanism designExtension (kinesiology)Type theoryPhysical systemOperating systemLinker (computing)Interpreter (computing)Multiplication signComputer animationLecture/Conference
Extension (kinesiology)Wage labourSimilarity (geometry)Semiconductor memoryMultiplication signRun time (program lifecycle phase)Mechanism designLibrary (computing)Set (mathematics)Electronic mailing listFunctional (mathematics)Macro (computer science)Extension (kinesiology)Lecture/ConferenceComputer animation
Extension (kinesiology)Metropolitan area networkRun time (program lifecycle phase)FluxExtension (kinesiology)NumberAdditionCodeLecture/ConferenceComputer animation
Extension (kinesiology)Module (mathematics)Function (mathematics)StatisticsModulo (jargon)Meta elementFunctional (mathematics)Suspension (chemistry)Endliche ModelltheorieMultiplication signExtension (kinesiology)Module (mathematics)Fluid staticsComputer animation
Module (mathematics)Modulo (jargon)StatisticsMeta elementSuite (music)Table (information)Ring (mathematics)Function (mathematics)Core dumpExt functorExtension (kinesiology)Point (geometry)Functional (mathematics)CodeComputer fileInstance (computer science)Variable (mathematics)Parameter (computer programming)Multiplication signNumberArithmetic meanHypermediaPhysical systemEndliche ModelltheorieLibrary (computing)Event horizonChemical equationNoise (electronics)Software developerIndependence (probability theory)WordForcing (mathematics)Right angleImplementationComputing platformResultantModule (mathematics)Pointer (computer programming)Macro (computer science)Social classAdditionExtension (kinesiology)Object (grammar)Compilation albumString (computer science)Electronic signatureElectronic mailing listLecture/ConferenceComputer animation
Structural loadAsynchronous Transfer ModeLink (knot theory)Set (mathematics)Function (mathematics)Module (mathematics)Total S.A.Memory managementLevel (video gaming)BitSystem callModule (mathematics)Physical systemMultiplication signCellular automatonWindowFunctional (mathematics)Symbol tableCASE <Informatik>Extension (kinesiology)Computer fileSemiconductor memoryLibrary (computing)NumberData dictionaryStructural loadVideo gameEndliche ModelltheorieForm (programming)Volume (thermodynamics)Personal digital assistantIncidence algebraSampling (statistics)Buffer solutionTerm (mathematics)Lecture/ConferenceComputer animation
Memory managementRight angleObject (grammar)Macro (computer science)Cycle (graph theory)Semiconductor memoryAlgorithmSpeicherbereinigungLeakLecture/ConferenceComputer animation
Metropolitan area networkPointer (computer programming)Data managementTotal S.A.Ring (mathematics)Set (mathematics)Module (mathematics)SummierbarkeitSystem callType theoryLogical constantCycle (graph theory)Cellular automatonDirection (geometry)Arithmetic meanSpeicherbereinigungType theorySemantics (computer science)Functional (mathematics)Point (geometry)Independence (probability theory)Endliche ModelltheorieInformationBuildingDifferent (Kate Ryan album)Interface (computing)MultiplicationData structureInterpreter (computing)Parameter (computer programming)Population densityException handlingSpacetimeSystem callExtension (kinesiology)Pointer (computer programming)Library (computing)CodeModule (mathematics)Error messageLecture/ConferenceComputer animation
Data Encryption StandardMetropolitan area networkType theoryBinary fileElectronic mailing listType theoryMechanism designTheory of relativityFlagData typeObject (grammar)Data structureIntegerLecture/ConferenceComputer animation
Social classPoint (geometry)Type theoryCodeLevel (video gaming)Function (mathematics)Type theoryData structureSystem callAlgorithmDifferent (Kate Ryan album)Field (computer science)Library (computing)ImplementationRecursionCodeComputer animation
Gamma functionType theoryImplementationAlgorithmFunctional (mathematics)Fibonacci numberLibrary (computing)Open setWrapper (data mining)Semiconductor memorySatelliteLevel (video gaming)Figurate numberField (computer science)Type theoryPoint (geometry)Lecture/ConferenceComputer animation
Data Encryption StandardProgrammschleifeType theoryLoop (music)Metropolitan area networkImplementationIntegerType theoryCasting (performing arts)Multiplication signParameter (computer programming)Right angleTask (computing)Point (geometry)Different (Kate Ryan album)CodeMechanism designLecture/ConferenceComputer animation
CodeMathematical singularityType theoryFamilySampling (statistics)Instance (computer science)CodeLecture/ConferenceComputer animation
Metropolitan area networkFunction (mathematics)Real numberType theoryData Encryption StandardUniform boundedness principleMagneto-optical driveBinary fileDiscrete element methodMedianPointer (computer programming)StatisticsCurvatureAsynchronous Transfer ModeSystem callMathematicsFunctional (mathematics)Type theoryInterface (computing)Dimensional analysisResultantMechanism designCellular automatonPointer (computer programming)Real numberDampingLibrary (computing)Arithmetic meanSymbol tableElectronic mailing listParameter (computer programming)Extension (kinesiology)Content (media)System callLevel (video gaming)Different (Kate Ryan album)CASE <Informatik>Multiplication signDivisorReal-time operating systemQuantumInferenceDataflowLocal ringNumberStructural loadPoint (geometry)Set (mathematics)SpacetimeElement (mathematics)Right angleSound effectSatelliteForm (programming)Lecture/ConferenceComputer animation
Type theoryFile formatData typeCompilerLetterpress printingCASE <Informatik>Multiplication signMaxima and minimaSequelFunctional (mathematics)Formal languageEllipseDifferent (Kate Ryan album)Software developerExtension (kinesiology)Parameter (computer programming)Point (geometry)Pointer (computer programming)Open setFrictionAuthorizationLibrary (computing)File formatElectronic signatureType theoryLecture/ConferenceComputer animation
Different (Kate Ryan album)Water vaporEndliche ModelltheorieType theoryVariable (mathematics)CodeCASE <Informatik>Integrated development environmentLevel (video gaming)Lecture/Conference
Level (video gaming)IntegerComputer fileLine (geometry)System callBoom (sailing)Point (geometry)CurvatureSocial classPointer (computer programming)Type theoryCodePoint (geometry)Functional (mathematics)Semiconductor memoryTypprüfungLibrary (computing)Mixed realityCompilation albumBitCellular automatonData structureSource codeRegular graphIntegerAlgorithmCASE <Informatik>Structural loadFormal verificationFibonacci numberElectronic signatureMultiplicationBasis <Mathematik>Similarity (geometry)AreaCausalityLevel (video gaming)Field (computer science)Computer fileSoftware developerRight angleControl flowRecursionSequenceMetropolitan area networkComputer animation
Hausdorff spaceStructural loadData typePortable communications deviceFrame problemCodeMultiplication signMechanism designSemiconductor memorySpherical capLibrary (computing)CASE <Informatik>Extension (kinesiology)Object (grammar)Data storage deviceGastropod shellLecture/ConferenceComputer animation
Metropolitan area networkCASE <Informatik>Different (Kate Ryan album)Library (computing)Category of beingPortable communications deviceContext awarenessCausalityMoment (mathematics)Type theoryPhysical systemExtension (kinesiology)Sound effectCodeBitSystem callRevision controlLecture/Conference
Metropolitan area networkInclusion mapData typeLibrary (computing)Extension (kinesiology)CodeMultiplication signStandard deviationContext awarenessComputer configurationData conversionWhiteboardPhysical systemProjective planeLine (geometry)Open setMedical imagingSet (mathematics)Computer animationLecture/Conference
Googol
Transcript: English(auto-generated)