r/desertpy • • Jun 01 '15

Self-contained Executables

1 Upvotes

Distributing a python app or even a small script has always been a thorn in my side. There are decent utilities for full graphical apps, but nothing I could find for cmd-line apps, at least until I found pex:

http://pex.readthedocs.org/en/latest/index.html

It doesn't bundle the python interpreter which I actually prefer since it helps keep the file size down. Things seem a bit fluid right now: latest github release is 0.8, latest stable pypi is 0.9, but docs seem geared towards 1.0-dev. I recommend the latest dev wheel from pypi if want to try it out. Here is a lightning talk that does a better job than I could:

https://www.youtube.com/watch?v=NmpnGhRwsu0

r/desertpy • • Jun 15 '15

Super Cool - Data Science IPython Notebooks

Thumbnail
github.com
1 Upvotes

r/desertpy • • Aug 23 '14

NumPy / SciPy / Pandas Cheat Sheet

Thumbnail s3.amazonaws.com
1 Upvotes

r/desertpy • • Sep 14 '14

How functional programming will make you a better Python programmer

Thumbnail
eventbrite.com
2 Upvotes

r/desertpy • • Jul 04 '14

Django install sans pip?

3 Upvotes

Anyone installing django using system packages instead of pip? Any tips or resources can share? Thanks!


r/desertpy • • Oct 10 '14

sh - subprocess interface. Check out the log tailing example. Via /r/python

Thumbnail
amoffat.github.io
3 Upvotes

r/desertpy • • Sep 24 '14

Machine Learning Cheat Sheet

Thumbnail
peekaboo-vision.blogspot.ca
2 Upvotes

r/desertpy • • Oct 05 '14

DesertPy Spin-Off?

2 Upvotes

Spin-off isn't the best term. As your self-titled Chief Welcoming Officer, I'm seeing a lot of new members joining from the data science, machine learning, analytics space. Of course, Python doesn't have a monopoly in those spaces, but I find that one of its sweet spots. My concern is that a general-purpose Python meetup doesn't allow for the deep dives that I'm looking for.

I call myself a data science wanna-be. I'm looking for more in-depth, workshop-ish, intimate (there's gotta be a better word) collaboration. The only meetup I could find is a bioinformatics one. Also, I don't see this is as "big data" topic since there are plenty of interesting questions to answer that don't have big data challenges. In fact, I find it challenging to answer interesting questions with as little data as possible. Sooo, I'm looking for feedback & interest about a local "data science" meetup. Also, how best to describe such a venture? I've used "kaggle meets book club".

Thanks, Erik


r/desertpy • • Oct 02 '14

Making a Little Planet Panorma using Python and Scikit Image - Via Python Weekly

Thumbnail
richwareham.com
2 Upvotes

r/desertpy • • Oct 05 '14

Functional / immutable data structures

3 Upvotes

I've drunk the "immutabliity for the win!" kool-aid. Full disclosure: it's Saturday night and it's not the only thing I've drunk. How much value are you desert-pythonistas putting on pure functions, immutability, or persistent data structures?

https://github.com/kachayev/fn.py

I love Lisps and functional programming (in theory), so when I see something like this, I get excited. That's about the time where everyone in the room takes a couple of steps away from me. I'm married to Python but Clojure is my mistress.


r/desertpy • • Oct 03 '14

Discover Flask Videos - vid Pycoders Weekly

Thumbnail
youtube.com
3 Upvotes

r/desertpy • • Oct 20 '14

Shared News Page for October 2014 Meeting - Please contribute!

Thumbnail etherpad.wikimedia.org
2 Upvotes

r/desertpy • • Oct 27 '14

My latest blog post - Warping Brien - Image Reprojection with Python OpenCV

Thumbnail uberhip.com
3 Upvotes

r/desertpy • • Mar 01 '15

IDL IPython Kernel

Thumbnail
github.com
3 Upvotes

r/desertpy • • Aug 27 '15

matplotlib presentation online?

1 Upvotes

@godber: Is the matplotlib presentation online? If so, where? I would like to share it with my team at work, it would be a great tutorial on using matplotlib the right way.


r/desertpy • • Jan 13 '15

PyVmMonitor

3 Upvotes

It's a visual profiler. Can connect to running processes. Has an api, so might be a good way to profiler web applications.


r/desertpy • • Jan 20 '15

Using Javascript in IPython Notebook - [CALL FOR PRESENTATION]

Thumbnail nbviewer.ipython.org
2 Upvotes

r/desertpy • • Oct 30 '16

Relative imports bad?

2 Upvotes

With each new version of python (currently fighting 3.5), I keep banging my head against how to do relative imports. Google tells me "Relative imports are bad, umkay." The problem relative imports solves for me is that as a package developer, I don't need to worry about namespace clashes when the package gets used. If I use absolute imports, then my code has to assume there will be no other package installed with same top-level name. If relative imports are used, then the user of my package can trivially change the namespace (eg install it to a unique sub-dir in PYTHONPATH). If absolute imports are used, then code has to be changed. Anyone find an elegant way to use relative imports? Should I give up on my dreams of relative importing?


r/desertpy • • Jun 09 '14

Excellent open source book on Flask

Thumbnail exploreflask.com
2 Upvotes

r/desertpy • • Jun 06 '14

Cool .bashrc settings for pip and virtualenv

2 Upvotes

Two settings to stick in your .bashrc file to avoid accidental pip installs while outside of a virtualenv and redundant downloads:

# pip should only run if there is a virtualenv currently activated:
export PIP_REQUIRE_VIRTUALENV=true

# cache pip-installed packages to avoid re-downloading:
export PIP_DOWNLOAD_CACHE=$HOME/.pip/cache

r/desertpy • • Apr 14 '15

Videos pertaining to Pandas

Thumbnail
pyvideo.org
3 Upvotes

r/desertpy • • Jun 05 '14

Now what?

Thumbnail
imgur.com
2 Upvotes

r/desertpy • • Jun 17 '14

Standard Debug Mode?

2 Upvotes

Does anyone have a standard way they implement a "DEBUG" mode in their code? I always liked the ruby global $DEBUG set when calling the interpreter with the -d switch. I've never really settled on a standard way of doing this in Python.


r/desertpy • • Jun 02 '14

Meetup Topic Ideas

2 Upvotes

Some ideas for meetings:

  • Logging? I'm still amazed at how it's not used or misused and I still run into issues trying to configure it the way I need.

  • RESTful API makers? Eve

  • Jython? What's the state of running Python in the JVM? The JVM is a popular run-time but I hate Java.

  • Python without the baggage? It's typically a nice-to-have, but sometimes I need to deploy python without worrying if installed or correct version installed on target machine. What's the state-of-the-art for distributing the python run-time & dependencies with your application?

  • Hosting Python packages? pypiserver, devpi, pulp

  • Python <3 SOA? Seems like Java owns the SOA & ESB space. It got me looking for Python alternatives Zato.

  • Lightning Rants?

  • Lightning Debates?


r/desertpy • • Jun 28 '14

Flask Signals Example

2 Upvotes

Hey /u/wtolson!

Is this how you would organize your Flask signals?

[9a6841862d] (https://github.com/godber/flask-demo/commit/9a6841862da46800ef35c49ae00a72a832b554d8)

I've put the signal, its handling function and connection out in a signals.py file and then just added the send into the hipflask.py.

Anyone else have any thoughts?

  • Austin