A python SDK for Syspro
Project description
Syspro SDK
This is a Python SDK for interacting with the Syspro API or Syspro Business Object. It provides a simple and intuitive way to interact with the Syspro API, making it easier to integrate Syspro into your Python applications, or other integrated services.
Features
- Easy to use
- Supports both the Syspro API and Syspro Business Object
- Supports both XML and JSON formats
- Supports both GET and POST requests
- Supports both single and batch requests
- Supports both single and batch responses
- Supports both single and batch errors
Pre-requisites
- Python 3.8 or later
- Syspro instance running with proper Business Object licences
- Virtual environment (recommended)
Installation
Once your virtual environment is activated, you can install the SDK using pip:
pip install syspro-sdk
Usage
First, you need to import the SDK client and start an instance of it:
from syspro.client import SysproClient
client = SysproClient(
base_url="https://your-syspro-instance.com",
operator="your-operator",
password="your-password",
company="your-company"
)
Once you have an instance of the client, you can start making requests to the Syspro API or Syspro Business Object. Like this :
req = client.requisitions.get(id=123456, line=1)
req.approve()
All request from SysproClient needs business object working properly. Please refer to Syspro documentation for more information on how to activate e.net business object.
Documentation
The documentation for the SDK is available at https://syspro-sdk.readthedocs.io.
License
This project is licensed under a commercial license. See the LICENSE file for details.
Contact
If you have any questions or suggestions, please contact us at support@heyvince.co.
Acknowledgments
This SDK was inspired by the Syspro API and the Syspro Business Object. This SDK is not affiliated with Syspro or any of its subsidiaries.
Changelog
All notable changes to this project will be documented in the CHANGELOG file.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file syspro_sdk-0.1.1.tar.gz.
File metadata
- Download URL: syspro_sdk-0.1.1.tar.gz
- Upload date:
- Size: 13.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
32a0aed41133d5b17e789e19279242e1f79540680560f6194edfcef2b69653a8
|
|
| MD5 |
6b556fbde7bda2717262f208d7e5c046
|
|
| BLAKE2b-256 |
426b60975eec6c8ac88b6f5bb6050c2ba16e512ac6a11eab595aa0570fd4a34d
|
File details
Details for the file syspro_sdk-0.1.1-py3-none-any.whl.
File metadata
- Download URL: syspro_sdk-0.1.1-py3-none-any.whl
- Upload date:
- Size: 15.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7c3a6c66023ec51bdd478f563f82b273b3cd1868ffbd4c64d9b2b3f18f425e59
|
|
| MD5 |
1c4f678ef8be074b74faff385aa1fa1a
|
|
| BLAKE2b-256 |
ba392751c9163ab4a4986058b038f1007ed550651df755cc1a64944dde2a4fb3
|