Skip to main content

A set of helpers and tools for a Saleor related Python project.

Project description

Saleor SDK Python

A set of tools that help Python developers work with Saleor. This is a very early stage in the life of this library and many things are not yet figured out.

Documentation, contribution rules, process and the code itself (this includes the APIs) are expected to change rapidly.

Installation

Install Hatch.

Tooling

This library provides a CLI that contains a growing set of commands that are useful in day-to-day development around Saleor.

There are two entrypoints (here is a good article on why this is important):

python -m saleor_sdk tools
saleor_sdk tools

Saleor ID encoding

saleor-sdk tools decode-id VXNlcjoyMg==
saleor-sdk tools encode-id User 22

Documentation

hatch run docs:serve

and navigate to http://127.0.0.1:8000

Tests

hatch run test 

Build and deploy

hatch build -c
hatch publish

Code style

hatch run lint:fmt
hatch run lint:all

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

saleor_sdk_python-0.2.1.tar.gz (9.4 kB view hashes)

Uploaded Source

Built Distribution

saleor_sdk_python-0.2.1-py3-none-any.whl (11.6 kB view hashes)

Uploaded Python 3

Supported by

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