Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Azure Binary Template Package client library for Python

This package is a test fixture for the Azure SDK engineering system and is not intended for direct use.

azure-template-two is the binary counterpart to azure-template. It ships a minimal C extension so that the build and release pipelines have a package that produces both platform specific wheels and an sdist.

Getting started

Installation

pip install azure-template-two

Prerequisites

Key concepts

The extension exposes a single function that takes no arguments and always returns True.

Examples

from azure.template.two import istrue

istrue.is_true()  # True

Troubleshooting

Building locally

Wheels are produced with cibuildwheel, configured in pyproject.toml to build CPython 3.10 for x86_64 Linux, x86_64 Windows, and arm64 macOS. Because the extension compiles against the CPython limited API, each wheel is tagged abi3 and remains importable on later interpreters.

To build and test the arm64 macOS wheel locally:

pip install cibuildwheel
cibuildwheel --only cp310-macosx_arm64 sdk/template/azure-template-two

A plain in-place build is also enough for local development:

pip install -e sdk/template/azure-template-two
pytest sdk/template/azure-template-two/tests

Next steps

Use it to exercise cibuildwheel, binary signing, and publishing without depending on a real service library.

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Release files for azure-template-two 1.0.0b6885700

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for azure-template-two 1.0.0b6885700
File Size Uploaded
azure_template_two-1.0.0b6885700.tar.gz 6.3 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for azure-template-two 1.0.0b6885700
File Interpreter ABI Platform
azure_template_two-1.0.0b6885700-cp310-abi3-win_amd64.whl CPython 3.10 abi3 Windows x86-64 Details
azure_template_two-1.0.0b6885700-cp310-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.10 abi3 Linux glibc 2.5+ x86-64, Linux glibc 2.17+ x86-64 Details
azure_template_two-1.0.0b6885700-cp310-abi3-macosx_11_0_arm64.whl CPython 3.10 abi3 macOS 11.0+ ARM64 Details

Total release size: 46.8 kB

Release files / azure_template_two-1.0.0b6885700.tar.gz

Download URL azure_template_two-1.0.0b6885700.tar.gz
Size 6.3 kB
Tags Source
SHA-256 checksum
How to use checksums
726ca5cdb5b2ab4a3420f308a2758ee7fdcfb7879d28685e9b551cfdc8ee251e
BLAKE2b-256 checksum
How to use checksums
4c8df762afdf5e355495dbe789717a1d16e6887c9974cf17cf8ada38be307bd3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via RestSharp/106.13.0.0

Release files / azure_template_two-1.0.0b6885700-cp310-abi3-win_amd64.whl

Download URL azure_template_two-1.0.0b6885700-cp310-abi3-win_amd64.whl
Size 17.7 kB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
132855191342c38ab442950a59dce404f18012f64e3f699ca1ca8f2b30e69f44
BLAKE2b-256 checksum
How to use checksums
64737759d94c4e2471ac02e0b4caf48aab043b8dd34c0d81237b7ce97f5b975a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via RestSharp/106.13.0.0

Release files / azure_template_two-1.0.0b6885700-cp310-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL azure_template_two-1.0.0b6885700-cp310-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 10.4 kB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 Linux glibc 2.5+ x86-64 abi3
SHA-256 checksum
How to use checksums
f9ca4ee63151d4710d1ed2d0f2f0bd43ca0e839c62003c7e2bd0b21697286bbc
BLAKE2b-256 checksum
How to use checksums
4851def917cbf3b38557c3c02f464973509698d6b8e7cda80016d371543cb167
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via RestSharp/106.13.0.0

Release files / azure_template_two-1.0.0b6885700-cp310-abi3-macosx_11_0_arm64.whl

Download URL azure_template_two-1.0.0b6885700-cp310-abi3-macosx_11_0_arm64.whl
Size 12.4 kB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
bb5685b85812e9dace50112bf36d456c549634d170ff334c3112c25e1a99b242
BLAKE2b-256 checksum
How to use checksums
103ef858ff8a6d9622ff0709d7ea7ae4c6f3a862907079c964adbd760de3a700
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via RestSharp/106.13.0.0
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page