This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Consider using release 2.0.0 instead.
Reason given by maintainers: Broken package - published wheel shipped zero Python code
Draggit SDK
Professional PDF watermarking service for Python applications.
Features
✅ Easy Integration - Simple Python API ✅ Flexible Watermarking - Text + Logo positioning ✅ License Tracking - Built-in usage monitoring ✅ Secure - API key authentication ✅ Black Box - No code modification possible
Installation
pip install draggit-sdk
Quick Start
from draggit import DraggitClient
# Initialize client
client = DraggitClient(api_key="your-api-key")
# Sign PDF
result = client.sign_and_save(
input_pdf="document.pdf",
output_pdf="document_signed.pdf"
)
print(f"Signed! Used {result['signatures_used']} signatures")
Usage
Basic Signing
client = DraggitClient(api_key="demo-key")
# Sign and save
result = client.sign_and_save("input.pdf", "output.pdf")
# Returns: {
# 'status': 'success',
# 'message': 'PDF signed successfully with Draggit watermarks',
# 'tier': 'free',
# 'signatures_used': 1,
# 'output_file': 'output.pdf',
# 'file_size': 28136
# }
Check License
# Validate API key
is_valid, info = client.validate_license()
if is_valid:
print(f"Valid! Remaining: {info['signatures_remaining']}")
else:
print("Invalid or expired API key")
# Get detailed info
license_info = client.get_license_info()
print(f"Tier: {license_info['license_type']}")
print(f"Used: {license_info['signatures_used']}/{license_info['signatures_limit']}")
Configuration
from draggit import WatermarkConfig
# Get current config
config = client.get_config()
# Modify config
config.logo_x = 100
config.logo_y = 150
config.logo_opacity = 0.9
# Save config
client.update_config(config)
# Use presets
config = WatermarkConfig.preset_subtle()
config = WatermarkConfig.preset_default()
config = WatermarkConfig.preset_prominent()
API Keys
demo-key- Free tier (100 signatures)pro-key- Pro tier (1,000 signatures)- Contact support for custom keys
Configuration Options
| Option | Type | Default | Range |
|---|---|---|---|
| text_opacity | float | 0.08 | 0-1 |
| text_rotation | float | -25 | -45 to 45 |
| text_scale | float | 0.35 | 0-1 |
| logo_opacity | float | 0.85 | 0-1 |
| logo_width | int | 100 | 50-200 |
| logo_height | int | 70 | 40-150 |
| logo_x | int | 50 | 0+ |
| logo_y | int | 80 | 0+ |
Error Handling
from draggit import DraggitClient
try:
client = DraggitClient(api_key="invalid-key")
except ConnectionError as e:
print(f"Connection error: {e}")
try:
result = client.sign_and_save("nonexistent.pdf", "output.pdf")
except FileNotFoundError as e:
print(f"File error: {e}")
except ValueError as e:
print(f"API error: {e}")
What This SDK Does
✅ Adds watermarks to PDFs ✅ Flexible positioning and opacity control ✅ License-based usage tracking ✅ Simple Python API
What This SDK Does NOT Do
❌ Digital signature with certificates (client's responsibility) ❌ Code modification (black box - no source code access) ❌ Decompilation possible
Support
For support, contact: support@draggit.com
License
Proprietary - See LICENSE file
Metadata
Release files for draggit-sdk 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| draggit_sdk-1.0.0.tar.gz | 4.1 kB | Without provenance | Details for draggit_sdk-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| draggit_sdk-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for draggit_sdk-1.0.0-py3-none-any.whl |
Total release size: 7.9 kB
Release files / draggit_sdk-1.0.0.tar.gz
| Download URL | draggit_sdk-1.0.0.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bae0950cc7156f692c06fdd65795f1986e022ac75bcff0bcc8bbbf0c48a888d7
|
|
BLAKE2b-256 checksum How to use checksums |
a8d1e5dcf4132c1f90c7891ac8bd7923f8872f4cd1e7f8bc5a652d46c1f3c5b3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.10
|
Release files / draggit_sdk-1.0.0-py3-none-any.whl
| Download URL | draggit_sdk-1.0.0-py3-none-any.whl |
|---|---|
| Size | 3.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
215bf646631e42b2ab3f347093e10a3f1a72d5e65dc26ca459f463a48e4b5787
|
|
BLAKE2b-256 checksum How to use checksums |
05c73e33e9431d849e60dba02270211fa534ba49b8f0c55ae9ec2dbaaebb46e6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.10
|
Security for draggit-sdk 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.