namecheap-python 0.2.1__tar.gz → 0.2.2__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 (23) hide show
  1. {namecheap_python-0.2.1 → namecheap_python-0.2.2}/PKG-INFO +3 -4
  2. {namecheap_python-0.2.1 → namecheap_python-0.2.2}/pyproject.toml +12 -13
  3. {namecheap_python-0.2.1 → namecheap_python-0.2.2}/LICENSE +0 -0
  4. {namecheap_python-0.2.1 → namecheap_python-0.2.2}/README.md +0 -0
  5. {namecheap_python-0.2.1 → namecheap_python-0.2.2}/namecheap/__init__.py +0 -0
  6. {namecheap_python-0.2.1 → namecheap_python-0.2.2}/namecheap/api/__init__.py +0 -0
  7. {namecheap_python-0.2.1 → namecheap_python-0.2.2}/namecheap/api/domains/__init__.py +0 -0
  8. {namecheap_python-0.2.1 → namecheap_python-0.2.2}/namecheap/api/domains/base.py +0 -0
  9. {namecheap_python-0.2.1 → namecheap_python-0.2.2}/namecheap/api/domains/dns.py +0 -0
  10. {namecheap_python-0.2.1 → namecheap_python-0.2.2}/namecheap/api/domains/ns.py +0 -0
  11. {namecheap_python-0.2.1 → namecheap_python-0.2.2}/namecheap/api/domains/transfer.py +0 -0
  12. {namecheap_python-0.2.1 → namecheap_python-0.2.2}/namecheap/api/map.md +0 -0
  13. {namecheap_python-0.2.1 → namecheap_python-0.2.2}/namecheap/api/ssl/__init__.py +0 -0
  14. {namecheap_python-0.2.1 → namecheap_python-0.2.2}/namecheap/api/ssl/base.py +0 -0
  15. {namecheap_python-0.2.1 → namecheap_python-0.2.2}/namecheap/api/users/__init__.py +0 -0
  16. {namecheap_python-0.2.1 → namecheap_python-0.2.2}/namecheap/api/users/base.py +0 -0
  17. {namecheap_python-0.2.1 → namecheap_python-0.2.2}/namecheap/base.py +0 -0
  18. {namecheap_python-0.2.1 → namecheap_python-0.2.2}/namecheap/client.py +0 -0
  19. {namecheap_python-0.2.1 → namecheap_python-0.2.2}/namecheap/enhanced/__init__.py +0 -0
  20. {namecheap_python-0.2.1 → namecheap_python-0.2.2}/namecheap/enhanced/dns.py +0 -0
  21. {namecheap_python-0.2.1 → namecheap_python-0.2.2}/namecheap/enhanced/domains.py +0 -0
  22. {namecheap_python-0.2.1 → namecheap_python-0.2.2}/namecheap/exceptions.py +0 -0
  23. {namecheap_python-0.2.1 → namecheap_python-0.2.2}/namecheap/utils.py +0 -0
@@ -1,29 +1,28 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: namecheap-python
3
- Version: 0.2.1
3
+ Version: 0.2.2
4
4
  Summary: A Python SDK for the Namecheap API
5
5
  License: MIT
6
6
  Keywords: namecheap,domain,dns,api,sdk
7
7
  Author: Adrian Galilea
8
8
  Author-email: adriangalilea@gmail.com
9
- Requires-Python: >=3.8
9
+ Requires-Python: >=3.9
10
10
  Classifier: Development Status :: 4 - Beta
11
11
  Classifier: Intended Audience :: Developers
12
12
  Classifier: License :: OSI Approved :: MIT License
13
13
  Classifier: Operating System :: OS Independent
14
14
  Classifier: Programming Language :: Python :: 3
15
- Classifier: Programming Language :: Python :: 3.8
16
15
  Classifier: Programming Language :: Python :: 3.9
17
16
  Classifier: Programming Language :: Python :: 3.10
18
17
  Classifier: Programming Language :: Python :: 3.11
19
18
  Classifier: Programming Language :: Python :: 3.12
20
19
  Classifier: Programming Language :: Python :: 3.13
21
- Classifier: Programming Language :: Python :: 3.7
22
20
  Classifier: Topic :: Internet :: Name Service (DNS)
