Giter VIP home page Giter VIP logo

pyqbwc's Introduction

This is a python application used to access QuickBooks Desktop.

It is alpha software, beware.

To access Quickbooks this module uses the Quickbooks Web Connector . The design of the QuickBooks Web Connector (QWC) determines the underlying structure of this module.

The core of this is a soap server, called pyqwc. pyqwc takes requests from the user/client in XML, passes those off to QuickBooks via the QWC. It then takes the XML response from QWC and passes them back to the user/client. This is a very asyncronous process because pyqwc does not directly contact the QWC, it instead has to wait for the QWC to contact it. To handle this asynchronous process, all messages are passed back and forth via Redis. The request XML is placed in a specific Redis list and the response is passed back in another Redis list.

That describes the base layer, a soap server that basically passes messages back and forth between Redis and the QWC. Above that base layer you can build any type of client to generate the XML requests, put them in Redis and retrieve the responses back from Redis. There are examples of clients in the clients subdirectory.

The soap server is written in python using the Spyne module and can be deployed using WSGI.

In order for QuickBooks to use the QWC, you must install a qwc file. An example is included.

Guidance provided by

The QBWC programmer's guide.

ricardosasilva's django-to-quickbooks-connector

The spyne Hello World example.

Reference source for QBooks SDK.

Nice explanation on how to install the qwc file.

A file config.ini is needed but not included in the distribution. Here is an example.

[qwc]
# the Quickbooks file you are accessing
qbwfilename = "c:\data\QBDATA\qbfilename.QBW"

#username and password used by quickbooks web connector to access your service
# username should be the same as in pyQBWC.qwc
username = "qbwcuser"
# password given here is entered when you install the pyqwc.qwc file
#double click the qwc file in Windows and Quickbooks will prompt you for the password
password = "gbwcpassword"
[sqlite]
dbfile = 'ourQB.db'
[redis]
host = '127.0.0.1'
port = 6379
password = ""
db = 0

pyqbwc's People

Contributors

billbarry avatar

Stargazers

 avatar

Watchers

 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.