A nano-framework for building microservices in the cloud
Project description
clearskies
clearskies is a Python-basd nano-framework intended for developing microservices in the cloud. It is mainly intended for RESTful API endpoints, queue listeners, runners, and the like.
Seriously, a nano framework?
Why do I call this a nano-framework? Because it would be a stretch to call this a micro framework - it's really just a set of loosely coupled classes that play nicely with eachother, and which coordinate via dependency injection. It's definitely not your typical framework, as it tries to automate a completely different list of things. If you are used to "standard" frameworks then you'll find that this is missing a lot of the tools you take for granted, while helping with other things you never asked a framework to do for you. Therefore, this probably isn't the tool for you.
Installation and Usage
pip3 install clear-skies
Inside the Box
- Fairly standard models and query builder
- Support for MySQL-like backends
- Ability to use external APIs as a backend
- Automatic generation of API endpoints via declarative coding conventions
- Built-in conventions for proper secret storage in environment + secret manager
- Method-based routing capabilities
- Extensive user input validation and easy-to-understand error messages
- Explicit Authentication for API Endpoints
- Easy Authorization
- Easy lifecycle hooks for plug-and-play customization
- Absolutely everything can be customized and modified - nothing is required
Upcoming features
- Stateless database migrations via mygrations
- User-configurable rules engine
- Auto generated API documentation
Not Included
- Built in webserver (That's what lambdas, queue managers, and simple WSGI servers are for)
- More advanced routing options (microservices probably don't need much routing, and load balancers can handle the rest)
- Log handling - that's what cloudwatch and log aggregators are for
- Views, templates, content management
- Anything that even remotely resembles a front end
- Basically anything not listed in the "Inside the Box" section above
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for clear_skies-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74d0194d38ef636845d4e580f09de425943081aab6b10758853ddad21af46b0b |
|
MD5 | 261fd796894212b5a54e996e3afec1dd |
|
BLAKE2b-256 | ce1085b73182f77f61d43f0aeda92e442e22f40a66a36fad581a132a7478c927 |