
Overview
SyneHQ’s Jupyter SQL Extension brings secure, unified, and credential-free database access to your Jupyter environment. All connections and permissions are managed by SyneHQ’s platform, making analytics and data science simpler, safer, and faster.- Zero-Credential Data Access: No manual credential handling or connection strings.
- Unified Platform Integration: All available SyneHQ data sources accessible via magic commands.
- Enterprise-Grade Security: RBAC, SSO, audit logging, and query validation.
- Rich Output Support: Pandas DataFrames, HTML tables, JSON, and custom charting.
Feature Highlights
🔐 Secure Connection Management
- All connections managed by SyneHQ’s API and internal services.
- Credential-free, enterprise authentication (SSO/OAuth supported).
- Automatic connection pooling, retries, and failover.
🛡️ Security and Validation
- Advanced SQL injection prevention, dangerous operation detection.
- Queries fully audited and validated.
- Fine-grained access controls match SyneHQ platform RBAC.
📊 Rich Output Formatting
- Results as Pandas DataFrames (default).
- HTML tables with sorting/filtering; ideal for reports.
- JSON output for API and automation workflows.
- Easy chart and visualization integration.
🔄 Advanced Query Features
- Python variable substitution with intuitive, safe syntax.
- Evaluate expressions, lists, and functions within SQL.
- Named result assignment and direct variable usage.
- Support for async execution and smart query caching.
📈 Performance and Monitoring
- Query execution metrics and optimization guidance.
- Connection health checks, retries, and robust error recovery.
Quick Start
-
Install the extension
-
Load the extension in Jupyter
-
Connect and query
Using Python Variables
Parameterize your queries safely and expressively:- Strings, numbers, lists/tuples, booleans, None (as SQL NULL), datetime objects, safe Python expressions.
import
, eval
, os
, etc.) are blocked.
Output Formats
Connection Management
List all available SyneHQ connections:Error Handling & Troubleshooting
- Human-readable exception messages: connection errors, invalid SQL, permission issues.
- All errors are logged with audit trails in SyneHQ.
-
Enable debug mode for verbose logs:
- Extension not loading:
%load_ext syne_sql_extension
(confirm installation) - Permissions error: Confirm access in SyneHQ admin UI.
- Network issues: Ensure connectivity to SyneHQ APIs.
Security
- All queries validated/sanitized before submission.
- No secrets or credentials ever present in Python code or notebooks.
- Queries, errors, and outputs are fully audited via SyneHQ.
Advanced Usage
Async and cached queries:Support and Contributions
- Documentation: docs.synehq.com
- Source Code: GitHub
- Issues & Feature Requests: GitHub Issues
- Email Support: support@synehq.com
Made with ❤️ by the SyneHQ team
Secure, seamless analytics for every data scientist.