Compress images in IPython/Jupyter notebooks
Project description
Overview
So you have included an image with IPython.display.Image() and the file size of your IPython Notebook got huge? No problem! This package will resize images in your notebook and compress them as JPG or PNG.
Installation
Install using pip…
pip install ipynbcompress
Example
TODO: Write example.
API reference
API reference is at http://ipynbcompress.rtfd.org.
Development
Install dependencies and link development version of ipynbcompress to pip:
git clone https://github.com/arve0/ipynbcompress
cd ipynbcompress
pip install -r requirements.txt # install dependencies and ipynbcompress-package
Testing
tox
Build documentation locally
To build the documentation:
pip install -r docs/requirements.txt
make docs
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ipynbcompress-0.1.0.tar.gz
(8.4 MB
view details)
Built Distribution
File details
Details for the file ipynbcompress-0.1.0.tar.gz
.
File metadata
- Download URL: ipynbcompress-0.1.0.tar.gz
- Upload date:
- Size: 8.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f858d6321813d6e252e22bcf2d67fa30fe348eb997be0cc6a22339f9883258bd |
|
MD5 | 95dfc68ee3e6095259c68ac8b24de00f |
|
BLAKE2b-256 | b3a7462cb8d801000af0c183289b07dca6d2b374e3eeddeda2c70e70568ba17b |
File details
Details for the file ipynbcompress-0.1.0-py2.py3-none-any.whl
.
File metadata
- Download URL: ipynbcompress-0.1.0-py2.py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2a449d5779a7573619dfbf9b98fc52490e75b90ea935a6d2ae6cc2d46965d97 |
|
MD5 | b3660f6ec0bf499fe2a9dc6f2971b0e4 |
|
BLAKE2b-256 | 265446e149d095f2d727256b1c9bdd73bc35f9f7f0f69c19be4f5a89a7e7bb0f |