Skip to main content

Official Python SDK for the DragXcel API Platform

Project description

DragXcel Python SDK

Official Python client for the DragXcel API Platform — automate personalized certificate and email generation at scale.

Installation

pip install dragxcel

Quick Start (Connect your Data)

from dragxcel import DragXcel

dxl = DragXcel()

# Connect your external API to DragXcel
dxl.connect(
    user_key='dxl_user_xxx',
    protection_key='dxl_prot_xxx',
    endpoint='https://your-api.com/members'
)

Usage

Automate Bulk Sending

dxl = DragXcel(server_key='dxl_srv_xxx')

dxl.send(
    subject='Your Certificate',
    filter_rules=[
        {'column': 'Attendance%', 'operator': 'gte', 'value': 75}
    ],
    smtp=[
        {'email': 'sender@gmail.com', 'password': 'xxx', 'host': 'smtp.gmail.com', 'port': 465}
    ]
)

Local Filtering Utility

data = [
    {'name': 'Arun', 'score': 85},
    {'name': 'Sita', 'score': 60}
]

rules = [{'column': 'score', 'operator': 'gte', 'value': 75}]

filtered = DragXcel.filter_data(data, rules)
# [{'name': 'Arun', 'score': 85}]

License

MIT

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

dragxcel-1.0.0.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

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

dragxcel-1.0.0-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for dragxcel-1.0.0.tar.gz
Algorithm Hash digest
SHA256 e7266fe1476d86e51fa07c141b22765cf75459d124933fd0d9b221f8b5bf6ae0
MD5 e641742db4d74c2e58fd85995acb241b
BLAKE2b-256 4125799ffc54106b4671a80468a06af44014e19076d5414ceaf9c443ae259a92

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for dragxcel-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 647bc577fc9b8468cbd005c9b960ef065aa05154976835cf1c4c4501eeb229a0
MD5 3314a590efd9c176aed79921aed9b57d
BLAKE2b-256 151a858342cdc912c1e6a84f900fe541f22ebb2ba3995c7443f640cac4199104

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