This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env python | |
import argparse | |
import sys | |
import time | |
import uuid | |
from urllib2 import HTTPError | |
from cloudera.director.common.client import ApiClient | |
from cloudera.director.v10 import (AuthenticationApi, ClustersApi, InstanceTemplatesApi) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
import json | |
import os | |
from io import BytesIO | |
from bs4 import BeautifulSoup | |
from pdfminer.converter import HTMLConverter | |
from pdfminer.layout import LAParams | |
from pdfminer.pdfcolor import LITERAL_DEVICE_GRAY | |
from pdfminer.pdfcolor import LITERAL_DEVICE_RGB |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env python | |
import argparse | |
import sys | |
import time | |
import uuid | |
from urllib2 import HTTPError | |
from cloudera.director.common.client import ApiClient | |
from cloudera.director.v10 import (AuthenticationApi, ClustersApi, InstanceTemplatesApi) |