13.8 billion years after the Big Bang we arrive at the Big Split or: what happened to my ipython notebooks?

Idego

13.8 billion years after the Big Bang we arrive at the Big Split or: what happened to my ipython notebooks?

If your experience with programming in Python is longer than 15 minutes – chances are you know that is is an interpreted language – and apart from writing scripts and invoking them almost exactly like you would any other program – you can use it interactively in a REPL loop. The interactive interpreter bundled with python is a bit crude […]

Paging through the changes in Django Rest Framework 3.1

Django Rest Framework is by far the most popular solution for providing APIs in the Django universe (with tastypie being a viable alternative). During last years summer – the project creator – Tom Christie – started a kickstarter campaign aimed at fueling his effort to get to the next major release – the funds were gathered quickly and Django Rest […]

Paging through the changes in Django Rest Framework 3.1

Piotr Groza

If it is a duck – it better quack like a duck.

Piotr Groza

If it is a duck – it better quack like a duck.

As you probably know – Python is a dynamically typed language. And it’s a great feature of the language – it allows rapid prototyping, easier testing, makes codebase smaller, thus more comprehensible. This is only one side of the story though – as the project grows, the permissive nature of dynamic type system might become a problem – it’s not […]

Use the source, Luke – what’s coming up in Ansible v2

If you are one of the almost 10k developers who starred ansible github repo, you might have noticed that at some point in time, a mysterious v2 directory appeared in the sources – containing alternative implementations of ansible and ansible-playbook. Is it the beginning of some new product, a complete rewrite, refactoring, or just some experimental branch accidentaly merged into […]

Use the source, Luke – what’s coming up in Ansible v2

Piotr Groza

How Django uses metaclasses

Piotr Groza

How Django uses metaclasses

In this post I will explore Python metaclasses. There are many great posts out there explaining the mechanics and possible usages of metaclasses. Not many of them try to examine the actual usage in popular libraries though – so here’s a niche I will try to fill with this article. I’ve chosen Django as my test subject – it’s popular, […]

Integrating Mako with Django 1.8 template backend subsystem

Django 1.8 release is coming soon, and one of the new important features is support for multiple template engines. Allowing to choose between template engines is mostly caused by the need for greater performance in complex templates and a more convenient API for custom tags. It’s also interesting to note that the integrating Mako was funded with an indiegogo campaign. If you want […]

Integrating Mako with Django 1.8 template backend subsystem

Idego

1 ... 30 32