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

Type Annotations in Python 3: Whats, whys & wows!

00:00

Formal Metadata

Title
Type Annotations in Python 3: Whats, whys & wows!
Title of Series
Number of Parts
160
Author
License
CC Attribution - NonCommercial - ShareAlike 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 and non-commercial purpose as long as the work is attributed to the author in the manner specified by the author or licensor and the work or content is shared also in adapted form only under the conditions of this
Identifiers
Publisher
Release Date
Language

Content Metadata

Subject Area
Genre
Abstract
Type Annotations in Python 3: Whats, whys & wows! [EuroPython 2017 - Talk - 2017-07-13 - Arengo] [Rimini, Italy] Python 3.5 introduced support for ""type hints"" (or annotations), which allows us to annotate our code with useful bits of information without affecting its runtime behavior. Type hints don't enforce a particular use case and can therefore be used for many purposes. In my talk, I will explain some of the use cases of type hints, and show how we can use them to e.g. make our code more secure or teach it new tricks. We will have a look at popular libraries that help us to use the power of type hints (e.g. mypy), but we will also see how we can build our own extensions on top of the type hint system. After the talk you should walk away with a solid (basic) understanding of type hints in Python and an idea of how they might be useful to you now or in the future. Typing and type hints in programming languages Short history and motivation of type hints in Python Basics of type hint syntax and semantics Use cases for type hints Type hints for code analysis: mypy and similar libraries Building new stuff with type hints in Python Summary, Outlook & Further Readin
Computer fontCodeSoftwarePosition operatorCycle (graph theory)Video gameProof theoryFormal grammarError messageHacker (term)Software testingMathematical analysisProjective planeSoftware bugComputer programmingFreewareGoodness of fitPhysical systemFunktionalanalysisUnit testingCuboidObservational studyINTEGRALReading (process)CodeCASE <Informatik>Formal languageFluid staticsComputer clusterStrategy gameMathematicsStatement (computer science)Point (geometry)outputPhase transitionLatent heatCompilerSoftwareLine (geometry)Different (Kate Ryan album)IdentifiabilityOrder (biology)Revision controlInterpreter (computing)Network topologyBitVariable (mathematics)ConsistencySoftware testingArithmetic meanMultiplication signVector spaceComputer iconMathematical analysisWebsiteMereologyRight angleBlock (periodic table)NeuroinformatikForm (programming)Fitness functionLetterpress printingFormal grammarPattern language
InformationFormal grammarPauli exclusion principleTheoryFunction (mathematics)Parameter (computer programming)Variable (mathematics)ArchitectureSound effectRun time (program lifecycle phase)Interpreter (computing)Electronic mailing listCodePersonal digital assistantPauli exclusion principleFunktionalanalysisPhysical systemCodeVariable (mathematics)Core dumpParameter (computer programming)Interpreter (computing)Electronic mailing listBoolean algebraIntegerRun time (program lifecycle phase)MultilaterationMathematicsState of matterOrder (biology)Goodness of fitRevision controlTheoryElement (mathematics)Arrow of timeComputer programmingFlow separationBitString (computer science)Data dictionaryMappingPiMereologyFormal languageError messageIntegrated development environmentDecision theorySound effectModule (mathematics)Arithmetic meanSoftware developerAdditionUniform resource locatorNumberMultiplication signDifferent (Kate Ryan album)Data structureoutputRight angleCommunications protocolAreaGradientSocial classPattern languagePie chartPoint (geometry)Network topologyEndliche ModelltheorieTypprüfung
Installation artDrop (liquid)CodePiDomain nameCodeMalwareNeuroinformatikSurjective functionHypothesisSoftware developerGame controllerConfidence intervalLibrary (computing)Revision controlLocal ringDomain nameMultiplication signComputer fileVirtual machineProjective planeNumberCybersexOpen sourceData structurePrice indexFilter <Stochastik>Self-organizationInformation securityWordTranslation (relic)outputSystem callView (database)Drop (liquid)WebsiteDrum memoryXML
CodeSoftware testingLine (geometry)CodeBuildingProjective planeData dictionaryLine (geometry)Electronic mailing listOrder (biology)Interface (computing)Product (business)TheoryLibrary (computing)Pattern languageNetwork topologyLogicSoftware testingCASE <Informatik>Source code
Digital filterScripting languageSoftware testingFingerprintScripting languageElectronic mailing listString (computer science)Run time (program lifecycle phase)Library (computing)IntegerNumberInterior (topology)FunktionalanalysisElement (mathematics)Software testingDampingPiInstance (computer science)Order (biology)Error messageBit rateUniqueness quantificationFitness functionCodeSocial classJSON
Function (mathematics)CodeModule (mathematics)Parameter (computer programming)CodeModule (mathematics)Variable (mathematics)Data storage deviceFunktionalanalysisMereologyPiOrder (biology)Endliche ModelltheorieXML
CodeModule (mathematics)Function (mathematics)Revision controlError messageError messageFunktionalanalysisSequenceCodeLipschitz-StetigkeitComputer filePiVirtual machineIntegrated development environmentDampingInformationRevision controlLibrary (computing)IntegerResultantSocial classEndliche ModelltheorieSoftware testingObject (grammar)Reading (process)Product (business)Quicksort1 (number)Weight functionGroup actionArea
Social classAttribute grammarInstance (computer science)Menu (computing)Execution unitParameter (computer programming)Glass floatDigital filterCodeModule (mathematics)MereologyString (computer science)AdditionPhysical systemRoutingState of matterScripting languageMultiplication signProjective planeVariable (mathematics)Object (grammar)Parameter (computer programming)Electronic mailing listBlock (periodic table)CodeDampingDependent and independent variablesFitness functionResultantIntegerLibrary (computing)Social classCrash (computing)Conservation lawBitError messagePoint (geometry)Software bugNetwork topologyPiMessage passingArrow of timeFeedbackTraffic reporting
CodeModule (mathematics)FunktionalanalysisElectronic signatureEndliche ModelltheorieResultantIntegerMultiplication signModule (mathematics)PiDampingWordJSON
CodeComputer fileDirectory serviceElectric currentBuildingMereologyCodeInformationAdditionFunktionalanalysisEmailComputer fileRepository (publishing)Directory serviceVariable (mathematics)ResultantInterface (computing)Library (computing)Message passingRight angleSystem callClient (computing)Integrated development environmentAreaPulse (signal processing)
Computer fileBuildingCodeMereologyLibrary (computing)InformationCodeTouch typingFunktionalanalysisSocial classResultantDot product
Pairwise comparisonBuildingExecution unitCodeCanonical ensembleVariable (mathematics)Module (mathematics)Revision controlComputer fileSource codeSoftware maintenancePauli exclusion principleTupleParameter (computer programming)Function (mathematics)Standard deviationLibrary (computing)Core dumpSoftware developerComputer virusGeneric programmingSocial classElectric generatorRepository (publishing)CodeSoftware maintenanceModule (mathematics)Computer fileSource codeGeneric programmingSocial classCASE <Informatik>Electronic mailing listDifferent (Kate Ryan album)INTEGRALResultantRevision controlElectric generatorVariable (mathematics)Branch (computer science)Intelligent NetworkRepository (publishing)Element (mathematics)Interpreter (computing)Software testingLink (knot theory)BuildingInformationSynchronizationExterior algebraMathematical analysisHierarchyData structureSystem callEndliche ModelltheoriePairwise comparisonMathematicsNetwork topologyPoint (geometry)Group actionLine (geometry)Similarity (geometry)Data conversionDiffuser (automotive)WeightPattern languageBitXML
Computer fileOrder (biology)Software testingNumberScaling (geometry)DiagramProjective planeCASE <Informatik>Medical imagingCodeComputer fileToken ringQuicksortProduct (business)Network topologyComputer animation
Repository (publishing)QuadrilateralBootingVariable (mathematics)Function (mathematics)CodeSlide ruleAmerican Vacuum SocietyCodeMilitary baseInformationProjective planeMereologyGoodness of fitConnected spacePhysical systemNumberDefault (computer science)Range (statistics)Parameter (computer programming)Position operatorIntegerRun time (program lifecycle phase)Interpreter (computing)Demo (music)EmailFunktionalanalysisHacker (term)Theory of relativityDesign by contractProxy serverBuildingRepository (publishing)Arrow of timeControl flowOnlinecommunityDampingSlide ruleLetterpress printingLink (knot theory)State of matterAbsolute valueDataflowTypprüfungParticle systemTwitterBasis <Mathematik>Moment (mathematics)System callDrop (liquid)Physical lawAffine spaceCuboidCore dump
CompilerBytecodeDirection (geometry)PredictabilityPlanningVirtual machineMathematical optimizationFunktionalanalysisSource codeDifferent (Kate Ryan album)WebsiteOrder (biology)Product (business)InformationCodeProjective planeLecture/ConferenceMeeting/Interview
Order (biology)Theory of relativityRight angleSystem callCodeSoftware testingInformationLibrary (computing)Execution unitScripting languageLecture/Conference
Form (programming)Positional notationElectronic mailing listQuicksortAbstract syntax treeDirection (geometry)IntegerCodeGoodness of fitExtension (kinesiology)Endliche ModelltheorieProjective planeMathematical analysisPhysical systemMultiplication signInformationGame controllerComputer programmingFluid staticsFrequencyData modelFunktionalanalysisSystem callConstructor (object-oriented programming)Interior (topology)TypinferenzMultiplicationControl flow graphPiSingle-precision floating-point formatModule (mathematics)Graph (mathematics)DataflowDampingLecture/Conference
Figurate numberIntegerCASE <Informatik>Product (business)PiNumberLecture/Conference
Transcript: English(auto-generated)