Skip to main content

%%pdcache cell magic

pypi version Tests

Automatically cache results of intensive computations in IPython.

Inspired by ipycache.

Installation

$ pip install ipy-pdcache

Usage

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
,A,B
0,1,4
1,2,5
2,3,6

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

Metadata

Release files for ipy-pdcache 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ipy-pdcache 0.1.0
File Size Uploaded
ipy_pdcache-0.1.0.tar.gz 2.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ipy-pdcache 0.1.0
File Interpreter ABI Platform
ipy_pdcache-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 4.8 kB

Release files / ipy_pdcache-0.1.0.tar.gz

Download URL ipy_pdcache-0.1.0.tar.gz
Size 2.3 kB
Tags Source
SHA-256 checksum
How to use checksums
d5bc5edb38cc4d8ba9c77b1c1616d30c72e5f1fd251d3cada7443f7d67574a37
BLAKE2b-256 checksum
How to use checksums
194b03e70f32226d1e177092c2d86addec5abc9b8a7dabe340965b8f884c01bc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.6

Release files / ipy_pdcache-0.1.0-py3-none-any.whl

Download URL ipy_pdcache-0.1.0-py3-none-any.whl
Size 2.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
caee4ae1a5d4323410b49e68c1c6c65c43395d19db812e85f2866500ce096f3d
BLAKE2b-256 checksum
How to use checksums
94490664d3b5b39ef41431a770e6d450b1653336b024fa2dec60b3c479870b90
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.6

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page