Breadcrumbs Collector

Acquiring knowledge one crumb at a time

Page 3 of 4

Dive into Python’s asyncio, part 3 – web framework

Few days ago while I was reading fullstackpython.com I came across new pythonic micro web framework based on asyncio – Sanic. Coolest thing about Sanic is that it leverages asyncio providing better performance and more efficient hardware utilization. Although it’s… Continue Reading →

Ext Js Pathfinder progress report #4

Today’s note is short. I successfully managed to transition on a custom example page to run tests against. This resulted in much faster execution, however tests are failing due to failure of finding ‘Ext’ object. Unfortunately, reason remains unknown. Possibly,… Continue Reading →

Dive into Python’s asyncio, part 2

All examples were tested under Python 3.6. The only asyncio rule After reading part 1 you should already know, that a heart of asyncio is an event loop. There is exactly one rule – do not block the event loop!… Continue Reading →

Ext Js Pathfinder progress report #3

3rd progress report is under way. So far Ext Js Pathfinder can interact in a limited way with textfields and buttons. But what is it good for, if it lacks a handy set of assertions? Writing ‘classic’ assertions in testing… Continue Reading →

Dive into Python’s asyncio, part 1

Concurrency was not seriously taken into account in Python when it was designed. Until 3.4 version, there were two options: threading multiprocessing Although these two modules provided programmers with handy primitives and API, they both have considerable downsides. Due to… Continue Reading →

Ext Js Pathfinder progress report #2

It’s time for fill in some forms! Since we are already able to query for some Ext.form.field.Text components, then lets put text into it. I’ve been circling around mystic JavaScript methods of programmatically simulating key strokes by creating and dispatching… Continue Reading →

Collections in Python’s standard library: dict

Warning: this post’s contents is based on Python 3.6rc1 source code – most recent available one at the moment of writing. Dicts are omnipresent A lot of things in Python are dicts. Your programs use dictionaries extensively even if you… Continue Reading →

Python 3.6 new features – formatted string literals

On 23. December 2016 new minor version of Python was released – 3.6. It brings few enhancements and syntax features. In my opinion the most notable one is introduction of formatted string literals.

I always envied Ruby’s string interpolation… Continue Reading →

Ext Js Pathfinder progress report #1

tl;dr – Ext Js Pathfinder now can query elements using built-in ComponentQuery and emulate clicking buttons. Only Ext 4 is supported at the moment, though. What I’ve made I have put some work into the project. Main consideration was to… Continue Reading →

What is celery beat and how to use it?

Celery is a widely recognized distributed task queue for pythonic projects. Its sole purpose is to reduce load of web servers by delegating time-consuming tasks to separate processes. Our web servers should handle one request for no longer than a… Continue Reading →

« Older posts Newer posts »

© 2019 Breadcrumbs Collector — Powered by WordPress

Theme by Anders NorenUp ↑