Giter Club home page Giter Club logo

dali's Introduction

Dalí

Selenium-based tool for capturing and comparing screenshots.

Requirements

$ apt-get install python-opencv python-numpy
$ pip install thrift==0.9.0 selenium==2.34.0

Update python interface_implementation

Requires Apache Thrift

$ thrift -out common/core/interface_implementation --gen py:new_style common/config/dali.thrift

Build and use of python bindings

https://github.com/2gis/dali/tree/master/py_bindings

Directories explanation

  • common - common files with realization of thrift server, running core functions
    • config - thrift config for bindings generation
    • core - core functionality
  • py_bindings - python bindings for dali
  • tests - all the tests
    • core - core tests
    • py_bindings - python bindings tests

Create bindings

Requires Apache Thrift

To update python (core) binding just run:

$ thrift -out common/core/interface_implementation/ --gen py common/config/dali.thrift

To create custom bindings you should execute the following command:

$ thrift -out {lang_code}_bindings/ --gen {lang_code} common/config/dali.thrift

where {lang_code} from table:

lang_code lang
csharp C#
go Go
java Java
js Javascript
perl Perl
php PHP
rb Ruby

For getting more information about supported languages just run:

$ thrift -help

dali's People

Contributors

bayandin avatar nwlunatic avatar

Stargazers

 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

dali's Issues

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.