Skip to content

Commit

Permalink
Drop PIL dependency, release v0.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
xl0 committed Jul 29, 2024
1 parent e8d02c2 commit b302905
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 11 deletions.
2 changes: 1 addition & 1 deletion friendlly/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "0.2.1"
__version__ = "0.2.2"

from .magic_cell import fr_cell
from .magic_line import fr_line
Expand Down
4 changes: 0 additions & 4 deletions friendlly/capture_display.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,9 @@
# %% ../nbs/02_capture_display.ipynb 2
from IPython.core.displaypub import DisplayPublisher
from IPython.core.display_functions import _new_id
from IPython.display import display, clear_output, Javascript
from IPython import get_ipython
from typing import List
from PIL import Image
from collections import defaultdict
from io import BytesIO
import base64

from .utils import nict

Expand Down
6 changes: 1 addition & 5 deletions nbs/02_capture_display.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,9 @@
"#| export\n",
"from IPython.core.displaypub import DisplayPublisher\n",
"from IPython.core.display_functions import _new_id\n",
"from IPython.display import display, clear_output, Javascript\n",
"from IPython import get_ipython\n",
"from typing import List\n",
"from PIL import Image\n",
"from collections import defaultdict\n",
"from io import BytesIO\n",
"import base64\n",
"\n",
"from friendlly.utils import nict"
]
Expand Down Expand Up @@ -264,7 +260,7 @@
],
"source": [
"#| eval: false\n",
"\n",
"from PIL import Image\n",
"from matplotlib import pyplot as plt\n",
"from IPython.display import display, HTML, Markdown, Latex, SVG\n",
"from pathlib import Path\n",
Expand Down
2 changes: 1 addition & 1 deletion settings.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
### Python library ###
repo = friendlly
lib_name = %(repo)s
version = 0.2.1
version = 0.2.2
min_python = 3.7
license = apache2
black_formatting = False
Expand Down

0 comments on commit b302905

Please sign in to comment.