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.

Metadata

Release files for azure-template-two 1.0.0b6892506

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.0b6892506
File Size Uploaded
azure_template_two-1.0.0b6892506.tar.gz 6.2 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for azure-template-two 1.0.0b6892506
File Interpreter ABI Platform
azure_template_two-1.0.0b6892506-cp310-abi3-win_amd64.whl CPython 3.10 abi3 Windows x86-64 Details
azure_template_two-1.0.0b6892506-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.0b6892506-cp310-abi3-macosx_11_0_arm64.whl CPython 3.10 abi3 macOS 11.0+ ARM64 Details

Total release size: 46.7 kB

Release files / azure_template_two-1.0.0b6892506.tar.gz

Download URL azure_template_two-1.0.0b6892506.tar.gz
Size 6.2 kB
Tags Source
SHA-256 checksum
How to use checksums
c9fae0c3b862c6fab0efddadf1d02db310148384931b2250047f1f1dd49cd875
BLAKE2b-256 checksum
How to use checksums
31b2742481218268ac9a3faf08bd4bdccd3d418413118a22ea811d2d2d73e4b0
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.0b6892506-cp310-abi3-win_amd64.whl

Download URL azure_template_two-1.0.0b6892506-cp310-abi3-win_amd64.whl
Size 17.7 kB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
965a3dbe01dac5ed553cf06225c26607ccf312a3586705d886b68393eb5bec49
BLAKE2b-256 checksum
How to use checksums
b1fa77ed759360065e60b6ea88f6b893b5b0452b77341b27d0490690a32b3f22
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.0b6892506-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.0b6892506-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
9aad472566ddff27df777815f195bab77fa74d2467fbfe10571ae3880f869c0e
BLAKE2b-256 checksum
How to use checksums
a7dd80eafbbe2632f26ababfe83ea05604097c6c0dd8ba43f1a077dde815cc4b
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.0b6892506-cp310-abi3-macosx_11_0_arm64.whl

Download URL azure_template_two-1.0.0b6892506-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
bd63ec8962eee50763e04a0ec0d3c141d94aebac44276f0e7cb124ac02e2dc4f
BLAKE2b-256 checksum
How to use checksums
94a4d86cc234a639a48cce38702654162696897d6a53eef6586f32d39af914ef
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