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.0b1

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

Built distributions (wheels)

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

Total release size: 46.4 kB

Release files / azure_template_two-1.0.0b1.tar.gz

Download URL azure_template_two-1.0.0b1.tar.gz
Size 6.1 kB
Tags Source
SHA-256 checksum
How to use checksums
e5e4e5ade6f3e73b05b9bc4055c62acc1a6469ce6ed758b9264435e7d743be1d
BLAKE2b-256 checksum
How to use checksums
b6ce83d0ff7456dcdf03edf88bb4c84895726d234959ff7748519fb1eeefc106
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.0b1-cp310-abi3-win_amd64.whl

Download URL azure_template_two-1.0.0b1-cp310-abi3-win_amd64.whl
Size 17.6 kB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
7eb6545f6412474b13074db098df68fb80c9852b5e6ae529f20e851ef36ff500
BLAKE2b-256 checksum
How to use checksums
92e1e3b53a080b0f610f065846de85783c32955e0d68db3927f67e78b65f1c8a
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.0b1-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.0b1-cp310-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 10.3 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
c4fc91134866e1585590130ed4f440fa249e4db6fbe5fe940952b926c3679d98
BLAKE2b-256 checksum
How to use checksums
a374d21f696bb6a33d73848062f93c9cf768ecd9081e8ccf7febfd4aa8681ecc
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.0b1-cp310-abi3-macosx_11_0_arm64.whl

Download URL azure_template_two-1.0.0b1-cp310-abi3-macosx_11_0_arm64.whl
Size 12.3 kB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
1866ca4631d8892c66b9dcb792e49e1aae213a2c14a84e31821fe8cc20798f48
BLAKE2b-256 checksum
How to use checksums
06dadebc776f7e2bc0ba58ebfce88735d22784c831b5f0ba14173b52e723bf28
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via RestSharp/106.13.0.0

Release history Release notifications | RSS feed

This release

1.0.0b1 This release

4 release files

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