Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
tiangolo
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
91.
▲
by
tiangolo
8y ago
Yep, FastAPI is based on Starlette, heavily inspired by the (now "deprecated") APIStar. What it adds is automatic data validation, serialization, and documentation, with Python type hints. All using Pydantic. So, you declare reque
92.
▲
by
tiangolo
8y ago
Yes! Sort of... Most of FastAPI features come from Starlette AND Pydantic. In FastAPI you declare the parameters of your request (including deeply nested JSON bodies) as function parameters. So, "editor support" here means, for ex
93.
▲
by
tiangolo
8y ago
Maybe, but Python is still quite easy to pick, the only one that can do Deep Learning and Machine Learning well, etc. So, if we can use it, take advantage of its benefits and have tools like this that simplify everything without too many co
94.
▲
by
tiangolo
8y ago
About reinventing the wheel, let me copy my answer from Reddit: Good question. I ask the same questions myself every time. And I avoided creating FastAPI for a long time. I tried a whole lot of tools. And FastAPI got inspiration from a lot
95.
▲
by
tiangolo
8y ago
FastAPI is a modern, fast (high-performance), web framework for building APIs with Python 3.6+. It is one of the fastest Python frameworks available, as measured by independent benchmarks. It is based on standard Python type hints. Using th
96.
▲
Show HN: FastAPI: build Python APIs with Go-like speed and automatic UI docs
(fastapi.tiangolo.com)
88 points
by
tiangolo
8y ago
|
71 comments
97.
▲
Show HN: FastAPI: Python 3.6, high performance, fast to code, production-ready
(github.com)
3 points
by
tiangolo
8y ago
|
0 comments
98.
▲
by
tiangolo
8y ago
I recently created this full-stack project generator, based on previous ones I had: https://github.com/tiangolo/full-stack-fastapi-couchbase FastAPI as the Python backend. Couchbase as the database. Vue.js with TypeScr
99.
▲
by
tiangolo
8y ago
I don't get why Docker Swarm mode is so underrated. Docker Compose is excellent for local development, and Docker Swarm mode uses the same file and is almost the same thing. Some minor additions in extra docker-compose files and it
100.
▲
by
tiangolo
8y ago
Totally agree. Docker Compose is excellent for local development, and Docker Swarm mode uses the same file and is almost the same thing. Some minor additions in extra docker-compose files and it's ready for production in a cluster. I d
101.
▲
by
tiangolo
8y ago
I created a project generator to solve that for my use cases: https://github.com/tiangolo/full-stack It allows me (and the teams I work with) to go from clean Linux to web app 5 - 10 min while keeping best practices an
102.
▲
by
tiangolo
9y ago
About KeeWeb vs KeePass: KeeWeb is a drop in replacement for KeePass, it uses the same format, so you can use the same Android clients to open the same file. IMHO It's a lot better than KeePass, especially if you are in Linux. KeeWeb i
103.
▲
by
tiangolo
9y ago
Everything with Docker: https://www.docker.com/ Rancher (to control Docker stacks, set up HTTPS with Let's encrypt, etc): http://rancher.com/ GitLab (git repositories): https://about.gitlab.
104.
▲
by
tiangolo
9y ago
This Docker base image takes care of setting up and fine tuning Nginx and uWSGI to serve a Flask (Python) web app “ready for production”. You only need to take care of your Flask code. It has sensible defaults but you can also configure and
105.
▲
Show HN: Deploy Flask (Python) web apps to production with Docker easily
(hub.docker.com)
1 points
by
tiangolo
9y ago
|
1 comments
106.
▲
by
tiangolo
9y ago
It is used by this kind of popular pre-built Docker image for Deep Learning: https://github.com/floydhub/dl-docker They actually created this service using that (a Deep Learning "as a service"): https:/