Git Product home page Git Product logo

anyblok_product's Introduction

Python versions

Version status Build status Coverage Documentation Status gitter

Dialects compatibility

AnyBlok

AnyBlok is a Python framework allowing to create highly dynamic and modular applications on top of SQLAlchemy.

AnyBlok is released under the terms of the Mozilla Public License.

AnyBlok is hosted on github - the main project page is at https://github.com/anyblok/anyblok or http://code.anyblok.org. source code is tracked here using git.

Releases and project status are available on Pypi at https://pypi.python.org/pypi/anyblok.

The most recent published version of the documentation should be at https://doc.anyblok.org.

There is a tutorial to teach you how to develop applications with AnyBlok at https://anyblok.gitbooks.io/anyblok-book/content/en/

Project Status

AnyBlok is expected to be stable. Some early partners are using it on production and are involved in the project development. We are aiming to make a stable release as soon as possible.

Users should take care to report bugs and missing features on an as-needed basis.

It should be expected that the development version may be required for proper implementation of recently repaired issues in between releases; the latest master is always available at https://github.com/AnyBlok/AnyBlok/archive/master.zip.

Installation

Install released versions of AnyBlok from the Python package index with pip or a similar tool:

pip install anyblok

Installation via source distribution is via the setup.py script:

python setup.py install

Installation will add the anyblok commands to the environment.

Running Tests

To run framework tests with pytest:

pip install pytest
ANYBLOK_DATABASE_DRIVER=postgresql ANYBLOK_DATABASE_NAME=test_anyblok py.test anyblok/tests

To run tests of all installed bloks with demo data:

anyblok_createdb --db-name test_anyblok --db-driver-name postgresql --install-all-bloks --with-demo
ANYBLOK_DATABASE_DRIVER=postgresql ANYBLOK_DATABASE_NAME=test_anyblok py.test anyblok/bloks

AnyBlok is tested continuously using Travis CI

Contributing (hackers needed!)

AnyBlok is ready for production usage even though it can be improved and enriched. Feel free to fork, talk with core dev, and spread the word !

Author

Jean-Sébastien Suzanne

Contributors

  • Jean-Sébastien Suzanne
  • Georges Racinet
  • Pierre Verkest
  • Franck Bret
  • Denis Viviès
  • Alexis Tourneux
  • Hugo Quezada
  • Simon André
  • Florent Jouatte
  • Christophe Combelles
  • Sébastien Chazallet
  • François GUÉRIN

Bugs

Bugs and features enhancements to AnyBlok should be reported on the Issue tracker.

anyblok_product's People

Contributors

franckbret avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

anyblok_product's Issues

ImportError : No module named anyblok.conftest

I cloned the project on a new drive, I got the following error when I try to run test.
I believe I missed something during the setup, can you remind me which command I have to run?

I took a look at other anyblok project makefile, (pip install -r requirement.test.txt, etc...) but I still can't figure out what's missing.

ImportError while loading conftest '/home/marc/workspace/anyblok_product/anyblok_product/tests/conftest.py'.
/usr/lib/python2.7/dist-packages/six.py:709: in exec_
    exec("""exec _code_ in _globs_, _locs_""")
anyblok_product/tests/conftest.py:1: in <module>
    from anyblok.conftest import * # noqa
E   ImportError: No module named anyblok.conftest`

Amend only work for properties fields

Just noticed when I was making amend test case for product template, I tested amend only with the properties fields, it will update the other fields just like a basic update.

For example, shoe_family.amend(properties={'brands': ['Crocs', 'Nike']}) will return a Validation Exception due to "code" field missing, since "code" is a "required=True" field.

Since we didn't talk much about it, I just wanted to confirm that we also want to amend those fields (name, code, description, family?)

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.