Skip to main content

Temporary file magic IPython

Project description

# Magics for temporary workspace

  • %cdtemp – Creates a temporary directory that is magically cleaned up when you exit IPython session.
  • %%with_temp_dir – Run Python code in a temporary directory and clean up it after the execution.

# Installation

Install using pip:

` pip install ipython-tempmagic  # PyPI published version `

or

` pip install git+https://github.com/Lightslayer/ipython-tempmagic  # development version `

For older Jupyter versions (< 5.0):

`text %install_ext https://raw.github.com/tkf/ipython-tempmagic/master/tempmagic.py `

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Built Distribution

ipython_tempmagic-0.0.1-py2.py3-none-any.whl (3.9 kB view hashes)

Uploaded py2 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