Skip to main content

# Flask Management Blueprint

[![Build Status](https://travis-ci.org/stone-payments/flask-management-blueprint.svg?branch=master)](https://travis-ci.org/stone-payments/flask-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

`bash 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=flask_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.

Release files for flask-management-blueprint 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for flask-management-blueprint 0.2.0
File Size Uploaded
flask_management_blueprint-0.2.0.tar.gz 5.3 kB Details

Release files / flask_management_blueprint-0.2.0.tar.gz

Download URL flask_management_blueprint-0.2.0.tar.gz
Size 5.3 kB
Tags Source
SHA-256 checksum
How to use checksums
17df54e197a346529759faf542c9c4c2dff83763fdaeaa96c36ba1d72aeba45d
BLAKE2b-256 checksum
How to use checksums
446f5b55649e525962c319192274b8dd685594930786358066b14690f6cac023
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.20.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.9

Release history Release notifications | RSS feed

This release

0.2.0 This release

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page