DBeaver integration plugin for Hestia data platform
Project description
Hestia DBeaver Connector
A plugin for the Hestia data platform that provides seamless integration with DBeaver database management tool.
Features
- Automatic DBeaver Detection: Finds DBeaver installation across Windows, macOS, and Linux
- Database Connection Management: Configure and manage multiple database connections
- Hestia Integration: Export and import data between Hestia and DBeaver
- Cross-Platform Support: Works on Windows, macOS, and Linux
- Secure Configuration: Stores credentials and settings securely
Installation
Prerequisites
- Python 3.7 or higher
- PyQt5
- DBeaver installed on your system
Install the Plugin
pip install hestia-dbeaver-connector
Development Installation
git clone https://github.com/hestia/dbeaver-connector.git
cd dbeaver-connector
pip install -e .
Usage
Integration with Hestia
The plugin integrates automatically with Hestia's setup wizard. When you run Hestia:
- Setup Wizard: Choose "DBeaver" from the available integrations
- Configuration: The plugin will detect your DBeaver installation
- Database Setup: Configure your database connections
- Testing: Verify the connection works properly
Manual Configuration
You can also configure the plugin manually:
from hestia_dbeaver_connector import register_with_hestia
# Launch the configuration dialog
result = register_with_hestia()
if result:
print("Configuration saved successfully!")
Configuration Options
The plugin provides several configuration options:
Basic Configuration
- DBeaver Path: Automatic detection or manual selection
- Connection Testing: Verify DBeaver installation and connectivity
Database Connections
- Multiple Databases: Configure connections to PostgreSQL, MySQL, SQLite, etc.
- Connection Management: Add, edit, and remove database connections
- Connection Testing: Test each connection before saving
Advanced Settings
- Auto-Detection: Automatically detect DBeaver on startup
- Auto-Connect: Automatically connect to known databases
- Export/Import: Enable data exchange with Hestia
Supported Databases
The plugin supports all databases that DBeaver supports:
- PostgreSQL
- MySQL/MariaDB
- SQLite
- Oracle
- SQL Server
- MongoDB
- And many more...
Configuration Storage
The plugin stores configuration in:
- Windows:
%APPDATA%\hestia\plugins\dbeaver\dbeaver_config.json - macOS/Linux:
~/.config/hestia/plugins/dbeaver/dbeaver_config.json
Development
Project Structure
hestia_dbeaver_package/
├── hestia_dbeaver_connector/
│ ├── __init__.py
│ └── dbeaver_plugin.py
├── setup.py
├── README.md
└── tests/
Running Tests
pip install -e .[dev]
pytest tests/
Building for Distribution
python setup.py sdist bdist_wheel
Troubleshooting
DBeaver Not Found
If the plugin cannot find DBeaver:
- Verify Installation: Make sure DBeaver is installed
- Manual Path: Use the "Browse" button to locate the executable
- Common Locations:
- Windows:
C:\Program Files\DBeaver\dbeaver.exe - macOS:
/Applications/DBeaver.app/Contents/MacOS/dbeaver - Linux:
/usr/bin/dbeaver
- Windows:
Connection Issues
If database connections fail:
- Check Credentials: Verify username, password, and database name
- Network Access: Ensure the database server is accessible
- Firewall: Check if firewall is blocking the connection
- DBeaver Test: Try connecting directly in DBeaver first
Plugin Not Loading
If Hestia doesn't detect the plugin:
- Verify Installation:
pip list | grep hestia-dbeaver-connector - Check Python Path: Ensure the package is in your Python environment
- Restart Hestia: Restart the Hestia application
- Manual Import: Try importing the package manually
Contributing
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests for new functionality
- Submit a pull request
License
This project is licensed under the MIT License - see the LICENSE file for details.
Support
For support and questions:
- Issues: Create an issue on GitHub
- Documentation: Check the Hestia documentation
- Community: Join the Hestia community forum
Changelog
Version 0.1.0
- Initial release
- Basic DBeaver integration
- Configuration dialog
- Cross-platform support
- Automatic DBeaver detection
Project details
Release history Release notifications | RSS feed
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 hestia_dbeaver_connector-0.1.0.tar.gz.
File metadata
- Download URL: hestia_dbeaver_connector-0.1.0.tar.gz
- Upload date:
- Size: 9.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4e93bad80660420f3cd7c09f4eac82bc8bae4c0ee2bc14aaa9d9abcf2179acf1
|
|
| MD5 |
1abb73482fb3e888d974b6c1eeec827c
|
|
| BLAKE2b-256 |
52a287ed539e898b17e2deef6d53eceb19ecf92280c75f4e946a8415c4bdc273
|
File details
Details for the file hestia_dbeaver_connector-0.1.0-py3-none-any.whl.
File metadata
- Download URL: hestia_dbeaver_connector-0.1.0-py3-none-any.whl
- Upload date:
- Size: 9.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
84a6f0b25ad0e3b1bbe59adc6137290bcc8b0aefc210b3fb09fc2f247a6c0c59
|
|
| MD5 |
eb08058060266faaac3e8b7b2f8e64d9
|
|
| BLAKE2b-256 |
7c9213ff50f5a30c7c47250e28d8c93bfcd4b936d75c1846bec91f821fc0e4c8
|