Skip to main content

Automatically cache results of intensive computations in IPython.

Project description

%%pdcache cell magic

pypi version Tests

Automatically cache results of intensive computations in IPython.

Inspired by ipycache.


$ pip install ipy-pdcache


In IPython:

In [1]: %load_ext ipy_pdcache

In [2]: import pandas as pd

In [3]: %%pdcache df data.csv
   ...: df = pd.DataFrame({'A': [1,2,3], 'B': [4,5,6]})

In [4]: !cat data.csv

This will cache the dataframe and automatically load it when re-executing the cell.

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

ipy_pdcache-0.1.0.tar.gz (2.3 kB view hashes)

Uploaded source

Built Distribution

ipy_pdcache-0.1.0-py3-none-any.whl (2.4 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page