Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/aws-sdk-signers/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include aws_sdk_signers/py.typed
1 change: 1 addition & 0 deletions packages/aws-sdk-signers/NOTICE
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
Empty file.
55 changes: 55 additions & 0 deletions packages/aws-sdk-signers/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
[build-system]
requires = ["setuptools", "setuptools-scm", "wheel"]
build-backend = "setuptools.build_meta"

[project]
name = "aws_sdk_signers"
requires-python = ">=3.12"
authors = [
{name = "Amazon Web Services"},
]
description = "Standalone HTTP Request Signers for Amazon Web Services"
readme = "README.md"
license = {text = "Apache License 2.0"}
keywords = ["aws", "sdk", "amazon", "signing", "sigv4", "http"]
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"Natural Language :: English",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Software Development :: Libraries"
]
dynamic = ["version"]

[tool.setuptools.dynamic]
version = {attr = "aws_sdk_signers._version.__version__"}

[tool.setuptools]
include-package-data = false

[project.optional-dependencies]
test = [
"freezegun",
"pytest",
"pytest-asyncio",
"mypy",
"ruff",
]

[tool.mypy]
python_version = "3.12"
strict = true

[tool.pytest.ini_options]
asyncio_mode = "auto"
addopts = "-W error"

[tool.ruff]
src = ["src"]
27 changes: 27 additions & 0 deletions packages/aws-sdk-signers/src/aws_sdk_signers/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
"""AWS SDK Signers provides stand-alone signing functionality for use with HTTP tools
such as AioHTTP, Curl, Postman, Requests, urllib3, etc."""

from __future__ import annotations

from ._http import URI, AWSRequest, Field, Fields
from ._identity import AWSCredentialIdentity
from ._io import AsyncBytesReader
from ._version import __version__
from .signers import AsyncSigV4Signer, SigV4Signer, SigV4SigningProperties

__license__ = "Apache-2.0"
__version__ = __version__

__all__ = (
"AsyncBytesReader",
"AsyncSigV4Signer",
"AWSCredentialIdentity",
"AWSRequest",
"Field",
"Fields",
"SigV4Signer",
"SigV4SigningProperties",
"URI",
)
Loading
Loading