Need advice about which tool to choose?Ask the StackShare community!
Bottle vs ExpressJS: What are the differences?
Bottle: A lightweight WSGI micro web-framework for Python. It is distributed as a single file module and has no dependencies other than the Python Standard Library. It has fast and pythonic built-in template engine and support for mako, jinja2 and cheetah templates; ExpressJS: Sinatra inspired web development framework for node.js -- insanely fast, flexible, and simple. Express is a minimal and flexible node.js web application framework, providing a robust set of features for building single and multi-page, and hybrid web applications.
Bottle and ExpressJS can be primarily classified as "Microframeworks (Backend)" tools.
ExpressJS is an open source tool with 45K GitHub stars and 7.55K GitHub forks. Here's a link to ExpressJS's open source repository on GitHub.
Twitter, Intuit, and OpenGov are some of the popular companies that use ExpressJS, whereas Bottle is used by Net Power & Light, Paysa, and Sotong Kitchen. ExpressJS has a broader approval, being mentioned in 1202 company stacks & 4118 developers stacks; compared to Bottle, which is listed in 3 company stacks and 6 developer stacks.
Which is the best Python framework for microservices?
We are using Nameko for building microservices in Python. The things we really like are dependency injection and the ease with which one can expose endpoints via RPC over RabbitMQ. We are planning to try a tool that helps us write polyglot microservices and nameko is not super compatible with it. Also, we are a bit worried about the not so good community support from nameko and looking for a python alternate to write microservices.
Bottle is much less bloated and fast. Its built-in templating system is one of the fastest as it compiles the templates in bytecode. Also Bottle has no depenencies, preventing dependency bloat.
Pros of Bottle
- Great documentation2
- Super easy to use2
- Faster1
Pros of ExpressJS
- Simple378
- Node.js333
- Javascript242
- High performance192
- Robust routing150
- Middlewares71
- Open source70
- Great community57
- Hybrid web applications37
- Well documented13
- Rapid development9
- Sinatra inspired9
- Isomorphic js.. superfast and easy7
- Socket connection6
- Light weight5
- Npm4
- Resource available for learning4
- Event loop3
- Callbacks3
- Data stream2
Sign up to add or upvote prosMake informed product decisions
Cons of Bottle
Cons of ExpressJS
- Not python27
- Overrated17
- No multithreading14
- Javascript9
- Not fast5
- Easily Insecure for Novices2