Quantcast
Channel: Blog | Machinalis
Browsing latest articles
Browse All 22 View Live

Making the case for Jython (again)

MotivationA few days ago Jython 2.7.0 was released and in order to celebrate we want to revisit something that we introduced in a previous blogpost.Back then we argued that Jython had a place in a...

View Article



Image fields with Django REST Framework

IntroductionNot long ago we had to implement a Django site that exposes an API using Django REST Framework. Through this API we gave access to the users to models that had image fields on them....

View Article

Nested resources with Django REST Framework

IntroductionDjango REST Framework (DRF) is a great way to provide RESTful interfaces for Django sites. Although it is fairly complete and does pretty much everything for you, it doesn’t cover all the...

View Article

OAuth2 authentication with Django REST Framework and custom third-party...

IntroductionUsing OAuth2 authentication on a Django REST Framework based Django site it’s actually fairly easy to implement thanks to django-oauth-tookit. Things can be trick if you also want to allow...

View Article

Full Text Search in Django using Database Back-Ends

Although having a specialized indexing solution is what most experts recommend when dealing with large, real word sites, sometimes it can be overkill if we’re only working on a simple system with few...

View Article


Full Text Search in Django REST Framework with Database Back-ends

The purpose of this blogpost is to provide an example on how to implement full text search in a Django REST framework site using only the functionality provided by the PostgreSQL database back-end. It...

View Article

Quick introduction to Django Channels

Quick Introduction to Django ChannelsChannels is an exciting upcoming feature of Django that will allow Django sites to support use cases that usually required the use of external tools and libraries...

View Article

Image may be NSFW.
Clik here to view.

JSON Web Tokens authentication on Django Channels

JSON Web Tokens authentication on Django ChannelsIn this new blogpost we show you how to provide JWT Web Token based authentication on a Django Channels site. JWT is a widely supported open standard...

View Article


Offloading work using Django Channels

Continuing our coverage Django Channels, this time we’ll show you how to create a custom channel and offloading work to a specific consumer.The idea is to isolate resource intensive work (writing to...

View Article


Separate IO from algorithms

Being able to write clean, easy to maintain code is one of the most important skills a developer should have. And it isn’t an easy task to accomplish. We will often be presented with complex problems...

View Article

Controlling uncertainty on web applications and APIs

“But it works fine on my machine!”How many times have your heard that phrase? I’ve been working as a developer for over a decade and I can swear I heard it in every project I worked on. No matter how...

View Article

Image may be NSFW.
Clik here to view.

OCR with Django and Tesseract

On this occasion we wanted to show you how easy it is to do OCR with Django and Tesseract, using the tesserocr library.InstallationTesserocr requires a fairly recent versions of tesseract-ocr and...

View Article

Image may be NSFW.
Clik here to view.

First release of mypy-django

We’re happy to make a release of mypy-django 0.1.1, the first of many!It’s a collection of type stubs for using with the mypy static type checking tool (and also with other PEP-484 compliant tools). If...

View Article


Machinalis hired DRF's Tom Christie!

If you're into Python web development you've probably found yourself looking for a way to easily implement REST APIs on your backend, and I’m quite sure you found that one of the most solid and robust...

View Article

Image may be NSFW.
Clik here to view.

Integrating Pandas, Django REST Framework and Bokeh

It’s no secret that we loveDjango REST Framework. We’ve written quite a few blog posts about it and it is our default framework for projects that require a web API.Another package that we use a lot is...

View Article


Image may be NSFW.
Clik here to view.

Watermarking images on Django sites

Have you ever noticed how stock photography sites add watermarks to the images shown on their catalogs? They do that to make sure people don’t just take the free samples and use them without proper...

View Article
Browsing latest articles
Browse All 22 View Live




Latest Images