This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
PyPi Binary Downloader | |
Pulls the latest binary package from pypi, and installs it intelligently | |
Accounts for current python version and path (including virtualenv), and | |
system architecture (32 vs 64 bit) | |
If an alternate filename is provided, it will use that instead of the default | |
created by distutils (<package>-<version>.win**-py*.*.exe) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' Python Shell-Script Maker for Windows MSYS | |
Creates a bash shell script for all the `.bat` files in the Scripts directory. | |
This allows for compatibility with MSYS bash. | |
For example, `spyder.bat` would yield a file called `spyder`: | |
#!/bin/bash | |
cmd //c "spyder" "$@" | |
See http://sourceforge.net/p/mingw/bugs/1902/ for an explanation. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
""" | |
Created on Sat Jul 20 14:27:48 2013 | |
@author: silvester | |
Demonstration of Point Cloud tool using OpenGL bindings in PyQtGraph | |
Based on GLScatterPlotItem.py example from PyQtGraph | |
License: MIT |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
""" | |
Created on Mon Nov 11 04:16:39 2013 | |
@author: silvester | |
@license: MIT | |
""" | |
from enaml.qt import QtCore, QtGui | |
from enaml.widgets.api import * | |
from pyqtgraph import opengl as gl |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
""" | |
Created on Mon Nov 11 04:16:39 2013 | |
@author: Steven Silvester ([email protected]) | |
@license: Public Domain | |
Based on: http://www.siafoo.net/snippet/316 | |
Created on Jul 7, 2009 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
""" | |
Created on Sun Nov 17 09:15:29 2013 | |
@author: Steven Silvester <[email protected]> | |
@license: MIT | |
Adapted from @pedrotechless answer: | |
http://stackoverflow.com/questions/6447011/pyqt-pyside-webkit-and-exposing-methods-from-to-javascript | |
""" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
""" | |
Created on Fri Nov 29 07:29:42 2013 | |
@author: Steven Silvester <[email protected]> | |
@license: MIT | |
Take a snapshot of an enaml application. | |
Open an enaml application, save a snapshot, and optionally close it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
""" | |
Created on Fri Dec 06 06:07:21 2013 | |
@author: Steven Silvester <[email protected]> | |
@license: MIT | |
""" | |
import functools | |
import matplotlib.pyplot as plt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
""" | |
@author Steven Silvester <[email protected]> | |
@license MIT | |
""" | |
import pkgutil | |
import os | |
from wmi import WMI # pip install wmi (windows only) | |
# see http://stackoverflow.com/questions/938733/total-memory-used-by-python-process | |
import jedi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
""" | |
@author Steven Silvester <[email protected]> | |
@license MIT | |
""" | |
import pkgutil | |
import os | |
from memory_profiler import memory_usage | |
import jedi |
OlderNewer