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 |
31 |
Tags
- 유튜브 API
- XAI
- login crawling
- TensorFlow
- requests
- API
- 상관관계
- correlation
- UDF
- spark udf
- top_k
- 공분산
- flask
- youtube data
- Counterfactual Explanations
- airflow subdag
- chatGPT
- API Gateway
- tensorflow text
- Airflow
- integrated gradient
- subdag
- session 유지
- gather_nd
- grad-cam
- GCP
- BigQuery
- GenericGBQException
- hadoop
- Retry
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