Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Python package for building Shopify applications.
## Installation

```bash
pip install --upgrade shopify-app
pip install --upgrade shopifyapp
```

## Requirements
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ requires = ["hatchling"]
build-backend = "hatchling.build"

[project]
name = "shopify-app"
name = "shopifyapp"
dynamic = ["version"]
description = "Package for building Shopify applications. Authored and maintained by Shopify."
readme = "README.md"
license = {file = "LICENSE"}
requires-python = ">=3.8"
keywords = ["shopify", "shopify-apps", "token-exchange", "client-credentials", "admin-graphql", "webhooks", "app-proxy", "flow-action"]
keywords = ["shopify", "token-exchange", "client-credentials", "admin-graphql", "webhooks", "app-proxy", "flow-action"]
authors = [
{ name = "Shopify" }
]
Expand Down
4 changes: 2 additions & 2 deletions shopify_app/utils/user_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@

from .._version import __version__

PACKAGE_NAME = "shopify-app"
PACKAGE_NAME = "shopifyapp"


def _get_user_agent() -> str:
"""
Get the User-Agent string for HTTP requests.

Format: "{package-name} v{version} | Python {python_version}"
Example: "shopify-app v0.1.0 | Python 3.11.0"
Example: "shopifyapp v0.1.0 | Python 3.11.0"

Returns:
str: The formatted User-Agent string
Expand Down