Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

API design Python [closed]

Tags:

python

api

I have found a very nice talk by Joshua Bloch:

http://www.youtube.com/watch?v=aAb7hSCtvGw

http://lcsd05.cs.tamu.edu/slides/keynote.pdf

While it is fairly general, some comments are only valid to statically typed languages. I am looking for something equivalent for Python. (This talk looks promising but has not been given yet)

like image 430
Hernan Avatar asked May 16 '11 19:05

Hernan


People also ask

Is Python good for API development?

APIs provide an interface for developers, allowing them to leverage their programming skills in one language (Python) and use it with any service they want. Python is a popular choice for APIs because of the high level of abstraction available and its extensive library support.

Is FastAPI better than Flask?

Usage differences. FastAPI is a full-stack framework that offers everything you need to build your API. On the other hand, Flask is a micro framework that doesn't provide all the features that FastAPI does. However, Flask is useful when you want to prototype an idea quickly or build a simple web application.

Can Python be used for REST API?

One of the most popular ways to build APIs is the REST architecture style. Python provides some great tools not only to get data from REST APIs but also to build your own Python REST APIs.

How long does it take to build an open API?

Creating an application using a no-code platform takes about two weeks. And with traditional development, it will take at least a month to create an API, and the exact timeframe is even more difficult to predict.


1 Answers

Perhaps one of these (or both).

  • PyCon 2011: API Design: Lessons Learned by Hettinger
  • PyCon 2011: API Design anti-patterns by Alex Martelli
like image 50
dietbuddha Avatar answered Oct 05 '22 00:10

dietbuddha