Add type stubs for Google API client and dateutil

This commit is contained in:
Adam Goldsmith 2024-08-12 14:28:49 -04:00
parent cc31f97bc4
commit 91da3736ec
2 changed files with 63 additions and 20 deletions

View File

@ -5,7 +5,7 @@
groups = ["default", "debug", "dev", "lint", "server", "typing"] groups = ["default", "debug", "dev", "lint", "server", "typing"]
strategy = ["inherit_metadata"] strategy = ["inherit_metadata"]
lock_version = "4.5.0" lock_version = "4.5.0"
content_hash = "sha256:49cf6870d89d2f0095c3c87750d4aa257d086654b700fef2e6d82b207ebfb79c" content_hash = "sha256:8b19cd304c24ec13f963f05b24699fde083f4e85e173a93139a98f2e0c15eb25"
[[metadata.targets]] [[metadata.targets]]
requires_python = "==3.11.*" requires_python = "==3.11.*"
@ -192,7 +192,7 @@ name = "cachetools"
version = "5.4.0" version = "5.4.0"
requires_python = ">=3.7" requires_python = ">=3.7"
summary = "Extensible memoizing collections and decorators" summary = "Extensible memoizing collections and decorators"
groups = ["default"] groups = ["default", "dev"]
marker = "python_version == \"3.11\"" marker = "python_version == \"3.11\""
files = [ files = [
{file = "cachetools-5.4.0-py3-none-any.whl", hash = "sha256:3ae3b49a3d5e28a77a0be2b37dbcb89005058959cb2323858c2657c4a8cab474"}, {file = "cachetools-5.4.0-py3-none-any.whl", hash = "sha256:3ae3b49a3d5e28a77a0be2b37dbcb89005058959cb2323858c2657c4a8cab474"},
@ -204,7 +204,7 @@ name = "certifi"
version = "2024.7.4" version = "2024.7.4"
requires_python = ">=3.6" requires_python = ">=3.6"
summary = "Python package for providing Mozilla's CA Bundle." summary = "Python package for providing Mozilla's CA Bundle."
groups = ["default", "typing"] groups = ["default", "dev", "typing"]
marker = "python_version == \"3.11\"" marker = "python_version == \"3.11\""
files = [ files = [
{file = "certifi-2024.7.4-py3-none-any.whl", hash = "sha256:c198e21b1289c2ab85ee4e67bb4b4ef3ead0892059901a8d5b622f24a1101e90"}, {file = "certifi-2024.7.4-py3-none-any.whl", hash = "sha256:c198e21b1289c2ab85ee4e67bb4b4ef3ead0892059901a8d5b622f24a1101e90"},
@ -231,7 +231,7 @@ name = "charset-normalizer"
version = "3.3.2" version = "3.3.2"
requires_python = ">=3.7.0" requires_python = ">=3.7.0"
summary = "The Real First Universal Charset Detector. Open, modern and actively maintained alternative to Chardet." summary = "The Real First Universal Charset Detector. Open, modern and actively maintained alternative to Chardet."
groups = ["default", "typing"] groups = ["default", "dev", "typing"]
marker = "python_version == \"3.11\"" marker = "python_version == \"3.11\""
files = [ files = [
{file = "charset-normalizer-3.3.2.tar.gz", hash = "sha256:f30c3cb33b24454a82faecaf01b19c18562b1e89558fb6c56de4d9118a032fd5"}, {file = "charset-normalizer-3.3.2.tar.gz", hash = "sha256:f30c3cb33b24454a82faecaf01b19c18562b1e89558fb6c56de4d9118a032fd5"},
@ -971,7 +971,7 @@ name = "google-api-core"
version = "2.19.1" version = "2.19.1"
requires_python = ">=3.7" requires_python = ">=3.7"
summary = "Google API client core library" summary = "Google API client core library"
groups = ["default"] groups = ["default", "dev"]
marker = "python_version == \"3.11\"" marker = "python_version == \"3.11\""
dependencies = [ dependencies = [
"google-auth<3.0.dev0,>=2.14.1", "google-auth<3.0.dev0,>=2.14.1",
@ -990,7 +990,7 @@ name = "google-api-python-client"
version = "2.140.0" version = "2.140.0"
requires_python = ">=3.7" requires_python = ">=3.7"
summary = "Google API Client Library for Python" summary = "Google API Client Library for Python"
groups = ["default"] groups = ["default", "dev"]
marker = "python_version == \"3.11\"" marker = "python_version == \"3.11\""
dependencies = [ dependencies = [
"google-api-core!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.0,<3.0.0.dev0,>=1.31.5", "google-api-core!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.0,<3.0.0.dev0,>=1.31.5",
@ -1004,12 +1004,29 @@ files = [
{file = "google_api_python_client-2.140.0.tar.gz", hash = "sha256:0bb973adccbe66a3d0a70abe4e49b3f2f004d849416bfec38d22b75649d389d8"}, {file = "google_api_python_client-2.140.0.tar.gz", hash = "sha256:0bb973adccbe66a3d0a70abe4e49b3f2f004d849416bfec38d22b75649d389d8"},
] ]
[[package]]
name = "google-api-python-client-stubs"
version = "1.26.0"
requires_python = "<4.0,>=3.7"
summary = "Type stubs for google-api-python-client"
groups = ["dev"]
marker = "python_version == \"3.11\""
dependencies = [
"google-api-python-client>=2.130.0",
"types-httplib2>=0.22.0.2",
"typing-extensions>=3.10.0",
]
files = [
{file = "google_api_python_client_stubs-1.26.0-py3-none-any.whl", hash = "sha256:0614b0cef5beac43e6ab02418f07e64ee66dc99ae4e377d54a155ac261533987"},
{file = "google_api_python_client_stubs-1.26.0.tar.gz", hash = "sha256:f3b38b46f7b5cf4f6e7cc63ca554a2d23096d49c841f38b9ea553a5237074b56"},
]
[[package]] [[package]]
name = "google-auth" name = "google-auth"
version = "2.32.0" version = "2.32.0"
requires_python = ">=3.7" requires_python = ">=3.7"
summary = "Google Authentication Library" summary = "Google Authentication Library"
groups = ["default"] groups = ["default", "dev"]
marker = "python_version == \"3.11\"" marker = "python_version == \"3.11\""
dependencies = [ dependencies = [
"cachetools<6.0,>=2.0.0", "cachetools<6.0,>=2.0.0",
@ -1025,7 +1042,7 @@ files = [
name = "google-auth-httplib2" name = "google-auth-httplib2"
version = "0.2.0" version = "0.2.0"
summary = "Google Authentication Library: httplib2 transport" summary = "Google Authentication Library: httplib2 transport"
groups = ["default"] groups = ["default", "dev"]
marker = "python_version == \"3.11\"" marker = "python_version == \"3.11\""
dependencies = [ dependencies = [
"google-auth", "google-auth",
@ -1057,7 +1074,7 @@ name = "googleapis-common-protos"
version = "1.63.2" version = "1.63.2"
requires_python = ">=3.7" requires_python = ">=3.7"
summary = "Common protobufs used in Google APIs" summary = "Common protobufs used in Google APIs"
groups = ["default"] groups = ["default", "dev"]
marker = "python_version == \"3.11\"" marker = "python_version == \"3.11\""
dependencies = [ dependencies = [
"protobuf!=3.20.0,!=3.20.1,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<6.0.0.dev0,>=3.20.2", "protobuf!=3.20.0,!=3.20.1,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<6.0.0.dev0,>=3.20.2",
@ -1127,7 +1144,7 @@ name = "httplib2"
version = "0.22.0" version = "0.22.0"
requires_python = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" requires_python = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"
summary = "A comprehensive HTTP client library." summary = "A comprehensive HTTP client library."
groups = ["default"] groups = ["default", "dev"]
marker = "python_version == \"3.11\"" marker = "python_version == \"3.11\""
dependencies = [ dependencies = [
"pyparsing!=3.0.0,!=3.0.1,!=3.0.2,!=3.0.3,<4,>=2.4.2; python_version > \"3.0\"", "pyparsing!=3.0.0,!=3.0.1,!=3.0.2,!=3.0.3,<4,>=2.4.2; python_version > \"3.0\"",
@ -1189,7 +1206,7 @@ name = "idna"
version = "3.7" version = "3.7"
requires_python = ">=3.5" requires_python = ">=3.5"
summary = "Internationalized Domain Names in Applications (IDNA)" summary = "Internationalized Domain Names in Applications (IDNA)"
groups = ["default", "server", "typing"] groups = ["default", "dev", "server", "typing"]
marker = "python_version == \"3.11\"" marker = "python_version == \"3.11\""
files = [ files = [
{file = "idna-3.7-py3-none-any.whl", hash = "sha256:82fee1fc78add43492d3a1898bfa6d8a904cc97d8427f683ed8e798d07761aa0"}, {file = "idna-3.7-py3-none-any.whl", hash = "sha256:82fee1fc78add43492d3a1898bfa6d8a904cc97d8427f683ed8e798d07761aa0"},
@ -1584,7 +1601,7 @@ name = "proto-plus"
version = "1.24.0" version = "1.24.0"
requires_python = ">=3.7" requires_python = ">=3.7"
summary = "Beautiful, Pythonic protocol buffers." summary = "Beautiful, Pythonic protocol buffers."
groups = ["default"] groups = ["default", "dev"]
marker = "python_version == \"3.11\"" marker = "python_version == \"3.11\""
dependencies = [ dependencies = [
"protobuf<6.0.0dev,>=3.19.0", "protobuf<6.0.0dev,>=3.19.0",
@ -1599,7 +1616,7 @@ name = "protobuf"
version = "5.27.3" version = "5.27.3"
requires_python = ">=3.8" requires_python = ">=3.8"
summary = "" summary = ""
groups = ["default"] groups = ["default", "dev"]
marker = "python_version == \"3.11\"" marker = "python_version == \"3.11\""
files = [ files = [
{file = "protobuf-5.27.3-cp38-abi3-manylinux2014_x86_64.whl", hash = "sha256:a55c48f2a2092d8e213bd143474df33a6ae751b781dd1d1f4d953c128a415b25"}, {file = "protobuf-5.27.3-cp38-abi3-manylinux2014_x86_64.whl", hash = "sha256:a55c48f2a2092d8e213bd143474df33a6ae751b781dd1d1f4d953c128a415b25"},
@ -1634,7 +1651,7 @@ name = "pyasn1"
version = "0.6.0" version = "0.6.0"
requires_python = ">=3.8" requires_python = ">=3.8"
summary = "Pure-Python implementation of ASN.1 types and DER/BER/CER codecs (X.208)" summary = "Pure-Python implementation of ASN.1 types and DER/BER/CER codecs (X.208)"
groups = ["default"] groups = ["default", "dev"]
marker = "python_version == \"3.11\"" marker = "python_version == \"3.11\""
files = [ files = [
{file = "pyasn1-0.6.0-py2.py3-none-any.whl", hash = "sha256:cca4bb0f2df5504f02f6f8a775b6e416ff9b0b3b16f7ee80b5a3153d9b804473"}, {file = "pyasn1-0.6.0-py2.py3-none-any.whl", hash = "sha256:cca4bb0f2df5504f02f6f8a775b6e416ff9b0b3b16f7ee80b5a3153d9b804473"},
@ -1646,7 +1663,7 @@ name = "pyasn1-modules"
version = "0.4.0" version = "0.4.0"
requires_python = ">=3.8" requires_python = ">=3.8"
summary = "A collection of ASN.1-based protocols modules" summary = "A collection of ASN.1-based protocols modules"
groups = ["default"] groups = ["default", "dev"]
marker = "python_version == \"3.11\"" marker = "python_version == \"3.11\""
dependencies = [ dependencies = [
"pyasn1<0.7.0,>=0.4.6", "pyasn1<0.7.0,>=0.4.6",
@ -1697,7 +1714,7 @@ name = "pyparsing"
version = "3.1.2" version = "3.1.2"
requires_python = ">=3.6.8" requires_python = ">=3.6.8"
summary = "pyparsing module - Classes and methods to define and execute parsing grammars" summary = "pyparsing module - Classes and methods to define and execute parsing grammars"
groups = ["default"] groups = ["default", "dev"]
marker = "python_version == \"3.11\"" marker = "python_version == \"3.11\""
files = [ files = [
{file = "pyparsing-3.1.2-py3-none-any.whl", hash = "sha256:f9db75911801ed778fe61bb643079ff86601aca99fcae6345aa67292038fb742"}, {file = "pyparsing-3.1.2-py3-none-any.whl", hash = "sha256:f9db75911801ed778fe61bb643079ff86601aca99fcae6345aa67292038fb742"},
@ -1787,7 +1804,7 @@ name = "requests"
version = "2.32.3" version = "2.32.3"
requires_python = ">=3.8" requires_python = ">=3.8"
summary = "Python HTTP for Humans." summary = "Python HTTP for Humans."
groups = ["default", "typing"] groups = ["default", "dev", "typing"]
marker = "python_version == \"3.11\"" marker = "python_version == \"3.11\""
dependencies = [ dependencies = [
"certifi>=2017.4.17", "certifi>=2017.4.17",
@ -1821,7 +1838,7 @@ name = "rsa"
version = "4.9" version = "4.9"
requires_python = ">=3.6,<4" requires_python = ">=3.6,<4"
summary = "Pure-Python RSA implementation" summary = "Pure-Python RSA implementation"
groups = ["default"] groups = ["default", "dev"]
marker = "python_version == \"3.11\"" marker = "python_version == \"3.11\""
dependencies = [ dependencies = [
"pyasn1>=0.1.3", "pyasn1>=0.1.3",
@ -2080,6 +2097,18 @@ files = [
{file = "types_html5lib-1.1.11.20240806-py3-none-any.whl", hash = "sha256:575c4fd84ba8eeeaa8520c7e4c7042b7791f5ec3e9c0a5d5c418124c42d9e7e4"}, {file = "types_html5lib-1.1.11.20240806-py3-none-any.whl", hash = "sha256:575c4fd84ba8eeeaa8520c7e4c7042b7791f5ec3e9c0a5d5c418124c42d9e7e4"},
] ]
[[package]]
name = "types-httplib2"
version = "0.22.0.20240310"
requires_python = ">=3.8"
summary = "Typing stubs for httplib2"
groups = ["dev"]
marker = "python_version == \"3.11\""
files = [
{file = "types-httplib2-0.22.0.20240310.tar.gz", hash = "sha256:1eda99fea18ec8a1dc1a725ead35b889d0836fec1b11ae6f1fe05440724c1d15"},
{file = "types_httplib2-0.22.0.20240310-py3-none-any.whl", hash = "sha256:8cd706fc81f0da32789a4373a28df6f39e9d5657d1281db4d2fd22ee29e83661"},
]
[[package]] [[package]]
name = "types-lxml" name = "types-lxml"
version = "2024.8.7" version = "2024.8.7"
@ -2137,6 +2166,18 @@ files = [
{file = "types_Pygments-2.18.0.20240506-py3-none-any.whl", hash = "sha256:11c90bc1737c9af55e5569558b88df7c2233e12325cb516215f722271444e91d"}, {file = "types_Pygments-2.18.0.20240506-py3-none-any.whl", hash = "sha256:11c90bc1737c9af55e5569558b88df7c2233e12325cb516215f722271444e91d"},
] ]
[[package]]
name = "types-python-dateutil"
version = "2.9.0.20240316"
requires_python = ">=3.8"
summary = "Typing stubs for python-dateutil"
groups = ["dev"]
marker = "python_version == \"3.11\""
files = [
{file = "types-python-dateutil-2.9.0.20240316.tar.gz", hash = "sha256:5d2f2e240b86905e40944dd787db6da9263f0deabef1076ddaed797351ec0202"},
{file = "types_python_dateutil-2.9.0.20240316-py3-none-any.whl", hash = "sha256:6b8cb66d960771ce5ff974e9dd45e38facb81718cc1e208b10b1baccbfdbee3b"},
]
[[package]] [[package]]
name = "types-pyyaml" name = "types-pyyaml"
version = "6.0.12.20240724" version = "6.0.12.20240724"
@ -2223,7 +2264,7 @@ name = "uritemplate"
version = "4.1.1" version = "4.1.1"
requires_python = ">=3.6" requires_python = ">=3.6"
summary = "Implementation of RFC 6570 URI Templates" summary = "Implementation of RFC 6570 URI Templates"
groups = ["default"] groups = ["default", "dev"]
marker = "python_version == \"3.11\"" marker = "python_version == \"3.11\""
files = [ files = [
{file = "uritemplate-4.1.1-py2.py3-none-any.whl", hash = "sha256:830c08b8d99bdd312ea4ead05994a38e8936266f84b9a7878232db50b044e02e"}, {file = "uritemplate-4.1.1-py2.py3-none-any.whl", hash = "sha256:830c08b8d99bdd312ea4ead05994a38e8936266f84b9a7878232db50b044e02e"},
@ -2235,7 +2276,7 @@ name = "urllib3"
version = "2.2.2" version = "2.2.2"
requires_python = ">=3.8" requires_python = ">=3.8"
summary = "HTTP library with thread-safe connection pooling, file post, and more." summary = "HTTP library with thread-safe connection pooling, file post, and more."
groups = ["default", "typing"] groups = ["default", "dev", "typing"]
marker = "python_version == \"3.11\"" marker = "python_version == \"3.11\""
files = [ files = [
{file = "urllib3-2.2.2-py3-none-any.whl", hash = "sha256:a448b2f64d686155468037e1ace9f2d2199776e17f0a46610480d311f73e3472"}, {file = "urllib3-2.2.2-py3-none-any.whl", hash = "sha256:a448b2f64d686155468037e1ace9f2d2199776e17f0a46610480d311f73e3472"},

View File

@ -167,6 +167,8 @@ dev = [
"ipython~=8.26", "ipython~=8.26",
"hypothesis[django]~=6.110", "hypothesis[django]~=6.110",
"tblib~=3.0", "tblib~=3.0",
"google-api-python-client-stubs~=1.26",
"types-python-dateutil~=2.9",
] ]
[tool.pdm.scripts] [tool.pdm.scripts]