semvec/pypi-packages huggingface dataset:
redeye-grablib 0.0.2
A library for retrieving files from HTTP servers.
Requires Python: >=3.8

# GrabLib

A library for retrieving files from HTTP servers.

## Installation

```
pip install redeye-grablib
```

## Usage

```
>>> import grablib
>>> import asyncio
>>>
>>> grabber = grablib.GrabLib()
>>> asyncio.run(grabber.get("https://picsum.photos/20/30"))
{
  'url': 'https://picsum.photos/20/30',
  'sha256': '91aa5c45c2d5709e46631caa743bec9461a4e97df87d60038c126078876add02',
  'data': b'[image binary]'
}
```
consultify 0.0.2.4
Turns analyses on Python into management consulting-style PowerPoint slides.

# 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
```
# Get 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](https://raw.githubusercontent.com/ryancarlyu/consultify/main/screenshots/sample.png)


```
# 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](https://raw.githubusercontent.com/ryancarlyu/consultify/main/screenshots/iris_dataframe.png)

```
from consultify import consultify

prs = consultify.make_deck()

consultify.add_slide(prs, slide_title='The highest scores were achieved in Game 2', image_filepath='sample.png', 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, 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](https://raw.githubusercontent.com/ryancarlyu/consultify/main/screenshots/Slide1.png)
![Output Slide 2](https://raw.githubusercontent.com/ryancarlyu/consultify/main/screenshots/Slide2.png)

# #plsfix
Email ryu@mba2021.hbs.edu for feedback.
AutoUpdate 0.0.4
Check for updates in the easiest way possible.
Requires Python: >=3.6

Check for updates in the easiest way possible.

Release notes (0.0.4)
===
* Removed useless code

Documentation
===

First, create a github repository. Then in the repository, create a file. Name this whatever you want, as long as it's a .txt file. Put the latest version in there. Update this file with the corresponding latest version constantly when there's a new update. Then, open the raw file using the raw button, and copy that URL.

Then with the URL copied to your clipboard, add the following code:

```py
import AutoUpdate

AutoUpdate.set_url("<FILE URL HERE>")
```

And replace the string's content with the file URL.

Then after that, set the current version of the software. You can do this by doing the following:

```py
import AutoUpdate

AutoUpdate.set_url("<FILE URL HERE>")
AutoUpdate.set_current_version("0.0.1")
```

Change the current version with anything you want. It doesn't have to be in that format, it can be 0.0.1, 0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.1, 2021.69.420, anything you like, even UGLYPOOPHEAD.

Then to check if the version is up to date, you simply run this code:

```py
import AutoUpdate

AutoUpdate.set_url("<FILE URL HERE>")
AutoUpdate.set_current_version("0.0.1")
print(AutoUpdate.is_up_to_date())
```

This will print `True` if it's up to date, `False` if it's not.

What you can also do is upload the file it needs to download in the same repository, always update that file too, and download it if the version is not up to date by using the following code:

```py
import AutoUpdate

AutoUpdate.set_url("<FILE URL HERE>")
AutoUpdate.set_download_link("<DOWNLOAD LINK HERE>")
AutoUpdate.set_current_version("0.0.1")

if not AutoUpdate.is_up_to_date():
    AutoUpdate.download("<PATH TO FILE HERE>")
```

If you need any help, email me (mr.bruh.dev@gmail.com) or join the Discord server (https://discord.gg/DQTRTWQ7yd)