Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

Martini

16
37
+ 1
15
Pyramid

62
72
+ 1
0
Add tool

Martini vs Pyramid: What are the differences?

Martini: Classy web framework for Go. Martini is a powerful package for quickly writing modular web applications/services in Golang; Pyramid: A framework for building Python web applications. It makes it easy to write web applications. You can start small with this "hello world" minimal request/response web app. This may take you far, especially while learning. As your application grows, it offers many features that make writing complex software take less effort.

Martini and Pyramid belong to "Frameworks (Full Stack)" category of the tech stack.

Martini is an open source tool with 10.6K GitHub stars and 1.09K GitHub forks. Here's a link to Martini's open source repository on GitHub.

Advice on Martini and Pyramid
Saurav Pandit
Application Devloper at Bny Mellon · | 6 upvotes · 324.5K views

I have just started learning Python 3 weeks ago. I want to create a REST API using python. The API will be used to save form data in an Oracle database. The front end is using AngularJS 8 with Angular Material. In python, there are so many frameworks to develop REST APIs.

I am looking for some suggestions which REST framework to choose?

Here are some features I am looking for:

  • Easy integration and unit testing, like in Angular. We just want to run a command.

  • Code packaging, like in java maven project we can build and package. I am looking for something which I can push in as an artifact and deploy whole code as a package.

  • Support for swagger/ OpenAPI

  • Support for JSON Web Token

  • Support for test case coverage report

Framework can have features included or can be available by extension. Also, you can suggest a framework other than the ones I have mentioned.

See more
Replies (1)
Recommends
on
FlaskFlask
at

For starters flask provides a beautiful and easy way to create REST APIs. Also its supported by excellent beginner docs as well as a very active community. Another good thing with Flask is its widely available list of plugins which allow you to build as you go. Its also good in performance and can scale to a quite decent level. However, if you are sure your project is going to be fairly big, it would be better to start with Django as it provides a lot of features out of the box and is extremely stable in performance. Both these frameworks have support for Swagger, JWT, Coverage Report although you have to install plugins for them. Deploying both of these are fairly simple and there is huge documentation available. Django has one of the best documentations I have come across. I hope I was able to answer your queries.

See more
Manage your open source components, licenses, and vulnerabilities
Learn More
Pros of Martini
Pros of Pyramid
  • 6
    Go
  • 4
    Simple
  • 2
    Open source
  • 1
    Express/Sinatra style framework
  • 1
    Flexible Routing
  • 1
    Modular
  • 0
    Fast
    Be the first to leave a pro

    Sign up to add or upvote prosMake informed product decisions

    139
    70
    1.4K
    2.2K
    - No public GitHub repository available -

    What is Martini?

    Martini is a powerful package for quickly writing modular web applications/services in Golang.

    What is Pyramid?

    It makes it easy to write web applications. You can start small with this "hello world" minimal request/response web app. This may take you far, especially while learning. As your application grows, it offers many features that make writing complex software take less effort.

    Need advice about which tool to choose?Ask the StackShare community!

    What companies use Martini?
    What companies use Pyramid?
    Manage your open source components, licenses, and vulnerabilities
    Learn More

    Sign up to get full access to all the companiesMake informed product decisions

    What tools integrate with Martini?
    What tools integrate with Pyramid?
      No integrations found
      What are some alternatives to Martini and Pyramid?
      JavaScript
      JavaScript is most known as the scripting language for Web pages, but used in many non-browser environments as well such as node.js or Apache CouchDB. It is a prototype-based, multi-paradigm scripting language that is dynamic,and supports object-oriented, imperative, and functional programming styles.
      Python
      Python is a general purpose programming language created by Guido Van Rossum. Python is most praised for its elegant syntax and readable code, if you are just beginning your programming career python suits you best.
      Node.js
      Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices.
      HTML5
      HTML5 is a core technology markup language of the Internet used for structuring and presenting content for the World Wide Web. As of October 2014 this is the final and complete fifth revision of the HTML standard of the World Wide Web Consortium (W3C). The previous version, HTML 4, was standardised in 1997.
      PHP
      Fast, flexible and pragmatic, PHP powers everything from your blog to the most popular websites in the world.
      See all alternatives