Skip to main content

Shrike: incubation for Azure ML

CodeQL docs python Component Governance Python versions code style: black codecov PyPI - Downloads PyPI version license: MIT

The shrike library is a set of Python utilities for running experiments in the Azure Machine Learning platform (a.k.a. Azure ML). This library contains four elements, which are:

  • shrike.compliant_logging: utilities for compliant logging and exception handling;
  • shrike.pipeline: helper code for managing, validating and submitting Azure ML pipelines based on azure-ml-component (a.k.a. the Component SDK);
  • shrike.build: helper code for packaging, building, validating, signing and registering Azure ML components.
  • shrike.spark: utilities for running jobs, especially those leveraging Spark .NET, in HDInsight and later Synapse.

Documentation

For the full documentation of shrike with detailed examples and API reference, please see the docs page.

For a list of problems (along with guidance and solutions) designed specifically to help you learn how to use shrike, please refer to the information in this README file (located in another GitHub repository).

Installation

The shrike library is publicly available in PyPi. There are three optional extra dependencies: pipeline, build, and dev. The pipeline dependency is for submitting Azure ML pipelines, build is for signing and registering components, and dev is for the development environment of shrike.

  • If you are only planning on using the compliant-logging feature, please pip install without any extras:
pip install shrike
  • If you are planning on signing and registering components, please pip install with [build]:
pip install shrike[build]
  • If you are planning on submitting Azure ML pipelines, please pip install with [pipeline]:
pip install shrike[pipeline]
  • If you would like to contribute to the source code, please pip install with all the dependencies:
pip install shrike[pipeline,build,dev]

Alternatively, for local development, you may use the Conda environment defined in environment.yml. It pins the appropriate versions of pip, Python, and installs all shrike together with all extras as an editable package.

:warning: If you are using a ZSH terminal, please consider adding quotes, e.g., pip install "shrike[pipeline,build,dev]" to avoid the accidental shell expansion.

Migration from aml-build-tooling, aml-ds-pipeline-contrib, and confidential-ml-utils

If you have been using the aml-build-tooling, aml-ds-pipeline-contrib, or confidential-ml-utils libraries, please use the migration script (migration.py) to convert your repo or files and adopt the shrike package with one simple command:

python migraton.py --input_path PATH/TO/YOUR/REPO/OR/FILE

:warning: This command will update files in-place. Please make a copy of your repo/file if you do not want to do so.

Need Support?

If you have any feature requests, technical questions, or find any bugs, please do not hesitate to reach out to us.

  • For bug reports and feature requests, you are welcome to open an issue.
  • If you are a Microsoft employee, please refer to the support page for details;
  • If you are outside Microsoft, please send an email to aims-team@microsoft.com.

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.opensource.microsoft.com.

To contribute, please start by creating a self-assigned issue giving a high-level overview of what you'd like to do. Once any discussion there concludes, follow up with a PR.

Please join the security group "aml-ds-guests" on IDweb, if you have difficulty in creating a branch. 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., status check, 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.

Trademarks

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

