Tag: Python
"In the Java world there was always a problem with dependencies. All the jars we had to mange by hand – quite awful. Thankfully there is a Maven project which helps us in requirements management. But what about Python? Is there any way to handle necessary libraries? Of course, there is! It is a tandem of virtualenv and pip." by Marcin Swierczynski
"Last week I’ve completed an interesting task within our project: building internal link-shortening system based on persisted objects, not on constant URLs. The main requirement was to get as loosely-coupled design as possible. In the perfect world the “shortenable” classes should know absolutely nothing about link-shortening mechanism. How to get such a flexibility in Django? I’ve used the ContentTypes framework with generic relations and it works pretty well!" by Marcin Swierczynski
How to isolate customer's data from one another (one database per customer).
"The pthreads API is inherently simple. Not in the sense that it makes multi-threaded (MT) programming a breeze (I doubt this is possible), but in the sense that it provides everything that’s needed to write MT programs, and only that. In other words, pthreads solves a single problem, and solves it well." by Eli Bendersky.
AlertGrid is an interesting online instant notifications service (written in Python/Django) that helps reacting on the custom events (server down, script error, machine stopped) by sending SMS/phone/email notification.
"Since Adam D'Angelo, the founder, had worked for Facebook, which heavily uses PHP. I am trying to understand the technical challenges the founders of Quora faced before they decided to go with Python rather than PHP."
"This article will compare the latest incarnations of Ruby, with the latest in Python, Groovy, PHP, Lua, Perl and Java too, to have a comparison with a pre-compiled language. We will see, how scripting languages behave if applied to fractal geometry, more precisely an family Mandelbrot algorithm." by Marco Mastrodonato
Project's goal is to develop the PyMite virtual machine, device drivers, high-level libraries and other tools to run a significant subset of the Python language on microcontrollers without an OS.
Presentation by Nice Alex Gaynor (Berlin, Germany).
"There are many Unicode tutorials available for Python, but few offer an understanding of how Unicode works or how it's applied in the real world. This tutorial will teach you what you need to know about Unicode by example, as succinctly as possible." by Lobster Technologies.
Factory, Singleton, Flyweight, Observer, and Command Dispatch Pattern.
The code in a finally clause will never fail to execute?, polymorphism is great; I can sort a list of elements of any type?, Can I do ++x and x++?, Is there a similar shortcut for objects?, etc...
Django templates (tags, blocks, variables, filters, HTML tags, JavaScript and CSS) syntax coloring support for Eclipse.
Flask is a micro webdevelopment framework for Python.
webkit2png is a command line tool that creates png screenshots of webpages.
objgraph is a module that lets you visually explore Python object graphs.
"The Django ORM is pretty complicated and it takes too much time for contributors to understand all the necessary details. In order to make the process as easy as possible we've implemented a backend template which provides a simple starting point for a new backend based on our simplified API. It also contains sample code, so you can better understand what each function does." by All buttons pressed
"Python is the greatest thing to happen to computer science since the Turing Machine! Well, no, but it has inspired me into a personal renaissance for software writing. Its flexibility, widespread community support, and leveraging of legacy C and Fortran code also make it an outstanding language for social science researchers." via Zero Intelligence Agents.
PiCloud is a cloud-computing platform that integrates into the Python Programming Language. It enables you to leverage the computing power of Amazon Web Services without having to manage, maintain, or configure virtual servers.
Mercurial is a modern, open source, distributed version control system, and a compelling upgrade from older systems like Subversion.
pandas is a python package providing convenient data structures for time series, cross-sectional, or any other form of “labeled” data, with tools for building statistical and econometric models.
MongoEngine is a Document-Object Mapper for working with MongoDB from Python. It uses a simple declarative API, similar to that of the Django ORM
"Compared to other programming languages, Python and Ruby are so similar that hearing arguments between them is like trying to figure out which identical twin is more handsome."
Thread on Hacker News about Python jobs.
Don't put project name in the imports, don't hard code MEDIA_ROOT and TEMPLATE_DIRS, don't hard code static files in your templates, don't write core business logic in your views, ...
pyprocessing provides a Python package that creates an environment for graphics applications that closely resembles that of the Processing system.
Python's docx module creates, reads and writes Microsoft Office Word 2007 docx files.
Sage is a free open-source mathematics software system licensed under the GPL. It combines the power of many existing open-source packages into a common Python-based interface.
"One of my plans for next year is to start giving short talks and tutorials about scientific Python to various groups around the University of Manchester. Ever since I attended EuroSciPy in Leipzig earlier this year I have been excited about the possibilities offered by Python for students, researchers and teachers.", Walking Randomly
Ruby, Io, PHP, Python, Lua, Java, Perl, Applescript, TCL, ELisp, Javascript, OCaml, Ghostscript, and C Fractal Benchmark.
addons.mozilla.org plans to move from CakePHP to Django in 2010.
An optimization branch of CPython, intended to be fully compatible and significantly faster.
Lennon Day-Reynolds wrote on his blog: "I’ve recently made the transition from full-time Rails development to a mix of technologies including, in large part, Django. Since I was a Python guy before I ever started using Ruby, the transition has mostly been an easy one, but there are some fairly significant differences in design and philosophy between the two frameworks that are worth thinking about if you’re picking a platform for a new project."
Code comparison (size and complexity) between Mathematica, MatLab and Python.
List of Python testing tools divided into Unit Testing Tools, Mock/Stub Testing Tools, Fuzz Testing Tools, Web Testing Tools, Acceptance/Business Logic Testing Tools, GUI Testing Tools, Source Code Checking Tools, Code Coverage Tools, Continuous Integration Tools, and Miscellaneous Python Testing Tools categories.
Packt Publishing from UK informed me that they published an interesting book "Django 1.0 Template Development", written by Scott Newman. I have not read yet, but it has many positive reviews (e.g. Lowkster and contenthere).
crunchy is an interactive Python tutorials served through a web browser.
Stephen Marsland shared all Python scripts from his book "Machine Learning: An Algorithmic Perspective".
Steve Huffman’s and Alexis Ohanian’s told on Pycon Keynote why Reddit uses Python.
Raymond Hettinger's presentation about Artificial Intelligence in Python. Presentation contains several basic AI techniques implemented with short, open-source Python code recipes.
Ryan Paul wrote "Google's Python engineers have launched a new project called Unladen Swallow that seeks to improve the performance of the Python programming language. One of the project's goals is to replace the Python virtual machine with an LLVM-based JIT".
4Developers conference took place in Krakow, Poland on 7th March 2009, where I had a pleasure of presenting Python language and Django web framework. Presentation covered a introduction to Python and brief history, architecture, features, and the short example of Django. Please find attached presentation from this talk.
Tokyo Cabinet Python bindings
SCons is a next-generation build tool. Think of SCons as an improved, cross-platform substitute for the classic Make utility with integrated functionality similar to autoconf/automake and compiler caches such as ccache. In short, SCons is an easier, more reliable and faster way to build software.
FirePython is a Python logger console integrated into Firebug.
Whoosh is a fast, featureful full-text indexing and searching library implemented in pure Python. Some of Whoosh's features include Pythonic API, pure-Python, fielded indexing and search, fast indexing and retrieval, pluggable scoring algorithm (text analysis, storage, posting format, etc.), and powerful query language.
PyMVPA (Python MultiVariate Pattern Analysis) is a Python module intended to ease pattern classification analyses of large datasets. In the neuroimaging contexts such analysis techniques are also known as decoding or MVPA analysis. PyMVPA provides high-level abstraction of typical processing steps and a number of implementations of some popular algorithms.
I will give a presentation on 4Developers conference about the rapid and easy development of web application using Django and Python. The conference will take place in my hometown Kraków (Poland) on March 7th 2009.
This page is devoted to various tips and tricks that help improve the performance of your Python programs (Sorting, String Concatenation, Loops, Local Variables, etc).
Paul Graham wrote on his blog "you could get smarter programmers to work on a Python project than you could to work on a Java project. I didn't mean by this that Java programmers are dumb. I meant that Python programmers are smart. It's a lot of work to learn a new programming language. And people don't learn Python because it will get them a job; they learn it because they genuinely like to program and aren't satisfied with the languages they already know."
A series of articles on the history of the Python programming language and its community by Guido van Rossum.
The first time in Poland, PyCon PL 2008 conference took place in Rybnik on 18-19th October 2008, where I had a pleasure of presenting Django web framework. Presentation covered a brief history, architecture, features, and the short example. Please find attached presentation from this talk.
Django People lists Django developers from around the world. The aim of the site is to help Django developers find like-minded souls near them, and hopefully kick-start some local meet-ups and user groups.
his Week in Django is your ongoing source for all things Django. We have interviews, tips, special topics, screencasts, callcasts and a ton of fun.
Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.
The most comprehensive listing of websites that are powered by Django, the python web framework for perfectionists with deadlines.
Find Developers. Find Jobs.