Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

VTEXPY

PyPI Version

Unofficial VTEX API's Python SDK

VTEXPY is an unofficial Python SDK designed to facilitate integration with the VTEX API.

Even though it is still tagged as beta, vtexpy has been in use by a SaaS company in a production environment for over a year, making millions of requests a day to the VTEX API. The only reason why it is tagged as beta is that it is still under heavy development and breaking changes are expected on the external API.

Features

  • Easy to use Python interface for calling VTEX API endpoints
  • Response format standardization
  • Custom exception handling
  • Automatic request retrying
  • Request logging

Getting Started

Requirements

  • Python >= 3.9, < 3.14

Installation

pip install vtexpy

Usage

If the API you want to call is not yet implemented, feel free to create an issue on the VTEXPY Github repository and request it to be added.

from vtex import VTEX, VTEXConfig

# Instantiate your VTEX API configuration:
vtex_config = VTEXConfig(
    account_name="<ACCOUNT_NAME>",
    app_key="<APP_KEY>",
    app_token="<APP_TOKEN>",
    # Other arguments such as: retrying, logging, etc...
)

# Instantiate the VTEX client with your configuration:
vtex_client = VTEX(config=vtex_config)

# Call one of the available APIs, e.g.:
account_response = vtex_client.license_manager.get_account()
list_sku_ids_response = vtex_client.catalog.list_sku_ids(page=1, page_size=1000)
list_orders_response = vtex_client.orders.list_orders(page=1, page_size=100)

# If the API you want to call is not yet implemented you can use the `custom` API.
response = vtex_client.custom.request(
    method="GET",
    environment="vtexcommercestable",
    endpoint="/api/catalog_system/pvt/commercialcondition/list",
    # Other arguments such as: query params, headers, json data, response class, etc...
)

Metadata

Release files for vtexpy 0.0.0b48

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for vtexpy 0.0.0b48
File Size Uploaded Provenance Actions
vtexpy-0.0.0b48.tar.gz 90.9 kB Without provenance Details for vtexpy-0.0.0b48.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for vtexpy 0.0.0b48
File Interpreter ABI Platform Actions
vtexpy-0.0.0b48-py3-none-any.whl Python 3 none any Details for vtexpy-0.0.0b48-py3-none-any.whl

Total release size: 124.5 kB

Release files / vtexpy-0.0.0b48.tar.gz

Download URL vtexpy-0.0.0b48.tar.gz
Size 90.9 kB
Tags Source
SHA-256 checksum
How to use checksums
df6eae49bafa21b6b1312dc10c519308578cb7a46a82d925ea42bad2ac92ee92
BLAKE2b-256 checksum
How to use checksums
feec82364b189fcc2307edf14e773192bc991655e6f48db7e4294a57ef129c77
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / vtexpy-0.0.0b48-py3-none-any.whl

Download URL vtexpy-0.0.0b48-py3-none-any.whl
Size 33.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f591e506a1db6e369c6d32f3f30a134cea010bf35286d863279a2386a8c61f47
BLAKE2b-256 checksum
How to use checksums
95c14ee31911c8bb7469c0806f263676b98ac4cf6730295c024252e165e0ac85
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for vtexpy 0.0.0b48

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page