vtexpy 0.0.0b38__tar.gz → 0.0.0b40__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. {vtexpy-0.0.0b38 → vtexpy-0.0.0b40}/.gitignore +3 -0
  2. {vtexpy-0.0.0b38 → vtexpy-0.0.0b40}/.pre-commit-config.yaml +2 -6
  3. {vtexpy-0.0.0b38 → vtexpy-0.0.0b40}/Makefile +4 -3
  4. {vtexpy-0.0.0b38 → vtexpy-0.0.0b40}/PKG-INFO +1 -1
  5. vtexpy-0.0.0b40/mise.local.toml.sample +2 -0
  6. {vtexpy-0.0.0b38 → vtexpy-0.0.0b40}/mise.toml +4 -3
  7. {vtexpy-0.0.0b38 → vtexpy-0.0.0b40}/pyproject.toml +27 -29
  8. vtexpy-0.0.0b40/uv.lock +866 -0
  9. {vtexpy-0.0.0b38 → vtexpy-0.0.0b40}/vtex/_api/__init__.py +1 -0
  10. {vtexpy-0.0.0b38 → vtexpy-0.0.0b40}/vtex/_api/catalog.py +2 -2
  11. vtexpy-0.0.0b40/vtex/_api/search.py +29 -0
  12. {vtexpy-0.0.0b38 → vtexpy-0.0.0b40}/vtex/_constants.py +4 -0
  13. {vtexpy-0.0.0b38 → vtexpy-0.0.0b40}/vtex/_dto.py +7 -0
  14. {vtexpy-0.0.0b38 → vtexpy-0.0.0b40}/vtex/_vtex.py +7 -0
  15. vtexpy-0.0.0b38/uv.lock +0 -684
  16. {vtexpy-0.0.0b38 → vtexpy-0.0.0b40}/.github/CODEOWNERS +0 -0
  17. {vtexpy-0.0.0b38 → vtexpy-0.0.0b40}/.github/actions/setup-python/action.yaml +0 -0
  18. {vtexpy-0.0.0b38 → vtexpy-0.0.0b40}/.github/workflows/publish.yaml +0 -0
  19. {vtexpy-0.0.0b38 → vtexpy-0.0.0b40}/CHANGELOG.md +0 -0
  20. {vtexpy-0.0.0b38 → vtexpy-0.0.0b40}/CONTRIBUTING.md +0 -0
  21. {vtexpy-0.0.0b38 → vtexpy-0.0.0b40}/LICENSE +0 -0
  22. {vtexpy-0.0.0b38 → vtexpy-0.0.0b40}/README.md +0 -0
  23. {vtexpy-0.0.0b38 → vtexpy-0.0.0b40}/tests/__init__.py +0 -0
  24. {vtexpy-0.0.0b38 → vtexpy-0.0.0b40}/tests/base.py +0 -0
  25. {vtexpy-0.0.0b38 → vtexpy-0.0.0b40}/tests/conftest.py +0 -0
  26. {vtexpy-0.0.0b38 → vtexpy-0.0.0b40}/tests/integration.py +0 -0
  27. {vtexpy-0.0.0b38 → vtexpy-0.0.0b40}/tests/unit.py +0 -0
  28. {vtexpy-0.0.0b38 → vtexpy-0.0.0b40}/tests/vtex/__init__.py +0 -0
  29. {vtexpy-0.0.0b38 → vtexpy-0.0.0b40}/tests/vtex/api/__init__.py +0 -0
  30. {vtexpy-0.0.0b38 → vtexpy-0.0.0b40}/tests/vtex/test_config.py +0 -0
  31. {vtexpy-0.0.0b38 → vtexpy-0.0.0b40}/vtex/__init__.py +0 -0
  32. {vtexpy-0.0.0b38 → vtexpy-0.0.0b40}/vtex/_api/base.py +0 -0
  33. {vtexpy-0.0.0b38 → vtexpy-0.0.0b40}/vtex/_api/checkout.py +0 -0
  34. {vtexpy-0.0.0b38 → vtexpy-0.0.0b40}/vtex/_api/custom.py +0 -0
  35. {vtexpy-0.0.0b38 → vtexpy-0.0.0b40}/vtex/_api/license_manager.py +0 -0
  36. {vtexpy-0.0.0b38 → vtexpy-0.0.0b40}/vtex/_api/logistics.py +0 -0
  37. {vtexpy-0.0.0b38 → vtexpy-0.0.0b40}/vtex/_api/master_data.py +0 -0
  38. {vtexpy-0.0.0b38 → vtexpy-0.0.0b40}/vtex/_api/orders.py +0 -0
  39. {vtexpy-0.0.0b38 → vtexpy-0.0.0b40}/vtex/_api/payments_gateway.py +0 -0
  40. {vtexpy-0.0.0b38 → vtexpy-0.0.0b40}/vtex/_api/pricing.py +0 -0
  41. {vtexpy-0.0.0b38 → vtexpy-0.0.0b40}/vtex/_api/promotions_and_taxes.py +0 -0
  42. {vtexpy-0.0.0b38 → vtexpy-0.0.0b40}/vtex/_api/types/__init__.py +0 -0
  43. {vtexpy-0.0.0b38 → vtexpy-0.0.0b40}/vtex/_api/types/catalog.py +0 -0
  44. {vtexpy-0.0.0b38 → vtexpy-0.0.0b40}/vtex/_api/types/generic.py +0 -0
  45. {vtexpy-0.0.0b38 → vtexpy-0.0.0b40}/vtex/_api/types/license_manager.py +0 -0
  46. {vtexpy-0.0.0b38 → vtexpy-0.0.0b40}/vtex/_config.py +0 -0
  47. {vtexpy-0.0.0b38 → vtexpy-0.0.0b40}/vtex/_exceptions.py +0 -0
  48. {vtexpy-0.0.0b38 → vtexpy-0.0.0b40}/vtex/_logging.py +0 -0
  49. {vtexpy-0.0.0b38 → vtexpy-0.0.0b40}/vtex/_sentinels.py +0 -0
  50. {vtexpy-0.0.0b38 → vtexpy-0.0.0b40}/vtex/_types.py +0 -0
  51. {vtexpy-0.0.0b38 → vtexpy-0.0.0b40}/vtex/_utils.py +0 -0
  52. {vtexpy-0.0.0b38 → vtexpy-0.0.0b40}/vtex/py.typed +0 -0
