Design by contract in python- part three
I covered py.contracts and zope.interface, now it’s time to write about abc module from python standard library.I wanted to write about another library dpcontrancts, but unfortunately, I wasn’t able to...
View ArticleFactory pattern in python
What is factory pattern all about? It introduces abstraction. In other words: helps software developers with the problem of creating objects without knowing exact class of the object that will be...
View ArticleMy thoughts on blogging
This week I decided to write something more about what are reasons I wrote this blog, what I am taking from it so if you want some more technical post please check other articles.What I want from this...
View ArticleMakefiles in python projects
When I join my current company I saw in their git repos strange file. It wasn’t used by any python code. It just sits in the main directory of the project. I asked my colleagues what is this file for?...
View ArticlePython & WebDAV- part one
I must confess I was ignorant. Recently I saw an application done by my colleague at work and it was using python WebDAV client. I was intrigued because for me WebDAV was connected with calendars...
View ArticlePython & WebDAV- part two
In the last post, I set up owncloud with WebDAV server. Now it’s time to use it.Python WebDAV client - easywebdavI was searching for good python library to work with WebDAV for a long time. I finally...
View ArticleArchives from memory- libarchive
This blog post is about python wrapper around libarchive and how to use it to generate archive from memory.Libarchive & python-libarchive-cIf you happen to learn more about how to create archives...
View ArticleJSON Web Tokens in django application- part one
Recently I attended a workshop about web security. During these hours I learnt quite a lot but one thing got my attention- JWT. Based on that I decided to write a blog post series about how to use JSON...
View ArticleMicroservices in Flask
I recently gave a talk about microservices in Flask onWrocpy. This blog post is a translation of that talk into English.Monolithic applicationMicroservices talk usually starts with a monolithic...
View ArticlePyConPL 2016
This weekend I was on PyConPL conference. This is a short relation from this event.Day 1I was on a presentation by Marcin Bardź PostgreSQL i SQLAlchemy Duet (nie)doskonały. It was a talk about the...
View ArticleJSON Web Tokens in django application- part two
In this blog post, I will deal with creating simple Django application for creating tasks using django rest framework.From this blog post, you can learn how to setup basic DRF application.Overview of...
View ArticleJSON Web Tokens in django application- part three
As we have working application now it’s high time to make it more secure by authenticating users. To do this I will use JSON Web Tokens.JWT in Django Rest FrameworkThere are few packages on pypi that...
View ArticleDjango Under The Hood 2016 recap
From the beginning I really wanted to contribute to Django. I asked a friend of mine- “Do you know where I can start contributing?” She answers- “Go to Django Under The Hood”. So I went. This is my...
View ArticleJSON Web Tokens in django application- part four
When I started this series I have got one comment from my co-worker that instead of authentication JWT can be used to sign one time links. After reading through the documentation I found that can be a...
View ArticleDjango Girls- Kraków
As I said many times on this blog I really like teaching others so I can improve myself. That’s why when I heard about Django Girls Kraków I didn’t hesitate and I joined this event as a coach. This is...
View ArticleDocker.py- python API for Docker
Once upon a time I and my friend decided to write an application that helps us doing code kata. The first problem that we faced was how to run a code provided by the user in a safe manner so our server...
View ArticleTranscoding with AWS- part one
Nowadays moving everything to the cloud becomes more and more popular. A lot of software companies move their technology stack to such infrastructure. One of the biggest players in this field is Amazon...
View ArticleTranscoding with AWS- part two
As I have static and media files integrated with AWS now it’s time to transcode them. In this post, I will write a short example of how to integrate AWS ElasticTranscoder with Django application.Basic...
View ArticleTranscoding with AWS- part three
I’ve ran transcoder from django application using AWS python API. But there is also one more way to do the same - use AWS Lambda. Today I will write how to use this tool to trigger transcoding of...
View ArticleReview of 2016
Hello in the new year - 2017! I wish you all good things! Today’s post will be about one year of this very blog and other things that I was able to accomplish in the previous year. This blog post won’t...
View Article