New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change usage to be modular rather than using %run #1

merged 3 commits into from Dec 15, 2014


None yet
2 participants
Copy link

jni commented Nov 28, 2014


%run -i # massive namespace pollution, no on/off switch


import ipython_memory_usage as imu
# do memory testing stuff
# do other stuff

Still to do, but preferably in another PR and/or not by myself:

  • is untouched. There is massive potential for code sharing so ideally it should be an option to start_watching_memory instead.
  • make a few functions internal, leaving only an API for users.
  • as you have already noted, adding

jni added some commits Nov 28, 2014

Update to use as module
I have also changed the cmd printed because it becomes unwieldy for
large IPython notebook cells.

@ianozsvald ianozsvald merged commit 535ba08 into ianozsvald:master Dec 15, 2014


This comment has been minimized.

Copy link

ianozsvald commented Dec 15, 2014

Much obliged! Sorry to be slow, wanted to have a chance to review the change and December is always silly-busy. Cheers :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment