Skip to main content

Blackgate is an API gateway application.

Project description

Blackgate is an API gateway application. It’s stateless and extendable.

Install via pip


$ pip install blackgate


$ git clone
$ cd blackgate
$ python install

Install via docker


$ docker pull soasme/blackgate


Configure Upstream

A minimal Blackgate config looks something like this:

  - name: github
    upstream_url: ''
    request_path_regex: /github/(.*)
    request_path_sub: /\1

Just save it as blackgate.yml.

Run Application

Run application:

$ blackgate -c ./blackgate.yml --no-daemon start

# or run as a daemon
$ blackgate -c ./blackgate.yml --pidfile=/tmp/ start

# or run via docker
$ docker run -it --rm --name blackgate \
    -p 9654:9654 \
    -v blackgate.yml:/etc/blackgate.yml blackgate:latest

Test Blackgate

Using curl to test functionality:

$ curl
{"id":59739087,"name":"blackgate","full_name":"soasme/blackgate", ...

Project details

Download files

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

Source Distribution

blackgate-0.3.0.tar.gz (7.3 kB view hashes)

Uploaded source

Built Distribution

blackgate-0.3.0-py2.py3-none-any.whl (10.0 kB view hashes)

Uploaded 3 7

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page