Giter VIP home page Giter VIP logo

cookiecutter-disco-pie's Introduction

Cookiecutter DiscoPie: Deployment Inside Serverless Containers of Python-Integrated Endpoints

Dread deploying your API? Use Cookiecutter DiscoPie!


Do I want Cookiecutter DiscoPie?

Ever built a sik ML model only to find that it's stuck on your stupid laptop, beefy desktop, or ephemeral cloud machine? Do you need the world to have access to ur dope deep neural net? Do you require serverless deployment because what is a server? Do you insist on containerizing your code because I mean what else are you doing is this 2015 or something? Do you loathe the idea of navigating the treacherous waters of the AWS UI?

If you answered "yes" to exactly every single one of the above questions, then you've come to right place. Cookiecutter DiscoPie is here to handle all the annoying stuff so you can focus on serving that model, or whatever else people do with REST APIs.

Cookiecutter DiscoPie

  1. Templatizes an API endpoint based on FastAPI. You just need to call your code from the routes.
  2. Containerizes the service and provides commands for local interaction.
  3. Deploys the container as a serverless REST endpoint (currently only on AWS, but we have a vision!).

Do I need Cookiecutter DiscoPie?

Probably not. There are other ways to do this. But they either don't support containers, or require silly command line steps. You are a Python data scientist, dammit, not Kevin Mitnick!

Plus, our FastAPI-based design means there's hope for supporting multiple serverless cloud backends (huge caveat: there needs to exist an ASGI adapter for each).

Just try it, you nerd!

Install it:

All you gotta do is fork this repo, navigate to the right dir and use pip to install the DiscoPie command line tool, easy.

cd /cookiecutter-disco-pie
pip install .

To create a new API, run:

cc-disco-pie https://www.github.com/caseyfitz/cookiecutter-disco-pie

cookiecutter-disco-pie's People

Contributors

caseyfitz avatar michaelclifford avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.