molten is a minimal, extensible, fast and productive framework for building HTTP APIs with Python. molten can automatically validate requests according to predefined schemas, ensuring that your handlers only ever run if given valid input. Schemas are PEP484-compatible, which means mypy and molten go hand-in-hand, making your code more easy to maintain. Schema instances are automatically serializable and you can pick and choose which fields to exclude from responses and requests. Write clean, decoupled code by leveraging DI. Define components for everything from settings to DB access and business logic, test them in isolation and swap them out as needed. Here we’ve declared a Todo manager whose job it is to store and load Todos in the DB. In order for handlers to be able to request manager instances from the DI system, we also define a component that knows how and when to instantiate a TodoManager.

Features

  • Functional Middleware
  • Dependency Injection
  • Request Validation
  • molten is a minimal, extensible, fast and productive framework
  • Build HTTP APIs with Python
  • Type Safe

Project Samples

Project Activity

See All Activity >

Categories

Frameworks

License

GNU Library or Lesser General Public License version 3.0 (LGPLv3)

Follow molten

molten Web Site

Other Useful Business Software
Auth0 for AI Agents now in GA Icon
Auth0 for AI Agents now in GA

Ready to implement AI with confidence (without sacrificing security)?

Connect your AI agents to apps and data more securely, give users control over the actions AI agents can perform and the data they can access, and enable human confirmation for critical agent actions.
Start building today
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of molten!

Additional Project Details

Programming Language

Python

Related Categories

Python Frameworks

Registered

2022-11-30