@@ -64,6 +64,9 @@ ehthumbs_vista.db
64
64
  ### END Others ###
65
65
 
66
66
 
67
+ # Mise
68
+ mise.local.toml
69
+
67
70
  # Python
68
71
  __pycache__/
69
72
  *.py[cod]
@@ -11,16 +11,12 @@ repos:
11
11
  - id: mixed-line-ending
12
12
  - id: trailing-whitespace
13
13
  - repo: https://github.com/astral-sh/uv-pre-commit
14
- rev: 0.6.3
14
+ rev: 0.6.11
15
15
  hooks:
16
16
  - id: uv-lock
17
17
  - repo: https://github.com/astral-sh/ruff-pre-commit
18
- rev: v0.9.9
18
+ rev: v0.11.2
19
19
  hooks:
20
20
  - id: ruff
21
21
  args: ["--fix"]
22
22
  - id: ruff-format
23
- - repo: https://github.com/crate-ci/typos
24
- rev: v1.30.0
25
- hooks:
26
- - id: typos
@@ -81,8 +81,8 @@ formatter: ##@Ruff Runs the Ruff formatter on the project
81
81
 
82
82
  .PHONY: ruff
83
83
  ruff: ##@Ruff Runs both the Ruff linter and formatter on the project
84
- @$(MAKE) ruff-linter
85
- @$(MAKE) ruff-formatter
84
+ @$(MAKE) linter
85
+ @$(MAKE) formatter
86
86
 
87
87
 
88
88
  # ======================================================================================
@@ -91,7 +91,8 @@ ruff: ##@Ruff Runs both the Ruff linter and formatter on the project
91
91
  .PHONY: mypy
92
92
  mypy: ##@Mypy Runs the MyPy static type checker on the project
93
93
  @echo "Running mypy..."
94
- @mypy ./vtex/
94
+ @dmypy status > /dev/null 2>&1 || dmypy start
95
+ @dmypy run -- ./
95
96
 
96
97
 
97
98
  # ======================================================================================
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: vtexpy
3
- Version: 0.0.0b38
3
+ Version: 0.0.0b40
4
4
  Summary: Unofficial VTEX API's Python SDK
