Code Monkey home page Code Monkey logo

flask-registry's Introduction

Flask-Registry

https://travis-ci.org/inveniosoftware/flask-registry.png?branch=master https://coveralls.io/repos/inveniosoftware/flask-registry/badge.png?branch=master https://pypip.in/v/Flask-Registry/badge.png https://pypip.in/d/Flask-Registry/badge.png

About

Flask-Registry is a Flask extension that allows frameworks to dynamically assemble Flask application from reusable packages consisting of blueprints, extensions, and configurations.

Installation

Flask-Registry is on PyPI so all you need is:

pip install Flask-Registry

Documentation

Documentation is readable at http://flask-registry.readthedocs.org or can be built using Sphinx:

git submodule init
git submodule update
pip install Sphinx
python setup.py build_sphinx

Testing

Running the test suite is as simple as:

python setup.py test

or, to also show code coverage:

./run-tests.sh

flask-registry's People

Contributors

greut avatar jirikuncar avatar lnielsen avatar thiefmaster avatar tiborsimko avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

flask-registry's Issues

Python 3.4 is not supported

What I did

  • Running the testsuite using python 3.4 (3.4.0, 3.4.1)

What happened

======================================================================
ERROR: test_blueprint_loaded (tests.test_ext.TestExampleApp)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/travis/build/greut/flask-registry/tests/test_ext.py", line 162, in setUp
    self.app = create_app(self.config)
  File "/home/travis/build/greut/flask-registry/tests/example_app.py", line 13, in create_app
    app = Flask('myapp')
  File "/home/travis/virtualenv/python3.4.0/lib/python3.4/site-packages/flask/app.py", line 319, in __init__
    template_folder=template_folder)
  File "/home/travis/virtualenv/python3.4.0/lib/python3.4/site-packages/flask/helpers.py", line 741, in __init__
    self.root_path = get_root_path(self.import_name)
  File "/home/travis/virtualenv/python3.4.0/lib/python3.4/site-packages/flask/helpers.py", line 631, in get_root_path
    loader = pkgutil.get_loader(import_name)
  File "/opt/python/3.4.0/lib/python3.4/pkgutil.py", line 467, in get_loader
    return find_loader(fullname)
  File "/opt/python/3.4.0/lib/python3.4/pkgutil.py", line 488, in find_loader
    return spec.loader
AttributeError: 'NoneType' object has no attribute 'loader'

What I expected

  • No failures

See:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.