Skip to main content

Packages

Packages are anotherusually waya nested array of groupingmodules codegrouped together that represent an entire application.  They can be published to pypi which makes it installable using the pip command.  A very specific structure is defined.

 

Python Package directory structure

\MovieManager
    __init__.py					# This file identifies this directory as a package and can run code.
    MovieManager.py
    requirements.txt			# Contains all of the samepackage's intentdependencies usuallymaking reservedit for structures in which you would likeeasy to publishinstall tolater
    thesettings.ini
    
    public\FolderScanner
        python__init__.py
        repositories. FolderScanner.py		Import# statementsBreak areit veryup similarinto tological moduleschuncks
            but\fileParsers
                due__init__.py
        		toxmlParser.py
        		thepicParser.py
        		nested 

vidParser.py audParser.py \infoProviders __init__.py \tmdbParser # Modularity allows additional info providers later with minimal hassle __init__.py tmdbParser.py \imdbParser __init__.py imdbParser.py