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

Upload to PyPI #4

Closed
jab opened this Issue Feb 24, 2018 · 7 comments

Comments

Projects
None yet
3 participants
@jab

jab commented Feb 24, 2018

Thanks for publishing this useful package! Any interest in uploading it to PyPI so it's easier for users to discover and install?

@ianozsvald

This comment has been minimized.

Owner

ianozsvald commented Mar 3, 2018

Hey there. So - I probably should and I'll mull this. If a second person did a +1 here I'd give it more consideration. I'm a bit cautious as if I do this, it is yet-another-thing to support on my already-and-always-thin spare time!

@brainwane

This comment has been minimized.

brainwane commented Mar 5, 2018

I am leaving a 👍 here but I'm also offering some unsolicited advice:

@ianozsvald

This comment has been minimized.

Owner

ianozsvald commented Mar 6, 2018

@brainwane hey there, well, that was quick, thanks! Can I confirm that both yourself and @jab are using this? I confess that I haven't needed it for a couple of years, but if "it works" then I'm open to doing the pypi piece (I've done it before for a different project). Could you both confirm please which version of Python (3.6? earlier?) you're using and which numpy version?
I haven't tested this since the better numpy temporary-reuse code was added, I'd figured that this library was less useful as a result: https://docs.scipy.org/doc/numpy-1.13.0/release.html

@jab

This comment has been minimized.

jab commented Mar 6, 2018

Thanks for being willing to do this!
I’m confused by the assumption I’m using numpy – I’m not. Here is an example of how I used this recently: jab/bidict#56 (comment)
I used it to measure the effect of a memory usage improvement in my bidict library on both Python 2.7 and Python 3.6. (I was only trying to do a quick benchmark so using the latest Python 2 and 3 versions was enough.)

@ianozsvald

This comment has been minimized.

Owner

ianozsvald commented Mar 6, 2018

Hah! So that reminds me of Samuel L Jackson and what happens when you make an assumption: https://www.youtube.com/watch?v=YS3i-irQ0L0

You'll see that the README just shows the use of numpy, that was my use case and I'd just assumed that was everyone else's :-) I'm very happy to see your real life use case! For my own reference I see a couple of others now too:

Ok, I should update the docs using the latest Python and make a pypi entry. Cheers for the nudge!

@ianozsvald

This comment has been minimized.

Owner

ianozsvald commented Apr 21, 2018

@jab @brainwane I'm pleased to say that thanks to the ManAHL Python Data hackathon today, with my trusty team of 6 first-timers, we've published a PyPI installer and updated the README: https://pypi.org/project/ipython-memory-usage/

@jab

This comment has been minimized.

jab commented Apr 21, 2018

Awesome! Cheers 🍻 @ianozsvald et al.

I coincidentally just used this project again earlier today and it was really helpful - still not aware of anything else that makes it nearly so easy to tell how much memory something in Python is using (or releasing). Great more users will now be able to discover and install it. ❤️

@ianozsvald ianozsvald closed this Apr 22, 2018

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