Skip to content

Instantly share code, notes, and snippets.

View evlanov-alex's full-sized avatar
🎯
Focusing

Alexey Evlanov evlanov-alex

🎯
Focusing
  • Belarus
  • 10:28 (UTC +03:00)
View GitHub Profile
@evlanov-alex
evlanov-alex / processor.py
Created March 12, 2020 20:41
Task with processors and registers
import sys
from abc import ABC, abstractmethod
from dataclasses import dataclass
from typing import List, Any, Optional
class BaseProcessorException(Exception):
"""Base exception."""
@evlanov-alex
evlanov-alex / utils.py
Created December 22, 2018 12:40
My utils for managing django project (migrations and packages)
from abc import ABCMeta, abstractmethod, abstractproperty
import inspect
import pip
import sys
import os
import re
BASE_DIR = os.path.abspath(os.path.dirname(__file__))