\hypertarget{classplaso_1_1tarzan_1_1lib_1_1custom__pip__package__dir_1_1_custom_pip_package_dir}{}\section{plaso.\+tarzan.\+lib.\+custom\+\_\+pip\+\_\+package\+\_\+dir.\+Custom\+Pip\+Package\+Dir Class Reference}
\label{classplaso_1_1tarzan_1_1lib_1_1custom__pip__package__dir_1_1_custom_pip_package_dir}\index{plaso.tarzan.lib.custom\_pip\_package\_dir.CustomPipPackageDir@{plaso.tarzan.lib.custom\_pip\_package\_dir.CustomPipPackageDir}}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
def \mbox{\hyperlink{classplaso_1_1tarzan_1_1lib_1_1custom__pip__package__dir_1_1_custom_pip_package_dir_ad60f9be4909f34678fd9fe0998f67269}{\+\_\+\+\_\+init\+\_\+\+\_\+}} (self, \mbox{\hyperlink{classplaso_1_1tarzan_1_1lib_1_1custom__pip__package__dir_1_1_custom_pip_package_dir_af828fb9e6958492b224d50421e9feec7}{package\+\_\+dir}}=None)
\item 
def \mbox{\hyperlink{classplaso_1_1tarzan_1_1lib_1_1custom__pip__package__dir_1_1_custom_pip_package_dir_ad480658a9044987e3817b0497e2ff2c6}{make\+\_\+package\+\_\+dir}} (self)
\item 
def \mbox{\hyperlink{classplaso_1_1tarzan_1_1lib_1_1custom__pip__package__dir_1_1_custom_pip_package_dir_ab208359cf49b4ef4d91e1d3eb073f400}{register\+\_\+package\+\_\+dir}} (self)
\item 
def \mbox{\hyperlink{classplaso_1_1tarzan_1_1lib_1_1custom__pip__package__dir_1_1_custom_pip_package_dir_a88af2cc286fafacad157a0551a6857ef}{pip\+\_\+install}} (self, packages)
\item 
def \mbox{\hyperlink{classplaso_1_1tarzan_1_1lib_1_1custom__pip__package__dir_1_1_custom_pip_package_dir_a20d16932e7f6f3cbeb336ad4c537d947}{install}} (self, packages)
\end{DoxyCompactItemize}
\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
def \mbox{\hyperlink{classplaso_1_1tarzan_1_1lib_1_1custom__pip__package__dir_1_1_custom_pip_package_dir_a14ca237b9bbd6d05374b6cd94a5ac5fa}{check\+\_\+installed\+\_\+package}} (package)
\end{DoxyCompactItemize}
\subsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{classplaso_1_1tarzan_1_1lib_1_1custom__pip__package__dir_1_1_custom_pip_package_dir_af828fb9e6958492b224d50421e9feec7}{package\+\_\+dir}}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
\begin{DoxyVerb}Python packages install class (not in a shell) to be executable by PySpark workers by
pyspark-driver:
  sparkContext.addPyFile("custom_pip_package_dir.py")
pyspark-worker:
  from custom_pip_package_dir import CustomPipPackageDir
  cppd = CustomPipPackageDir()
  cppd.install("future")
\end{DoxyVerb}
 

\subsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{classplaso_1_1tarzan_1_1lib_1_1custom__pip__package__dir_1_1_custom_pip_package_dir_ad60f9be4909f34678fd9fe0998f67269}\label{classplaso_1_1tarzan_1_1lib_1_1custom__pip__package__dir_1_1_custom_pip_package_dir_ad60f9be4909f34678fd9fe0998f67269}} 
\index{plaso.tarzan.lib.custom\_pip\_package\_dir.CustomPipPackageDir@{plaso.tarzan.lib.custom\_pip\_package\_dir.CustomPipPackageDir}!\_\_init\_\_@{\_\_init\_\_}}
\index{\_\_init\_\_@{\_\_init\_\_}!plaso.tarzan.lib.custom\_pip\_package\_dir.CustomPipPackageDir@{plaso.tarzan.lib.custom\_pip\_package\_dir.CustomPipPackageDir}}
\subsubsection{\texorpdfstring{\_\_init\_\_()}{\_\_init\_\_()}}
{\footnotesize\ttfamily def plaso.\+tarzan.\+lib.\+custom\+\_\+pip\+\_\+package\+\_\+dir.\+Custom\+Pip\+Package\+Dir.\+\_\+\+\_\+init\+\_\+\+\_\+ (\begin{DoxyParamCaption}\item[{}]{self,  }\item[{}]{package\+\_\+dir = {\ttfamily None} }\end{DoxyParamCaption})}

