Skip to main content
Warning: You are using the test version of PyPI. This is a pre-production deployment of Warehouse. Changes made here affect the production instance of TestPyPI (testpypi.python.org).
Help us improve Python packaging - Donate today!

Hatch

Project Description

# hatch

hatch is a tool that makes it easy to build products using AWS. It uses conventions to automate the creation of things like static website, HTTP API’s etc. quick and easy.

[![Build Status](https://travis-ci.org/mads-hartmann/hatch.svg?branch=master)](https://travis-ci.org/mads-hartmann/hatch)

## Installation

brew tap mads-hartmann/hatch git@github.com:mads-hartmann/hatch.git brew install hatch

## Services

### HTTP(S) APIs

This uses API Gateway, AWS Lambda, and Route53 to build HTTP APIs.

hatch api create # scaffolding hatch api start # local development hatch api deploy # 0 config deployment to AWS

### Static Websites

This uses S3, CloudFront, and Route53.

hatch website create # scaffolding hatch website deploy hatch website start

### Cron jobs

TODO

### Event handlers

TODO

## Develop on hatch

git clone git@github.com:mads-hartmann/hatch.git && cd hatch make setup .venv/bin/hatch api deploy examples/api .venv/bin/hatch website deploy examples/website

## Project Overview

The general approach is that each kind of service has it’s own file in ./hatch/services where we have a model of the service. E.g. for the HTTP API we have ./hatch/services/api.py which contains an Api class that represents our model of a HTTP API.

This modal can then be used for two things. Firstly it is used to figure out what to deploy to AWS, and secondly it’s used to emulate the service for local development. Again, taking the HTTP API as an example, we use the Api class to create a Tornado server we can run locally that emulate the configuration of running your code on AWS Labmda/API Gateway.

The services are in ./hatch/services. The mapping to AWS are in ./hatch/aws and the local development setup things can be found in ./hatch/ux.

Release History

Release History

This version
History Node

0.0.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
hatch-0.0.1.tar.gz (9.5 kB) Copy SHA256 Checksum SHA256 Source Jun 10, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting