Skip to main content

Python SDK for AI Commerce OS — WhatsApp, invoicing, inventory, loyalty, support

Project description

idliappam

Python SDK for AI Commerce OS. One SDK for WhatsApp, invoicing, inventory, loyalty, and support — built for Indian commerce.

License: MIT Python 3.7+


Install

pip install idliappam

Quick Start

from idliappam import Chutney

client = Chutney(api_key='chutney_sk_xxx', brand_id='brand_xxx')

# Send WhatsApp message
client.whatsapp.send(to='+919876543210', message='Your order has been shipped!')

# Create GST invoice
invoice = client.invoices.create(
    customer_name='Priya Sharma',
    customer_email='priya@example.com',
    items=[
        {'description': 'Scented Candle', 'quantity': 2, 'price': 499},
        {'description': 'Gift Box', 'quantity': 1, 'price': 199},
    ]
)

# Check low stock
products = client.inventory.list(low_stock_only=True)

# Enroll in loyalty program
client.loyalty.enroll(
    customer_name='Priya Sharma',
    customer_phone='+919876543210'
)

# Award loyalty points
client.loyalty.award_points(phone='+919876543210', points=100, reason='Purchase')

# Create support ticket
client.support.create_ticket(
    subject='Wrong item received',
    description='Ordered red candle but received blue',
    customer_email='priya@example.com'
)

# Ask AI Copilot
answer = client.ai.ask('What are my top selling products this month?')

Available APIs

Module Methods Description
client.whatsapp send(), get_conversations(), get_templates() WhatsApp messaging
client.invoices create(), list(), mark_paid(), send() GST invoicing
client.inventory list(), create(), update_stock(), dashboard() Stock management
client.loyalty enroll(), award_points(), lookup(), get_program() Loyalty program
client.support create_ticket(), list_tickets(), get_ai_suggestion() AI support
client.leads create(), list() Lead management
client.orders create(), list() Order management
client.ai ask() AI Copilot

JavaScript SDK

Also available for JavaScript/TypeScript:

npm install @idliapam/chutney-js

See: github.com/Ankitajainkuniya/chutney-js

License

MIT


Built by Idliapam — the unified AI platform for Indian commerce.

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

idliappam-1.0.0.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

idliappam-1.0.0-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file idliappam-1.0.0.tar.gz.

File metadata

  • Download URL: idliappam-1.0.0.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.13

File hashes

Hashes for idliappam-1.0.0.tar.gz
Algorithm Hash digest
SHA256 84b2a31b84aef0190c82c49cbabf606e3db6450aa3edfe4e2f04bd2a08af6643
MD5 66793a1714df7d423d3781c540b25921
BLAKE2b-256 d3dc09abfad931b2f30ba62eeac8de89ceed449acbe8b64d4e3164744d265fe6

See more details on using hashes here.

File details

Details for the file idliappam-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: idliappam-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 5.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.13

File hashes

Hashes for idliappam-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 af5cfbd0186249f8a858598a57a32af6a6f6c9feb4e7f987bcfe116353d0dda0
MD5 a5f12726f0f19483d1ef7cd7cf262822
BLAKE2b-256 b83aaf07ec308af67d1ebe0c1112e4b74b6535d3e9db1925ff3ec8fe4a914bd2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page