- Taiga.io - Agile project management platform. Built on top of Django and AngularJS
- The Open edX platform
- Saleor - a modular, high performance, headless e-commerce platform built with Python, GraphQL, Django, and React.
- Ownphotos - Self hosted alternative to Google Photos
- Healthchecks - A cron monitoring tool written in Python & Django
- Paperless-ng - A supercharged version of paperless: scan, index and archive all your physical documents
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Details https://skonik.me/uploading-large-file-to-s3-using-aiobotocore/ | |
import asyncio | |
import math | |
import os | |
import aiobotocore | |
import aiofiles | |
AWS_S3_HOST = 'http://localhost:9000' | |
AWS_SECRET_ACCESS_KEY = 'SECRET_KEY' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using System.Linq; | |
namespace tutorials | |
{ | |
class Customer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- encoding: utf-8 -*- | |
import os | |
import pathlib | |
from threading import Thread | |
import requests | |
import random | |
import secrets | |
import uuid | |
from multiprocessing import Process |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import concurrent.futures | |
import time | |
from concurrent.futures import ThreadPoolExecutor, ProcessPoolExecutor | |
from datetime import datetime | |
from functools import wraps | |
from multiprocessing import Pool, cpu_count, Process | |
from threading import Thread | |
import requests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import uuid | |
# list is iterable | |
names = ['Elon', 'Guido', 'Bjern'] | |
for name in names: | |
print(name) | |
# Elon | |
# Guido | |
# Bjern |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import re | |
text = "ГОСТ Р 54384-2011 - " \ | |
"Сталь. Определение и классификация по химическому составу и ... " \ | |
"ГОСТ 380-94 Сталь углеродистая обыкновенного качества." | |
gost_pattern = r'(?P<standard_type>гост)\s*(?P<standard_value>[рp]?\s*\d*\d+(?:-\d+)?)' | |
print(re.findall(gost_pattern, text, re.U + re.I)) | |
# [('ГОСТ', 'Р 54384-2011'), ('ГОСТ', '380-94')] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM alpine:3.10 | |
# Install runtime libs | |
RUN apk add python3=3.6.8-r2 \ | |
libpq \ | |
libjpeg-turbo | |
# Enable non buffered output into tty | |
ENV PYTHONUNBUFFERED 1 | |
# Set default lang |