Skip to main content

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:

    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

  2. Set up Airflow connections:

    • Create an Airflow connection with your Magento credentials( System -> Integration -> Add new Integration).
  3. 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.


Metadata

Release files for apache-airflow-provider-magento 0.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for apache-airflow-provider-magento 0.7
File Size Uploaded Provenance
apache_airflow_provider_magento-0.7.tar.gz 17.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for apache-airflow-provider-magento 0.7
File Interpreter ABI Platform
apache_airflow_provider_magento-0.7-py3-none-any.whl Python 3 none any Details

Total release size: 42.6 kB

Release files / apache_airflow_provider_magento-0.7.tar.gz

Download URL apache_airflow_provider_magento-0.7.tar.gz
Size 17.8 kB
Tags Source
SHA-256 checksum
How to use checksums
e3b53012bebfbe4ad9603e27fc8bf43092d6e92597bdfc3633fd961c0038627c
BLAKE2b-256 checksum
How to use checksums
4320f9795a17c80c679818a46c94ee2374023e2736720da1c578a465a8def499
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.12

Release files / apache_airflow_provider_magento-0.7-py3-none-any.whl

Download URL apache_airflow_provider_magento-0.7-py3-none-any.whl
Size 24.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dabf2c192d0ee09e876058161ad4f199b5a9f6808b0f3d3c33666345522d3d81
BLAKE2b-256 checksum
How to use checksums
9e7d11f5bf6993de8414c5e7236014938562fed5a0b5c0efbb14cf842e4f01ee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.12

Security for apache-airflow-provider-magento 0.7

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page