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
For usage examples see:
https://github.com/cmancone/clearskies-docker-compose
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
- Simple routing
- Extensive validation of configuration provided by developer and easy-to-understand error messages
- 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 - no part of clearskies is required
Upcoming features
- Stateless database migrations via mygrations
- User-configurable rules engine
- Auto generated swagger 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.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dde285b25d8511f50f423b6dda0c62eec60849da1ad72f72158d7d4ea44b75c6 |
|
MD5 | 3db85f7ec20c88dac2cd86f8235dd78d |
|
BLAKE2b-256 | abbad2aaf2ae63cc24fc530618868af3b917ba23c9781d08d22574e40f8f3f0d |