<commit_before># StackHut Platform
## Deploy classes as Microservices

[![image](https://img.shields.io/pypi/v/stackhut.svg)](https://pypi.python.org/pypi/stackhut)
[![Documentation Status](https://readthedocs.org/projects/stackhut/badge/?version=latest)](http://stackhut.readthedocs.org/?badge=latest)

StackHut is a platform to develop and deploy microservices without writing any server-logic. It takes a regular class (in Python or JavaScript for now), a YAML file describing your stack, and deploys a microservice whose functions can be called natively in other languages, or through REST. StackHut is pure Software Defined Infrastructure, and abstracts away web-frameworks, servers, and infrastructure entirely.

The `stackhut` command tool provides CLI functionality into creating, running, and deploying StackHut images. Available to download in both source and binary form for Linux and OSX (Win support on the way). Free software under the Apache license. 

Happy hacking! :)

---

## Related Repos
### Client Libraries
* [NodeJS/ES6](https://github.com/stackhut/client-node)
* [Python3](https://github.com/stackhut/client-python)

### Samples

#### Basic Examples
 * [demo-python](https://github.com/stackhut/demo-python) - Basic Python 3 Example
 * [demo-python-persistent](https://github.com/stackhut/demo-python-persistent) - Basic Python 3 Example with state
 * [demo-nodejs](https://github.com/stackhut/demo-nodejs) - Basic NodeJS/ES6 Example
 * [demo-nodejs-persistent](https://github.com/stackhut/demo-nodejs-persistent) - Basic NodeJS/ES6 Example with State

#### More Complex Examples

 * [pdf-tools](https://github.com/stackhut/pdf-tools) - PDF Rendering-as-a-Service
 * [image-process](https://github.com/stackhut/image-process) - Image Processing-as-a-Service using ImageMagick
 * [web-tools](https://github.com/stackhut/web-tools) - Remote Web-Rendering and tooling using PhantomJS
 * [media-download](https://github.com/stackhut/media-download) - youtube-dl-as-Service to download media from online sites (may be blocked from services from time to time)
 * [t-shirt-aaS](https://github.com/stackhut/t-shirt-aaS) - Not yet live

All of these services are all live and running under the `stackhut` namespace, i.e. `stackhut/servicename`, and can be called and tried out.
You can call them using any of the client libraries or `curl` as described in the [StackHut documentation](http://stackhut.readthedocs.org/).

## Useful Links

* Homepage: https://www.stackhut.com
* User Manual & Docs: https://docs.stackhut.com
* [GitHub Issues](https://github.com/stackhut/stackhut/issues)
* [GitHub Wiki](https://github.com/stackhut/stackhut/wiki)

---

# Getting started
## Installing the toolkit

All releases can be found on this repo's [release page](https://github.com/stackhut/stackhut/releases). Detailed install instructions can be found in the [User Manual](http://docs.stackhut.com/getting_started/installation.html).

_Note_ - StackHut requires [Docker](www.docker.com) to be installed  - on OSX/Windows download [Docker Toolbox](https://www.docker.com/docker-toolbox) and on Linux we recommend using your distro version.

### Binary/Standalone Install

You can download a standalone executable for Linux and OSX. 
 * On OSX there are three binary install methods:
    * Using brew - `brew install stackhut/stackhut/toolkit` (a 3rd-party tap you can also upgrade with `brew upgrade stackhut/stackhut/toolkit` - make sure you have an up-to-date brew with `brew update`)<commit_msg>Fix invalid https link<commit_after># StackHut Platform
## Deploy classes as Microservices

[![image](https://img.shields.io/pypi/v/stackhut.svg)](https://pypi.python.org/pypi/stackhut)
[![Documentation Status](https://readthedocs.org/projects/stackhut/badge/?version=latest)](http://stackhut.readthedocs.org/?badge=latest)

StackHut is a platform to develop and deploy microservices without writing any server-logic. It takes a regular class (in Python or JavaScript for now), a YAML file describing your stack, and deploys a microservice whose functions can be called natively in other languages, or through REST. StackHut is pure Software Defined Infrastructure, and abstracts away web-frameworks, servers, and infrastructure entirely.

The `stackhut` command tool provides CLI functionality into creating, running, and deploying StackHut images. Available to download in both source and binary form for Linux and OSX (Win support on the way). Free software under the Apache license. 

Happy hacking! :)

---

## Related Repos
### Client Libraries
* [NodeJS/ES6](https://github.com/stackhut/client-node)
* [Python3](https://github.com/stackhut/client-python)

### Samples

#### Basic Examples
 * [demo-python](https://github.com/stackhut/demo-python) - Basic Python 3 Example
 * [demo-python-persistent](https://github.com/stackhut/demo-python-persistent) - Basic Python 3 Example with state
 * [demo-nodejs](https://github.com/stackhut/demo-nodejs) - Basic NodeJS/ES6 Example
 * [demo-nodejs-persistent](https://github.com/stackhut/demo-nodejs-persistent) - Basic NodeJS/ES6 Example with State

#### More Complex Examples

 * [pdf-tools](https://github.com/stackhut/pdf-tools) - PDF Rendering-as-a-Service
 * [image-process](https://github.com/stackhut/image-process) - Image Processing-as-a-Service using ImageMagick
 * [web-tools](https://github.com/stackhut/web-tools) - Remote Web-Rendering and tooling using PhantomJS
 * [media-download](https://github.com/stackhut/media-download) - youtube-dl-as-Service to download media from online sites (may be blocked from services from time to time)
 * [t-shirt-aaS](https://github.com/stackhut/t-shirt-aaS) - Not yet live

All of these services are all live and running under the `stackhut` namespace, i.e. `stackhut/servicename`, and can be called and tried out.
You can call them using any of the client libraries or `curl` as described in the [StackHut documentation](http://stackhut.readthedocs.org/).

## Useful Links

* Homepage: https://www.stackhut.com
* User Manual & Docs: http://docs.stackhut.com
* [GitHub Issues](https://github.com/stackhut/stackhut/issues)
* [GitHub Wiki](https://github.com/stackhut/stackhut/wiki)

---

# Getting started
## Installing the toolkit

All releases can be found on this repo's [release page](https://github.com/stackhut/stackhut/releases). Detailed install instructions can be found in the [User Manual](http://docs.stackhut.com/getting_started/installation.html).

_Note_ - StackHut requires [Docker](www.docker.com) to be installed  - on OSX/Windows download [Docker Toolbox](https://www.docker.com/docker-toolbox) and on Linux we recommend using your distro version.

### Binary/Standalone Install

You can download a standalone executable for Linux and OSX. 
 * On OSX there are three binary install methods:
    * Using brew - `brew install stackhut/stackhut/toolkit` (a 3rd-party tap you can also upgrade with `brew upgrade stackhut/stackhut/toolkit` - make sure you have an up-to-date brew with `brew update`)
{'fraction_non_alphanumeric': 0.11830102622576967, 'fraction_numerical': 0.0019954389965792475, 'mean_word_length': 4.695616883116883, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 39, 'lorem ipsum': 0, 'www.': 6, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 12, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1580519', 'n_tokens_mistral': 2176, 'n_tokens_neox': 2073, 'n_words': 650}