Metadata-Version: 2.1
Name: pyintacct
Version: 0.0.5
Summary: Python SDK for Intacct
Home-page: https://github.com/red-coracle/pyintacct
Author: red-coracle
Author-email: 
License: MIT
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Requires-Python: >=3.6.0
Description-Content-Type: text/markdown
Requires-Dist: requests (<3.0,>=2.22)
Requires-Dist: jxmlease (>=1.0.1)
Requires-Dist: pydantic (==0.29.0)

## pyintacct ##

A simple Python SDK for Sage Intacct.


**Requirements**
  - Python >= 3.6
  - pydantic
  - requests
  - jxmlease


**Links**
  - [Issues](https://github.com/red-coracle/pyintacct/issues)
  - [Pull requests](https://github.com/red-coracle/pyintacct/pulls)
  - [Releases](https://github.com/red-coracle/pyintacct/releases)
  - [PyPI](https://pypi.org/project/pyintacct)
  - [License]()

**Installation**

  `pip install pyintacct`

**Example usage**
```python
from pyintacct import IntacctAPI

config = {'SENDER_ID': 'senderid',
          'SENDER_PW': 'senderpassword',
          'COMPANY_ID': 'mycompany',
          'USER_ID': 'username',
          'USER_PW': 'password'}
client = IntacctAPI(config)

customer = {'customer': {'CUSTOMERID': 'C-0001', 'NAME': 'Acme, Inc.'}}
client.create(customer)

r = client.read_by_query('CUSTOMER', 'CUSTOMERID = \'C-0001\'', fields='NAME', pagesize=1)
```

You can also use pydantic models. See `pyintacct.models` for examples.


