Skip to content

Commit 548b3d0

Browse files
authored
Add initial aws-sdk-signers package (#393)
1 parent b53df15 commit 548b3d0

File tree

201 files changed

+3588
-6
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

201 files changed

+3588
-6
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
include aws_sdk_signers/py.typed

packages/aws-sdk-signers/NOTICE

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.

packages/aws-sdk-signers/README.md

Whitespace-only changes.
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
[build-system]
2+
requires = ["setuptools", "setuptools-scm", "wheel"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "aws_sdk_signers"
7+
requires-python = ">=3.12"
8+
authors = [
9+
{name = "Amazon Web Services"},
10+
]
11+
description = "Standalone HTTP Request Signers for Amazon Web Services"
12+
readme = "README.md"
13+
license = {text = "Apache License 2.0"}
14+
keywords = ["aws", "sdk", "amazon", "signing", "sigv4", "http"]
15+
classifiers = [
16+
"Development Status :: 2 - Pre-Alpha",
17+
"Intended Audience :: Developers",
18+
"Intended Audience :: System Administrators",
19+
"Natural Language :: English",
20+
"License :: OSI Approved :: Apache Software License",
21+
"Operating System :: OS Independent",
22+
"Programming Language :: Python",
23+
"Programming Language :: Python :: 3 :: Only",
24+
"Programming Language :: Python :: 3",
25+
"Programming Language :: Python :: 3.12",
26+
"Programming Language :: Python :: Implementation :: CPython",
27+
"Topic :: Software Development :: Libraries"
28+
]
29+
dynamic = ["version"]
30+
31+
[tool.setuptools.dynamic]
32+
version = {attr = "aws_sdk_signers._version.__version__"}
33+
34+
[tool.setuptools]
35+
include-package-data = false
36+
37+
[project.optional-dependencies]
38+
test = [
39+
"freezegun",
40+
"pytest",
41+
"pytest-asyncio",
42+
"mypy",
43+
"ruff",
44+
]
45+
46+
[tool.mypy]
47+
python_version = "3.12"
48+
strict = true
49+
50+
[tool.pytest.ini_options]
51+
asyncio_mode = "auto"
52+
addopts = "-W error"
53+
54+
[tool.ruff]
55+
src = ["src"]
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
# SPDX-License-Identifier: Apache-2.0
3+
"""AWS SDK Signers provides stand-alone signing functionality for use with HTTP tools
4+
such as AioHTTP, Curl, Postman, Requests, urllib3, etc."""
5+
6+
from __future__ import annotations
7+
8+
from ._http import URI, AWSRequest, Field, Fields
9+
from ._identity import AWSCredentialIdentity
10+
from ._io import AsyncBytesReader
11+
from ._version import __version__
12+
from .signers import AsyncSigV4Signer, SigV4Signer, SigV4SigningProperties
13+
14+
__license__ = "Apache-2.0"
15+
__version__ = __version__
16+
17+
__all__ = (
18+
"AsyncBytesReader",
19+
"AsyncSigV4Signer",
20+
"AWSCredentialIdentity",
21+
"AWSRequest",
22+
"Field",
23+
"Fields",
24+
"SigV4Signer",
25+
"SigV4SigningProperties",
26+
"URI",
27+
)

0 commit comments

Comments
 (0)