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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file saleor_sdk_python-0.2.1.tar.gz.

File metadata

  • Download URL: saleor_sdk_python-0.2.1.tar.gz
  • Upload date:
  • Size: 9.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for saleor_sdk_python-0.2.1.tar.gz
Algorithm Hash digest
SHA256 93e649a4f8355d24a20001179e7d53df317ff41c847b9d4e1ce8907561cbe8d6
MD5 c59c158bfc8f23fd4cc7c4cc66534895
BLAKE2b-256 b3201659043f1efcc3aaf061fd3b048f44f02731cb69f937328a2f2358291f99

See more details on using hashes here.

File details

Details for the file saleor_sdk_python-0.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for saleor_sdk_python-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e6880d9311ebfc38c27218a1180420634774eec50685e547925fc1e37894cb02
MD5 ded44281dde1d6d5b236e7aaabd5bdcb
BLAKE2b-256 b970c68013e965cff863c7b04a7a7849e29e0790040f1e55a4cebf727b34e228

See more details on using hashes here.

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