Alation Allie SDK (Python)
Allie SDK is a Python library that Alation customers and partners can use to increase productivity when interacting with Alation’s REST APIs. By using the Allie SDK library, you can manage and change many Alation resources programmatically. You can use this library to create your own custom applications.
This repository contains Python source code for the library and documentation showing how to use it. As of June 2024, Python versions 3.10 and up are supported.
Documentation on how to use the SDK can be found at: https://alation.github.io/Allie-SDK/
Support
This is an open source project under the APACHE 2.0 License and is maintained by everyone in the Alation community. If you encounter a problem or something is not working as expected, open a GitHub issue on this repo and someone will get back to you. Please DO NOT create an Alation support case.
License
Set up instruction for developers contributing to Allie-SDK
- Download the repo.
- Install
uvif you haven’t done so already (see also here). - Within the project root folder run:
uv sync. This will create the virtual environment and install all the dependencies.
Local Builds
You can create a local build like so (execute in the project root folder):
uv build
Testing
We are using pytest and not unittest.
Make sure that the IDE you are working with is also configured to use pytest for running the tests.
To run the tests:
uv run pytest
# or with more detailed output
uv run pytest -v
Consideration when writing test
- Use
pytestnotunittest. - Don't import
request_mockand do not use decorators (since Pytest already takes care of this for you). - Bundle tests in test classes.
Metadata
Release files for allie-sdk 2.2.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| allie_sdk-2.2.3.tar.gz | 60.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| allie_sdk-2.2.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 155.9 kB
Release files / allie_sdk-2.2.3.tar.gz
| Download URL | allie_sdk-2.2.3.tar.gz |
|---|---|
| Size | 60.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1c383e4341a036de23941ec16b05f5fef029571dd2e3d26edd2d5ef995797240
|
|
BLAKE2b-256 checksum How to use checksums |
258238c1ec6b68d71e0e22b207bec0698271318b1763a923ea3c9d1b0dcf7a07
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / allie_sdk-2.2.3-py3-none-any.whl
| Download URL | allie_sdk-2.2.3-py3-none-any.whl |
|---|---|
| Size | 95.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e0e9d43a97d7c1be02cc9abc000e630b8a68fd03c2f1a9fb796c446b47c91f81
|
|
BLAKE2b-256 checksum How to use checksums |
ee951a96987d31207201a5039d978fe270adb55a33c6252e54ce2c4ce26c7cd6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|