Skip to content

Instantly share code, notes, and snippets.

View vryazanov's full-sized avatar
🦀

Vadim Ryazanov vryazanov

🦀
  • Software Engineer at Job Leads
  • Voronezh, Russia
View GitHub Profile
"""Query interface."""
from __future__ import annotations
import abc
import sqlalchemy.orm.query
from crawler.constants import RunStatus
@vryazanov
vryazanov / benchmark.py
Last active October 17, 2019 10:20
S3 Multipart upload with smart_open
import argparse
import concurrent.futures
import threading
import boto3
import smart_open
s3 = boto3.resource('s3')
@vryazanov
vryazanov / server.py
Created August 6, 2019 14:16
Habr proxy
import re
import aiohttp
import aiohttp.web
import bs4
LOCAL_DOMAIN = 'http://localhost:8080/'
HABR_DOMAIN = 'https://habr.com/'