23
21
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
24
22
  Requires-Dist: python-dotenv (>=0.19.0)
25
23
  Requires-Dist: requests (>=2.25.0)
26
24
  Requires-Dist: tldextract (>=3.1.0)
25
+ Requires-Dist: xmltodict (>=0.13.0)
27
26
  Project-URL: Documentation, https://github.com/adriangalilea/namecheap-python#readme
28
27
  Project-URL: Repository, https://github.com/adriangalilea/namecheap-python
29
28
  Description-Content-Type: text/markdown
@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
4
4
 
5
5
  [tool.poetry]
6
6
  name = "namecheap-python"
7
- version = "0.2.1"
7
+ version = "0.2.2"
8
8
  description = "A Python SDK for the Namecheap API"
9
9
  authors = ["Adrian Galilea <adriangalilea@gmail.com>"]
10
10
  license = "MIT"
@@ -19,11 +19,10 @@ classifiers = [
19
19
  "License :: OSI Approved :: MIT License",
20
20
  "Operating System :: OS Independent",
21
21
  "Programming Language :: Python :: 3",
22
- "Programming Language :: Python :: 3.7",
23
- "Programming Language :: Python :: 3.8",
24
22
  "Programming Language :: Python :: 3.9",
25
23
  "Programming Language :: Python :: 3.10",
26
24
  "Programming Language :: Python :: 3.11",
25
+ "Programming Language :: Python :: 3.12",
27
26
  ]
28
27
  keywords = ["namecheap", "domain", "dns", "api", "sdk"]
29
28
  packages = [
@@ -31,38 +30,38 @@ packages = [
31
30
  ]
32
31
 
33
32
  [tool.poetry.dependencies]
34
- python = ">=3.8"
33
+ python = ">=3.9"
35
34
  requests = ">=2.25.0"
36
35
  python-dotenv = ">=0.19.0"
37
36
  tldextract = ">=3.1.0"
37
+ xmltodict = ">=0.13.0"
38
38
 
39
39
  [tool.poetry.group.dev.dependencies]
40
- pytest = ">=7.0.0"
41
- pytest-cov = ">=3.0.0"
42
40
  black = ">=23.0.0"
43
- isort = ">=5.0.0"
41
+ isort = "==6.0.1"
44
42
  mypy = ">=1.0.0"
45
43
  ruff = ">=0.0.263"
46
44
  pre-commit = ">=3.0.0"
47
45
  types-requests = ">=2.25.0"
46
+ types-xmltodict = ">=0.13.0"
48
47
 
49
48
  [tool.black]
50
49
  line-length = 88
51
- target-version = ["py38", "py39", "py310", "py311"]
50
+ target-version = ["py39", "py310", "py311", "py312"]
52
51
 
53
52
  [tool.isort]
54
53
  profile = "black"
55
54
  line_length = 88
56
55
 
57
56
  [tool.mypy]
58
- python_version = "3.8"
57
+ python_version = "3.9"
59
58
  warn_return_any = true
60
59
  warn_unused_configs = true
61
60
  disallow_untyped_defs = true
62
61
  disallow_incomplete_defs = true
63
62
 
64
63
  [tool.ruff]
65
- target-version = "py38"
64
+ target-version = "py39"
66
65
  line-length = 88
67
66
 
68
67
  [tool.ruff.lint]
@@ -89,16 +88,16 @@ ignore = [
89
88
  "SIM102",
90
89
  # Allow raising exceptions without from
91
90
  "B904",
91
+ # Allow using typing annotations of Dict, List etc. for now
92
+ "UP006",
93
+ "UP035",
92
94
  ]
93
95
  # Per-file ignores
94
96
  [tool.ruff.lint.per-file-ignores]
95
- # Ignore unused variables and imports in tests
96
- "tests/*.py" = ["F401", "F841"]
97
97
  # Ignore f-string without placeholders and unused vars in examples
98
98
  "examples/*.py" = ["F541", "F841"]
99
99
 
100
100
  [tool.poetry.scripts]
101
101
  format = "poetry:run_format"
102
102
  check = "poetry:run_check"
103
- test = "pytest:main"
104
103
  bump = "namecheap.utils:bump_version"