
Security News
Crates.io Implements Trusted Publishing Support
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
BeETL is a Python package for extracting data from one datasource, transforming it and loading it into another datasource.
After building our 16th integration between the same two systems with another manual template, we decided to build BeETL. BeETL is currently limited to one datasource per source and destination per sync, but this will be expanded in the future. One configuration can contain multiple syncs.
Note: Even though some of the configuration below is in YAML format, you can also use JSON or a python dictionary.
# Syncing users from one table to another in the same database
from src.beetl.beetl import Beetl, BeetlConfig
config = BeetlConfig({
"version": "V1"
"sources": [
{
"name": "Sqlserver",
"type": "Sqlserver",
"connection": {
"settings": {
"connection_string": "Server=myServerAddress;Database=myDataBase;User Id=myUsername;Password=myPassword;"
}
}
},
"sync": [
{
"name": "Sync between two tables in a sql server",
"source": "Sqlserver",
"sourceConfig": {
"query": "SELECT id, name, email FROM users"
}
"destination": "SqlServer",
"destinationConfig": {
"table": "users",
"unique_columns": ["id"]
}
"comparisonColumns": [
{
"name": "id",
"type": "Int32",
"unique": True
},
{
"name": "name",
"type": "Utf8"
},
{
"name": "email",
"type": "Utf8"
}
]
}
]
})
Beetl(config).sync()
#/bin/bash
python -m pip install beetl
# If you need to use xsl transformations
python -m pip install beetl[xsl]
#/bin/bash
# Clone and enter the repository
git clone https://github.com/Hoglandets-IT/beetl.git
cd ./beetl
# Install the build tools
python -m pip install build
# Build beetl
python -m build
# Install beetl from locally built package
python -m pip install ./dist/*.tar.gz
All the latest information about how to use beetl is located at the official docs.
The easiest way to get started is to use the included devcontainer.
ctrl+shift+p
) search for reopen in container
and run it.
FAQs
BeETL is a Python package for extracting data from one datasource, transforming it and loading it into another datasource.
We found that beetl demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Research
/Security News
Undocumented protestware found in 28 npm packages disrupts UI for Russian-language users visiting Russian and Belarusian domains.
Research
/Security News
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.