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
- Python 3.10 or later is required to use this package. For more details, please read our page on Azure SDK for Python version support policy.
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.0b2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| azure_template_two-1.0.0b2.tar.gz | 6.1 kB | Details |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| azure_template_two-1.0.0b2-cp310-abi3-win_amd64.whl | CPython 3.10 | abi3 | Windows x86-64 | Details |
| azure_template_two-1.0.0b2-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.0b2-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.0b2.tar.gz
| Download URL | azure_template_two-1.0.0b2.tar.gz |
|---|---|
| Size | 6.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c522aa8d1a2fa105121f1f3f24bdad504231a0a12f2daafbbca3dece5836834c
|
|
BLAKE2b-256 checksum How to use checksums |
2877ff014b36d948638b338f28190867c49f77610e881e030eab2960a5030abb
|
| 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.0b2-cp310-abi3-win_amd64.whl
| Download URL | azure_template_two-1.0.0b2-cp310-abi3-win_amd64.whl |
|---|---|
| Size | 17.6 kB |
| Tags | CPython 3.10 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
e2a22ac1b54ed7999992b67aefb0def847c4f56af03c231cdc848031f138b1b6
|
|
BLAKE2b-256 checksum How to use checksums |
29a139cac46874216404baadd3fda60e943e51eec2675c781cbb86034241bcba
|
| 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.0b2-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.0b2-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 |
5655b47f2b0292da49c0cba67032902349c3a1fdbe0878a7587ee281d9613d37
|
|
BLAKE2b-256 checksum How to use checksums |
78ac842b5800adcd84ee8fe70a7f54df1468842ae1a66f76470db386fc768273
|
| 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.0b2-cp310-abi3-macosx_11_0_arm64.whl
| Download URL | azure_template_two-1.0.0b2-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 |
8881f474b618778f9c3ae45610a22729fd4583e9c0f88286e50b6b728331b664
|
|
BLAKE2b-256 checksum How to use checksums |
e5a78f8c702002f415b3345268ae7ae1838bc5800f4ee01c8d86a4a6c874ae7b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
RestSharp/106.13.0.0
|