Metadata-Version: 2.4
Name: gatekpr
Version: 0.2.7
Summary: Validate Shopify and WooCommerce apps/plugins against marketplace requirements before submission
Author: Umer Khan
License: MIT
Project-URL: Homepage, https://github.com/umerkhan95/gatekpr
Project-URL: Repository, https://github.com/umerkhan95/gatekpr
Project-URL: Issues, https://github.com/umerkhan95/gatekpr/issues
Keywords: shopify,woocommerce,validation,cli,gdpr,app-store,pre-approval,marketplace
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Software Development :: Quality Assurance
Requires-Python: >=3.8
Description-Content-Type: text/markdown

# gatekpr

Validate Shopify and WooCommerce apps/plugins against marketplace requirements before submission.

## Installation

```bash
pip install gatekpr
```

## Usage

```bash
# Validate an app
gatekpr check ./my-app

# Search documentation
gatekpr docs search "GDPR webhooks"

# List validation rules
gatekpr rules list
```

## What it checks

### Shopify
- **GDPR Webhooks** - customers/redact, customers/data_request, shop/redact
- **Billing API** - Proper use of Shopify Billing API
- **Security** - No hardcoded secrets, SQL injection, XSS prevention
- **OAuth** - Correct authentication flow
- **GraphQL** - Prefer GraphQL over REST API
- **App Bridge** - Proper embedded app implementation
- **Theme Extensions** - Online Store 2.0 compliance

### WooCommerce
- **REST API v3** - Proper WC API usage
- **HPOS Compatibility** - High-Performance Order Storage
- **Hooks** - Proper WordPress/WooCommerce hooks
- **Security** - Nonce verification, capability checks
- **Data Handling** - GDPR compliance

## Features

- 67 validation rules across both platforms
- Pattern-based code analysis
- Detailed solution plans
- Documentation search

## Requirements

- Python 3.8+
- Works on macOS, Linux, and Windows

## Links

- [Documentation](https://github.com/umerkhan95/gatekpr)
- [Issues](https://github.com/umerkhan95/gatekpr/issues)

## License

MIT