shrike-1.34.8.tar.gz (141.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

shrike-1.34.8-py3-none-any.whl (155.7 kB view details)

Uploaded Python 3

File details

Details for the file shrike-1.34.8.tar.gz.

File metadata

  • Download URL: shrike-1.34.8.tar.gz
  • Upload date:
  • Size: 141.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for shrike-1.34.8.tar.gz
Algorithm Hash digest
SHA256 491b5a67600f65b03eeddca8533239a0a29122a0b4047d86517b0669dab5f01a
MD5 72ac2906b2d0e85a4457ba404464b328
BLAKE2b-256 013500b5a0eee50117fd18fdb8a833d6dacdc443d641c7edf668a1164e512f13

See more details on using hashes here.

File details

Details for the file shrike-1.34.8-py3-none-any.whl.

File metadata

  • Download URL: shrike-1.34.8-py3-none-any.whl
  • Upload date:
  • Size: 155.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for shrike-1.34.8-py3-none-any.whl
Algorithm Hash digest
SHA256 3aded939186f5c03417c5500218e4143b7248f98df099d859eca304db922a4ee
MD5 aaf47845575585980207fada63e45ce2
BLAKE2b-256 420aa37acead6a636a8a04396d230d01921c8b21e6eb9de418ffec1104ac871c

See more details on using hashes here.

Release history Release notifications | RSS feed

2.0.2

2 files

2.0.1

2 files

2.0.0

2 files

This release

1.34.8 This release

2 files

1.34.6

2 files

1.34.4

2 files

1.34.3

2 files

1.34.2

2 files

1.34.1

2 files

1.34.0

2 files

1.33.1

2 files

1.33.0

2 files

1.32.5

2 files

1.32.4

2 files

1.32.3

2 files

1.32.2

2 files

1.32.1

2 files

1.32.0

2 files

1.31.27

2 files

1.31.26

2 files

1.31.25

2 files

1.31.24

2 files

1.31.23

2 files

1.31.22

2 files

1.31.21

2 files

1.31.20

2 files

1.31.19

2 files

1.31.18

2 files

1.31.17

2 files

1.31.16

2 files

1.31.15

2 files

1.31.14

2 files

1.31.13

2 files

1.31.12

2 files

1.31.11

2 files

1.31.10

2 files

1.31.8

2 files

1.31.7

2 files

1.31.5

2 files

1.31.4

2 files

1.31.2

2 files

1.31.0

2 files

1.30.8

2 files

1.30.7

2 files

1.30.6

2 files

1.30.5

2 files

1.30.4

2 files

1.30.3

2 files

1.30.2

2 files

1.30.1

2 files

1.30.0

2 files

1.29.0

2 files

1.28.2

2 files

1.28.1

2 files

1.28.0

2 files

1.27.0

2 files

1.26.4

2 files

1.26.3

2 files

1.26.2

2 files

1.26.1

2 files

1.25.1

2 files

1.24.1

2 files

1.24.0

2 files

1.23.7

2 files

1.23.5

2 files

1.23.4

2 files

1.23.2

2 files

1.23.1

2 files

1.23.0

2 files

1.22.14

2 files

1.22.13

2 files

1.22.12

2 files

1.22.11

2 files

1.22.10

2 files

1.22.9

2 files

1.22.7

2 files

1.22.6

2 files

1.22.5

2 files

1.22.4

2 files

1.22.3

2 files

1.22.2

2 files

1.22.1

2 files

1.22.0

2 files

1.21.11

2 files

1.21.10

2 files

1.21.9

2 files

1.21.8

2 files

1.21.7

2 files

1.21.6

2 files

1.21.5

2 files

1.21.4

2 files

1.21.3

2 files

1.21.2

2 files

1.21.1

2 files

1.21.0

2 files

1.20.2

2 files

1.20.1

2 files

1.19.0

2 files

1.18.0

2 files

1.17.0

2 files

1.16.5

2 files

1.16.4

2 files

1.16.3

2 files

1.16.2

2 files

1.16.1

2 files

1.16.0

2 files

1.15.0

2 files

1.14.11

2 files

1.14.10

2 files

1.14.8

2 files

1.14.7

2 files

1.14.6

2 files

1.14.5

2 files

1.14.4

2 files

1.14.3

2 files

1.14.2

2 files

1.14.1

2 files

1.14.0

2 files

1.13.0

2 files

1.12.4

2 files

1.12.3

2 files

1.12.2

2 files

1.12.1

2 files

1.12.0

2 files

1.11.10

2 files

1.11.9

2 files

1.11.8

2 files

1.11.7

2 files

1.11.6

2 files

1.11.5

2 files

1.11.4

2 files

1.11.3

2 files

1.11.2

2 files

1.11.1

2 files

1.11.0

2 files

1.10.5

2 files

1.10.4

2 files

1.10.3

2 files

1.10.2

2 files

1.10.1

2 files

1.10.0

2 files

1.9.5

2 files

1.9.4

2 files

1.9.3

2 files

1.9.2

2 files

1.9.1

2 files

1.9.0

2 files

1.8.3

2 files

1.8.2

2 files

1.8.1

2 files

1.8.0

2 files

1.7.3

2 files

1.7.2

2 files

1.7.1

2 files

1.7.0

2 files

1.6.3

2 files

1.6.2

2 files

1.6.1

2 files

1.6.0

2 files

1.5.0

2 files

1.4.0

2 files

1.3.3

2 files

1.3.2

2 files

1.2.2

2 files

1.2.1

2 files

1.1.0

2 files

1.0.3

2 files

1.0.2

2 files

1.0.1

2 files

1.0.0

2 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