Skip to main content

Magento 2 REST API SDK — products, customers, attributes, search and stores

Project description

magento2-sdk2

Magento 2 REST API SDK — products, customers, attributes, search and stores over the Magento 2 REST API.

Installation

pip install entirius-py-magento2-sdk2

Usage

from magento2_sdk2.services.client import Magento2Client
from magento2_sdk2.services.worker import search
from magento2_sdk2.dto.search import SearchParameters

client = Magento2Client(base_url="https://your-magento/rest/", access_token="...")
results = search(client, SearchParameters(search_text="shoes"))

Development

make install     # sync dependencies (uv)
make check       # lint + format check (ruff)
make test        # test suite (pytest) — integration tests skipped without MAGENTO2_URL / MAGENTO2_TOKEN

Development and agent instructions: AGENTS.md.

License

Mozilla Public License 2.0 — see LICENSE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

entirius_py_magento2_sdk2-2.0.0.tar.gz (43.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

entirius_py_magento2_sdk2-2.0.0-py3-none-any.whl (26.9 kB view details)

Uploaded Python 3

File details

Details for the file entirius_py_magento2_sdk2-2.0.0.tar.gz.

File metadata

  • Download URL: entirius_py_magento2_sdk2-2.0.0.tar.gz
  • Upload date:
  • Size: 43.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for entirius_py_magento2_sdk2-2.0.0.tar.gz
Algorithm Hash digest
SHA256 96b0e59ff8b19dcbf5bbd40bd2aec0cdd21c4bc0112019581961c89a2865b4f9
MD5 d340d324fa7ae94f0d67293aa0e0b946
BLAKE2b-256 084e4d6311c0a90fbfa44b0a2d231100223812f9bac6a92d61bce79d3a5dacd2

See more details on using hashes here.

File details

Details for the file entirius_py_magento2_sdk2-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: entirius_py_magento2_sdk2-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 26.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for entirius_py_magento2_sdk2-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 24b2f19704d7c353cb5cbc04b5959d54b528bd20088de694e8bdc2bb773aba96
MD5 a3c848c0adda676db9a96808a392f145
BLAKE2b-256 8db661583e1e8859bbfbaa67e8e44f42731c529766c3b38d8ff64ed2c0f549ca

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page