일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 | 31 |
Tags
- Python
- token filter test
- flask
- Mac
- high level client
- License
- Test
- licence delete curl
- aggregation
- Elasticsearch
- 차트
- 900gle
- springboot
- Kafka
- API
- zip 암호화
- plugin
- analyzer test
- aggs
- ELASTIC
- TensorFlow
- license delete
- zip 파일 암호화
- Java
- sort
- matplotlib
- MySQL
- docker
- 파이썬
- query
Archives
- Today
- Total
목록2024/07/02 (1)
개발잡부
[python] URL 초당 200개 호출 (비동기)
import asyncioimport aiohttpimport timefrom urllib import parseimport urllib3import matplotlib.pyplot as pltimport numpy as npfrom time import sleepfrom datetime import datetime, timedeltaurllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)async def fetch(session, url): try: async with session.get(url, ssl=False, timeout=aiohttp.ClientTimeout(total=600)) as response: ..
카테고리 없음
2024. 7. 2. 17:52