\begin{DoxyVerb}Initializes the Python package install class.
:param package_dir: a directory where to load packages from on the installation
\end{DoxyVerb}
 

\subsection{Member Function Documentation}
\mbox{\Hypertarget{classplaso_1_1tarzan_1_1lib_1_1custom__pip__package__dir_1_1_custom_pip_package_dir_a14ca237b9bbd6d05374b6cd94a5ac5fa}\label{classplaso_1_1tarzan_1_1lib_1_1custom__pip__package__dir_1_1_custom_pip_package_dir_a14ca237b9bbd6d05374b6cd94a5ac5fa}} 
\index{plaso.tarzan.lib.custom\_pip\_package\_dir.CustomPipPackageDir@{plaso.tarzan.lib.custom\_pip\_package\_dir.CustomPipPackageDir}!check\_installed\_package@{check\_installed\_package}}
\index{check\_installed\_package@{check\_installed\_package}!plaso.tarzan.lib.custom\_pip\_package\_dir.CustomPipPackageDir@{plaso.tarzan.lib.custom\_pip\_package\_dir.CustomPipPackageDir}}
\subsubsection{\texorpdfstring{check\_installed\_package()}{check\_installed\_package()}}
{\footnotesize\ttfamily def plaso.\+tarzan.\+lib.\+custom\+\_\+pip\+\_\+package\+\_\+dir.\+Custom\+Pip\+Package\+Dir.\+check\+\_\+installed\+\_\+package (\begin{DoxyParamCaption}\item[{}]{package }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}

\begin{DoxyVerb}Check if the package is available.
:param package: the package to check
:return: True if the package is available, False otherwise
\end{DoxyVerb}
 \mbox{\Hypertarget{classplaso_1_1tarzan_1_1lib_1_1custom__pip__package__dir_1_1_custom_pip_package_dir_a20d16932e7f6f3cbeb336ad4c537d947}\label{classplaso_1_1tarzan_1_1lib_1_1custom__pip__package__dir_1_1_custom_pip_package_dir_a20d16932e7f6f3cbeb336ad4c537d947}} 
\index{plaso.tarzan.lib.custom\_pip\_package\_dir.CustomPipPackageDir@{plaso.tarzan.lib.custom\_pip\_package\_dir.CustomPipPackageDir}!install@{install}}
\index{install@{install}!plaso.tarzan.lib.custom\_pip\_package\_dir.CustomPipPackageDir@{plaso.tarzan.lib.custom\_pip\_package\_dir.CustomPipPackageDir}}
\subsubsection{\texorpdfstring{install()}{install()}}
{\footnotesize\ttfamily def plaso.\+tarzan.\+lib.\+custom\+\_\+pip\+\_\+package\+\_\+dir.\+Custom\+Pip\+Package\+Dir.\+install (\begin{DoxyParamCaption}\item[{}]{self,  }\item[{}]{packages }\end{DoxyParamCaption})}

\begin{DoxyVerb}Install the packages by external call of pip if they are not already installed.
:param packages: a list of packages to install
:return: the output buffer of the pip
\end{DoxyVerb}
 \mbox{\Hypertarget{classplaso_1_1tarzan_1_1lib_1_1custom__pip__package__dir_1_1_custom_pip_package_dir_ad480658a9044987e3817b0497e2ff2c6}\label{classplaso_1_1tarzan_1_1lib_1_1custom__pip__package__dir_1_1_custom_pip_package_dir_ad480658a9044987e3817b0497e2ff2c6}} 
\index{plaso.tarzan.lib.custom\_pip\_package\_dir.CustomPipPackageDir@{plaso.tarzan.lib.custom\_pip\_package\_dir.CustomPipPackageDir}!make\_package\_dir@{make\_package\_dir}}
\index{make\_package\_dir@{make\_package\_dir}!plaso.tarzan.lib.custom\_pip\_package\_dir.CustomPipPackageDir@{plaso.tarzan.lib.custom\_pip\_package\_dir.CustomPipPackageDir}}
\subsubsection{\texorpdfstring{make\_package\_dir()}{make\_package\_dir()}}
{\footnotesize\ttfamily def plaso.\+tarzan.\+lib.\+custom\+\_\+pip\+\_\+package\+\_\+dir.\+Custom\+Pip\+Package\+Dir.\+make\+\_\+package\+\_\+dir (\begin{DoxyParamCaption}\item[{}]{self }\end{DoxyParamCaption})}

\begin{DoxyVerb}Create a custom module storage.
\end{DoxyVerb}
 \mbox{\Hypertarget{classplaso_1_1tarzan_1_1lib_1_1custom__pip__package__dir_1_1_custom_pip_package_dir_a88af2cc286fafacad157a0551a6857ef}\label{classplaso_1_1tarzan_1_1lib_1_1custom__pip__package__dir_1_1_custom_pip_package_dir_a88af2cc286fafacad157a0551a6857ef}} 
\index{plaso.tarzan.lib.custom\_pip\_package\_dir.CustomPipPackageDir@{plaso.tarzan.lib.custom\_pip\_package\_dir.CustomPipPackageDir}!pip\_install@{pip\_install}}
\index{pip\_install@{pip\_install}!plaso.tarzan.lib.custom\_pip\_package\_dir.CustomPipPackageDir@{plaso.tarzan.lib.custom\_pip\_package\_dir.CustomPipPackageDir}}
\subsubsection{\texorpdfstring{pip\_install()}{pip\_install()}}
{\footnotesize\ttfamily def plaso.\+tarzan.\+lib.\+custom\+\_\+pip\+\_\+package\+\_\+dir.\+Custom\+Pip\+Package\+Dir.\+pip\+\_\+install (\begin{DoxyParamCaption}\item[{}]{self,  }\item[{}]{packages }\end{DoxyParamCaption})}

\begin{DoxyVerb}Install the packages by external call of pip.
:param packages: a list of packages to install
:return: the output buffer of the pip
\end{DoxyVerb}
 \mbox{\Hypertarget{classplaso_1_1tarzan_1_1lib_1_1custom__pip__package__dir_1_1_custom_pip_package_dir_ab208359cf49b4ef4d91e1d3eb073f400}\label{classplaso_1_1tarzan_1_1lib_1_1custom__pip__package__dir_1_1_custom_pip_package_dir_ab208359cf49b4ef4d91e1d3eb073f400}} 
\index{plaso.tarzan.lib.custom\_pip\_package\_dir.CustomPipPackageDir@{plaso.tarzan.lib.custom\_pip\_package\_dir.CustomPipPackageDir}!register\_package\_dir@{register\_package\_dir}}
\index{register\_package\_dir@{register\_package\_dir}!plaso.tarzan.lib.custom\_pip\_package\_dir.CustomPipPackageDir@{plaso.tarzan.lib.custom\_pip\_package\_dir.CustomPipPackageDir}}
\subsubsection{\texorpdfstring{register\_package\_dir()}{register\_package\_dir()}}
{\footnotesize\ttfamily def plaso.\+tarzan.\+lib.\+custom\+\_\+pip\+\_\+package\+\_\+dir.\+Custom\+Pip\+Package\+Dir.\+register\+\_\+package\+\_\+dir (\begin{DoxyParamCaption}\item[{}]{self }\end{DoxyParamCaption})}

\begin{DoxyVerb}Register the package directory as a custom module storage.
\end{DoxyVerb}
 

\subsection{Member Data Documentation}
\mbox{\Hypertarget{classplaso_1_1tarzan_1_1lib_1_1custom__pip__package__dir_1_1_custom_pip_package_dir_af828fb9e6958492b224d50421e9feec7}\label{classplaso_1_1tarzan_1_1lib_1_1custom__pip__package__dir_1_1_custom_pip_package_dir_af828fb9e6958492b224d50421e9feec7}} 
\index{plaso.tarzan.lib.custom\_pip\_package\_dir.CustomPipPackageDir@{plaso.tarzan.lib.custom\_pip\_package\_dir.CustomPipPackageDir}!package\_dir@{package\_dir}}
\index{package\_dir@{package\_dir}!plaso.tarzan.lib.custom\_pip\_package\_dir.CustomPipPackageDir@{plaso.tarzan.lib.custom\_pip\_package\_dir.CustomPipPackageDir}}
\subsubsection{\texorpdfstring{package\_dir}{package\_dir}}
{\footnotesize\ttfamily plaso.\+tarzan.\+lib.\+custom\+\_\+pip\+\_\+package\+\_\+dir.\+Custom\+Pip\+Package\+Dir.\+package\+\_\+dir}



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
/home/rychly/repos/pyspark-\/plaso/src/plaso/tarzan/lib/\mbox{\hyperlink{custom__pip__package__dir_8py}{custom\+\_\+pip\+\_\+package\+\_\+dir.\+py}}\end{DoxyCompactItemize}
