250x250
반응형
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- GenericGBQException
- youtube data
- BigQuery
- hadoop
- login crawling
- 유튜브 API
- XAI
- grad-cam
- 공분산
- Counterfactual Explanations
- Retry
- Airflow
- requests
- airflow subdag
- TensorFlow
- API
- correlation
- 상관관계
- session 유지
- integrated gradient
- tensorflow text
- subdag
- flask
- gather_nd
- chatGPT
- UDF
- API Gateway
- GCP
- spark udf
- top_k
Archives
- Today
- Total
목록flask (1)
데이터과학 삼학년
RESTful API 파이썬 구축 예시 (feat. Flask)
파이썬으로 개발 가능한 웹프레임워크는 대표적으로 flask, django가 아닐까 싶다. flask를 이용하여 간단한 RESTful API 를 구축한 코드를 공유한다. from flask import Flask, jsonify, request app = Flask(__name__) # 임시 데이터베이스 books = [ {"id": 1, "title": "Harry Potter and the Philosopher's Stone", "author": "J.K. Rowling"}, {"id": 2, "title": "The Hobbit", "author": "J.R.R. Tolkien"}, {"id": 3, "title": "To Kill a Mockingbird", "author": "Harper Lee"..
Computer Science
2023. 3. 18. 15:00