Metadata-Version: 2.1
Name: consultify
Version: 0.0.2.2
Summary: Turns analyses on Python into management consulting-style PowerPoint slides.
Home-page: https://github.com/ryancarlyu/consultify
Author: Ryan Yu
Author-email: ryu@mba2021.hbs.edu
License: UNKNOWN
Description: # The So-What
        *consultify* allows users to turn analyses on Python into PowerPoint slides, following the conventions of standard management consulting slides.
        
        # Installation
        ```
        pip install consultify
        ```
        
        # Sample Usage
        ```
        # Extract sample image from Matplotlib
        
        import matplotlib.pyplot as plt
        import matplotlib.image as mpimg
        import urllib.request 
        
        urllib.request.urlretrieve('https://matplotlib.org/_images/sphx_glr_bar_stacked_001.png', 'sample.png')
        img = mpimg.imread('sample.png')
        plt.axis('off')
        plt.imshow(img)
        ```
        ![Matplotlib sample](./screenshots/sample.png?raw=true)
        
        
        ```
        # Create sample pandas DataFrame
        
        import pandas as pd
        from sklearn.datasets import load_iris
        data = load_iris()
        df = pd.DataFrame(data.data, columns=data.feature_names)
        df = df.head(5)
        df
        ```
        ![Iris DataFrame](./screenshots/iris_dataframe.png?raw=true)
        
        ```
        prs = consultify.make_deck()
        
        consultify.add_slide(prs, slide_title='The highest scores were achieved in Game 2', image_filepath='sample.jpg', textbox_filled_space = 0.25, textbox_font_size = 20, title_font_size = 32, slide_text=
        """Insight # 1
        
        Insight # 2
        
        Insight # 3""")
        
        consultify.add_marvin_table_slide(prs, df, slide_title = 'Title')consultify.add_marvin_table_slide(prs, df, title_font_size = 28, slide_title = 'These are the first five rows of the classic Iris Dataset')
        
        consultify.save_deck(prs, filepath='./210117 SteerCo Deck.pptx')
        ```
        ![Output Slide 1](./screenshots/Slide1.png?raw=true)
        ![Output Slide 2](./screenshots/Slide2.png?raw=true)
        
        # #plsfix
        Email ryu@mba2021.hbs.edu for feedback.
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