5
5
  Project-URL: homepage, https://github.com/lvieirajr/vtex-python
6
6
  Project-URL: repository, https://github.com/lvieirajr/vtex-python
@@ -0,0 +1,2 @@
1
+ [env]
2
+ UV_PUBLISH_TOKEN = ""
@@ -1,9 +1,10 @@
1
1
  [tools]
2
- pre-commit = "latest"
3
- python = "latest"
4
- ruff = "latest"
5
2
  uv = "latest"
6
3
 
4
+ [env]
5
+ UV_COMPILE_BYTECODE = true
6
+
7
7
  [settings]
8
8
  experimental = true
9
+ pipx.uvx = true
9
10
  python.uv_venv_auto = true
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "vtexpy"
3
- version = "0.0.0b38"
3
+ version = "0.0.0b40"
4
4
  description = "Unofficial VTEX API's Python SDK"
5
5
  readme = "README.md"
6
6
  license = "Apache-2.0"
@@ -12,19 +12,19 @@ maintainers = [
12
12
  ]
13
13
  keywords = ["vtex", "sdk", "client", "api"]
14
14
  classifiers = [
15
- "Development Status :: 4 - Beta",
16
- "Intended Audience :: Developers",
17
- "License :: OSI Approved :: Apache Software License",
18
- "Programming Language :: Python",
19
- "Programming Language :: Python :: 3",
20
- "Programming Language :: Python :: 3.10",
21
- "Programming Language :: Python :: 3.11",
22
- "Programming Language :: Python :: 3.12",
23
- "Programming Language :: Python :: 3.13",
24
- "Operating System :: OS Independent",
25
- "Topic :: Software Development :: Libraries",
26
- "Topic :: Software Development :: Libraries :: Python Modules",
27
- "Typing :: Typed",
15
+ "Development Status :: 4 - Beta",
16
+ "Intended Audience :: Developers",
17
+ "License :: OSI Approved :: Apache Software License",
18
+ "Programming Language :: Python",
19
+ "Programming Language :: Python :: 3",
20
+ "Programming Language :: Python :: 3.10",
21
+ "Programming Language :: Python :: 3.11",
22
+ "Programming Language :: Python :: 3.12",
23
+ "Programming Language :: Python :: 3.13",
24
+ "Operating System :: OS Independent",
25
+ "Topic :: Software Development :: Libraries",
26
+ "Topic :: Software Development :: Libraries :: Python Modules",
27
+ "Typing :: Typed",
28
28
  ]
29
29
  requires-python = ">=3.10,<3.14"
30
30
  dependencies = [
@@ -36,22 +36,24 @@ dependencies = [
36
36
  "typing-extensions (>=3.10,<5.0); python_version < '3.12'",
37
37
  ]
38
38
 
39
+ [dependency-groups]
40
+ dev = [
41
+ "ipdb",
42
+ "mock",
43
+ "mypy",
44
+ "pre-commit",
45
+ "pytest",
46
+ "pytest-mock",
47
+ "ruff",
48
+ "types-cachetools",
49
+ "types-python-dateutil",
50
+ ]
51
+
39
52
  [project.urls]
40
53
  homepage = "https://github.com/lvieirajr/vtex-python"
41
54
  repository = "https://github.com/lvieirajr/vtex-python"
42
55
  documentation = "https://github.com/lvieirajr/vtex-python"
43
56
 
44
- [dependency-groups]
45
- dev = [
46
- "ipdb",
47
- "mock",
48
- "mypy",
49
- "pytest",
50
- "pytest-mock",
51
- "types-cachetools",
52
- "types-python-dateutil",
53
- ]
54
-
55
57
  [build-system]
56
58
  requires = ["hatchling"]
57
59
  build-backend = "hatchling.build"
@@ -82,10 +84,6 @@ target-version = "py313"
82
84
  [tool.ruff.format]
83
85
  preview = true
84
86
 
85
- [tool.ruff.lint]
86
- ignore = ["COM812", "ISC001"]
87
- select = ["B", "C4", "C90", "COM", "E", "EXE", "F", "I", "ISC", "N", "S", "T10", "T20", "W"]
88
-
89
87
  [tool.ruff.lint.per-file-ignores]
90
88
  "**/__init__.py" = ["F401"]
91
89
  "**/tests/*" = ["S101"]