https://gist.github.com/dancheskus/365e9bc49a73908302af19882a86ce52
В результате будет 2 react проекта на 1 сервере доступных по разным ссылкам
| import random | |
| import asyncio | |
| from aiohttp import ClientSession | |
| async def fetch(url, session): | |
| async with session.get(url) as response: | |
| delay = response.headers.get("DELAY") | |
| date = response.headers.get("DATE") | |
| print("{}:{} with delay {}".format(date, response.url, delay)) | |
| return await response.read() |
| import time | |
| from sqlalchemy import create_engine | |
| import pandas as pd | |
| import requests | |
| from io import StringIO | |
| db_url = "postgresql+psycopg2://login:pwd@host:port/db_name" | |
| engine = create_engine( |
https://gist.github.com/dancheskus/365e9bc49a73908302af19882a86ce52
В результате будет 2 react проекта на 1 сервере доступных по разным ссылкам