Giter VIP home page Giter VIP logo

python-dds's Introduction

python-dds

A ctypes implementation of dds-bridge in Python 3

dds-bridge is a bridge double-dummy solver implemented in C with a little C++. This port to Python 3 uses ctypes to interact with the shared object or DLL obtained from dds-bridge. It implements all relevant functions.

Installation

python-dds requires the .so (linux) or .dll (windows) shared object binary. In the file dds.py you need to change the path to that file on your system. NOTE I will try to package python-dds and distribute the package together with the python files.

Usage

The dds-bridge functions are described in dds.md. In the folder examples I created many files implementing these functions in Python in a low level way. Use these examples if you want a custom program that can perform a certain calculation. Currently I am implementing more and more functions.

Future

My aim is a higher level (set of) class(es) that can be used as a basis for more advanced programs in Python. These classes wil get an API that will be modelled after dds-bridge with easy initializers, methods that perform calculations and getters and setters.

License

The dds-bridge source is licensed under the Apache license. For this implementation in Python I am looking at GPL v3. This license is compatible with Apache. You can always contact me if your project needs another license.

Further reading

Check out the README in the folder examples. I already mentioned dds.md.

python-dds's People

Contributors

afwas avatar

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.