WooCommerce
A Python wrapper for the WooCommerce REST API
Decision gist · record as of 2026-08-14
Yes, if you need to automate WooCommerce store operations and can accept dormant maintenance. The package is stable, has no known vulnerabilities, and a single lightweight dependency. However, verify that it works with your current WooCommerce version—the last release was in 2021, so if your store runs a significantly newer WooCommerce API, test compatibility first.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires valid WooCommerce store URL and API credentials (Consumer Key and Consumer Secret) generated from your WooCommerce admin.
- Low install friction with a single runtime dependency (requests).
- Maintenance is dormant—last release was in 2021 and the last commit in 2024, so while not abandoned, the package receives minimal updates.
License · maintenance · safety
MIT License (permissive) — MIT License (permissive) means you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.
last release 2021-03-13 (1980 days) · last repo commit 2024-06-07 · 216 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 162,779 downloads/mo, #10,588 on PyPI
Alternatives
Verify before relying
pip install woocommerce
from woocommerce import API
wcapi = API(
url="http://example.com",
consumer_key="ck_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
consumer_secret="cs_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
version="wc/v3"
)
products = wcapi.get("products", params={"per_page": 20}).json()- Whether the package works reliably with current WooCommerce versions (no releases since 2021).
- Compatibility with Python versions beyond 3.9 (classifiers only list up to 3.9).
What it is and what it does
This package provides a thin Python client for the WooCommerce REST API, abstracting away HTTP mechanics so you can interact with your store's data using simple method calls. It wraps the requests library to handle authentication (OAuth1.0a and Basic Auth), SSL verification, and response parsing, letting you GET, POST, PUT, DELETE, and OPTIONS any WooCommerce endpoint—products, orders, customers, and more—by passing endpoint names and data dictionaries.
You instantiate an API object with your store URL and credentials, then call methods like `.get("products")` or `.post("orders", data)` to interact with your store. All methods return requests Response objects, so you work with familiar HTTP status codes, headers, and JSON parsing. It's designed for straightforward store automation and integration tasks where you need programmatic access to WooCommerce data.
Use it for
- Bulk import or export products, orders, or customer data from a WooCommerce store into your application.
- Automate order fulfillment workflows by fetching new orders and updating their status or metadata.
- Sync inventory levels between WooCommerce and an external system or warehouse management tool.
- Build custom reporting dashboards that pull sales, customer, or product data from multiple stores.
- Programmatically create or update products with dynamic pricing, descriptions, or attributes.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need to automate WooCommerce store operations and can accept dormant maintenance.
The package is stable, has no known vulnerabilities, and a single lightweight dependency. However, verify that it works with your current WooCommerce version—the last release was in 2021, so if your store runs a significantly newer WooCommerce API, test compatibility first.
Install
woocommerce on PyPI
Before you install
Low install friction with a single runtime dependency (requests). Maintenance is dormant—last release was in 2021 and the last commit in 2024, so while not abandoned, the package receives minimal updates. It remains marked Production/Stable and supports Python 3.6 through 3.9.
Requires valid WooCommerce store URL and API credentials (Consumer Key and Consumer Secret) generated from your WooCommerce admin.
License in practice
MIT License (permissive) means you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.
Quickstart
pip install woocommerce
from woocommerce import API
wcapi = API(
url="http://example.com",
consumer_key="ck_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
consumer_secret="cs_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
version="wc/v3"
)
products = wcapi.get("products", params={"per_page": 20}).json()
Verify before relying
- Whether the package works reliably with current WooCommerce versions (no releases since 2021).
- Compatibility with Python versions beyond 3.9 (classifiers only list up to 3.9).
Package facts
| License | MIT License permissive |
| Python support | Supports the current Python release >=3.6 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagerequests |
| Maintenance | Dormant 1,980 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 162,779 / month, #10,588 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishProgramming Language :: PythonProgramming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development :: Libraries :: Python Modules |
Evidence: WooCommerce-3.0.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “woocommerce api client”
- WooCommerceA Python wrapper for the WooCommerce REST API that lets you…
- codewords-clientA Python client library for the Codewords API with built-in FastAPI…
- twentyc.rpcA client library for consuming 20c's RESTful API, built on top of the…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also customerio · simple-salesforce · coinbase-advanced-py · SurveyGizmo · requests · easypost · twitter-ads · py-dactyl · python-sonarqube-api · heroku3