### **Magento Apache Airflow Provider**
This repository contains a custom Apache Airflow provider for integrating with Magento 2. The provider enables the automation of various Magento-related tasks using Airflow, such as order synchronization and data exports.
#### **Features:**
- **Magento Integration**: Seamlessly connect to Magento 2 using OAuth1 authentication for secure API requests.
- **Custom Airflow Hooks**: Simplifies interaction with Magento's REST API and GraphQL.
- **Custom Airflow Operators**: Provides an operator to fetch and manipulate orders and other data from Magento.
#### **Contents:**
- **`airflow_magento_provider/hooks/magento.py`**: Contains the `MagentoHook` class, which handles OAuth authentication and API requests to Magento.
- **`airflow_magento_provider/operators/rest.py`**: Contains the `MagentoRestOperator` class.
- **`airflow_magento_provider/operators/graphql.py`**: Contains the `MagentoGraphQLOperator` class.
- **`example_dags/`**: Example DAGs for understanding Magento Operators and Hooks.
#### **Getting Started:**
1. **Install the provider**:
Clone the repository and install the package using pip:
```bash
git clone https://github.com/sivajik34/magento-airflow.git
cd apache_airflow_provider_magento
pip install .
```
Also, you can install it from https://pypi.org/project/apache-airflow-provider-magento/
pip install apache-airflow-provider-magento
3. **Set up Airflow connections**:
- Create an Airflow connection with your Magento credentials( System -> Integration -> Add new Integration).
4. **Create a DAG**:
- Set up your data synchronization pipeline by referring to the example DAGs in the `example_dags` directory.
#### **Requirements:**
- Apache Airflow 2.x
- Magento 2.4.x
- Python 3.8+
#### **Contributing:**
Contributions are welcome! Please feel free to submit a pull request or open an issue.
#### **License:**
This project is licensed under the MIT License.
---
Raw data
{
"_id": null,
"home_page": null,
"name": "apache-airflow-provider-magento",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "airflow, magento, provider",
"author": null,
"author_email": "Sivakumar Koduru <sivajik34@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/4c/4e/03a330355b30ea894b6fb8908abd258abc099063e9b27a635a7bbc13f61f/apache_airflow_provider_magento-0.6.tar.gz",
"platform": null,
"description": "### **Magento Apache Airflow Provider**\n\nThis repository contains a custom Apache Airflow provider for integrating with Magento 2. The provider enables the automation of various Magento-related tasks using Airflow, such as order synchronization and data exports.\n\n#### **Features:**\n- **Magento Integration**: Seamlessly connect to Magento 2 using OAuth1 authentication for secure API requests. \n- **Custom Airflow Hooks**: Simplifies interaction with Magento's REST API and GraphQL.\n- **Custom Airflow Operators**: Provides an operator to fetch and manipulate orders and other data from Magento.\n\n#### **Contents:**\n- **`airflow_magento_provider/hooks/magento.py`**: Contains the `MagentoHook` class, which handles OAuth authentication and API requests to Magento.\n- **`airflow_magento_provider/operators/rest.py`**: Contains the `MagentoRestOperator` class.\n- **`airflow_magento_provider/operators/graphql.py`**: Contains the `MagentoGraphQLOperator` class.\n- **`example_dags/`**: Example DAGs for understanding Magento Operators and Hooks.\n\n#### **Getting Started:**\n1. **Install the provider**:\n Clone the repository and install the package using pip:\n ```bash\n git clone https://github.com/sivajik34/magento-airflow.git\n cd apache_airflow_provider_magento\n pip install .\n ```\n\n Also, you can install it from https://pypi.org/project/apache-airflow-provider-magento/\n pip install apache-airflow-provider-magento\n\n3. **Set up Airflow connections**:\n - Create an Airflow connection with your Magento credentials( System -> Integration -> Add new Integration).\n\n4. **Create a DAG**:\n - Set up your data synchronization pipeline by referring to the example DAGs in the `example_dags` directory.\n\n#### **Requirements:**\n- Apache Airflow 2.x\n- Magento 2.4.x\n- Python 3.8+\n\n#### **Contributing:**\nContributions are welcome! Please feel free to submit a pull request or open an issue.\n\n#### **License:**\nThis project is licensed under the MIT License.\n\n---\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Custom provider for Magento 2 - Apache Airflow",
"version": "0.6",
"project_urls": {
"Homepage": "https://github.com/sivajik34/magento-airflow"
},
"split_keywords": [
"airflow",
" magento",
" provider"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "f6ba542a86f995bdd9fca111c054ac511ea8fecbba565bdb30fb4557f14097f3",
"md5": "7b89bc0476a21cbc637df0c8459b6514",
"sha256": "063bb5176f3ec6250700373e8898a249dc78c6f269e7ee824a57f36845a92938"
},
"downloads": -1,
"filename": "apache_airflow_provider_magento-0.6-py3-none-any.whl",
"has_sig": false,
"md5_digest": "7b89bc0476a21cbc637df0c8459b6514",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 22763,
"upload_time": "2024-08-25T10:38:01",
"upload_time_iso_8601": "2024-08-25T10:38:01.140263Z",
"url": "https://files.pythonhosted.org/packages/f6/ba/542a86f995bdd9fca111c054ac511ea8fecbba565bdb30fb4557f14097f3/apache_airflow_provider_magento-0.6-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "4c4e03a330355b30ea894b6fb8908abd258abc099063e9b27a635a7bbc13f61f",
"md5": "e6293d48cd71c3f2cb9054b5f83a63a4",
"sha256": "19d43deaf54069f73c714cffa3cf7eb0896e33f8084200359e2a0bd7990f1710"
},
"downloads": -1,
"filename": "apache_airflow_provider_magento-0.6.tar.gz",
"has_sig": false,
"md5_digest": "e6293d48cd71c3f2cb9054b5f83a63a4",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 16068,
"upload_time": "2024-08-25T10:38:04",
"upload_time_iso_8601": "2024-08-25T10:38:04.476599Z",
"url": "https://files.pythonhosted.org/packages/4c/4e/03a330355b30ea894b6fb8908abd258abc099063e9b27a635a7bbc13f61f/apache_airflow_provider_magento-0.6.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-08-25 10:38:04",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "sivajik34",
"github_project": "magento-airflow",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "apache-airflow-provider-magento"
}