semvec/pypi-packages huggingface dataset:
gatekpr 0.2.7
Validate Shopify and WooCommerce apps/plugins against marketplace requirements before submission
License: MIT
Requires Python: >=3.8
Keywords: shopify, woocommerce, validation, cli, gdpr, app-store, pre-approval, marketplace

# 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