Skip to main content

Sanic Management Blueprint

Project description

# Sanic Management Blueprint

[![Build Status](https://travis-ci.org/stone-payments/sanic-management-blueprint.svg?branch=master)](https://travis-ci.org/stone-payments/sanic-management-blueprint)

This repository contains a project developed with Python3 :heart: with a blueprint that describe the necessary endpoints to meet the engineering goals.

## Starting…

This instructions should be enough to replicate the development enviroment of this project. If this is not the case, please, feel free to open a pull request.

## Prerequisites

After cloning the project, you will need Python 3.5.

## Environment

` python3 -m venv /path/to/new/virtual/environment source venv/bin/activate pip install -r requirements.txt `

## Settings

To successfully set up the project, a json file is needed. This file should be in path described in the enviroment variable CONFIG_FILE_PATH.

Besides that, all of the project’s dependencies should be added with the AppInfo’s method register_resource. This method should receive a function that returns True or False depending on the dependency’s health.

## Running

If all goes right, you should be run the run.py file inside the samples folder.

## Testing

Unit tests:

nosetests tests/unit

Coverage:

nosetests –with-coverage –cover-package=sanic_management_blueprint

## Built With

Python 3.5.2

## Authors

Build with :heart: by Team Satisfação do Cliente!

## License

Copyright (C) 2018. Stone Pagamentos. All rights reserved.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sanic_management_blueprint-0.1.0-py3-none-any.whl (15.4 kB view details)

Uploaded Python 3

File details

Details for the file sanic_management_blueprint-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for sanic_management_blueprint-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4dedc2f2324d4ec3da8b6bdc699290e8a7713ae8ed82c6e46849bfac27d21fa4
MD5 03a03e63546c9868af3c1bcfab57af7a
BLAKE2b-256 8425e16c28f7f25885367cc8403862afc6d8d5db5321921a018a1632b71c75b7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page