Skip to main content

Python ACR Client module

Contains a simple client for calling the v2 endpoints of the ACRCloud API.

Installation

poetry add acrclient

# or on old setup style projects
pip -m install acrclient

Usage

>>> from acrclient import Client
>>> client = Client(bearer_token="bearer-token")

Development

# setup a dev env
python -mvenv env
. env/bin/activate

# install a modern poetry version
python -mpip install poetry>=1.2.0

# install deps and dev version
poetry install

# make changes, run tests
poetry run pytest

Release Management

The CI/CD setup uses semantic commit messages following the conventional commits standard. There is a GitHub Action in .github/workflows/semantic-release.yaml that uses go-semantic-commit to create new releases.

The commit message should be structured as follows:

<type>[optional scope]: <description>

[optional body]

[optional footer(s)]

The commit contains the following structural elements, to communicate intent to the consumers of your library:

  1. fix: a commit of the type fix patches gets released with a PATCH version bump
  2. feat: a commit of the type feat gets released as a MINOR version bump
  3. BREAKING CHANGE: a commit that has a footer BREAKING CHANGE: gets released as a MAJOR version bump
  4. types other than fix: and feat: are allowed and don't trigger a release

If a commit does not contain a conventional commit style message you can fix it during the squash and merge operation on the PR.

Once a commit has landed on the main branch a release will be created and automatically published to pypi using the GitHub Action in .github/workflows/release.yaml which uses poetry to publish the package to pypi.

License

This package is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, version 3 of the License.

Copyright

Copyright (c) 2023 Radio Bern RaBe

Metadata

Release files for acrclient 0.5.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for acrclient 0.5.2
File Size Uploaded Provenance Actions
acrclient-0.5.2.tar.gz 4.1 kB Without provenance Details for acrclient-0.5.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for acrclient 0.5.2
File Interpreter ABI Platform Actions
acrclient-0.5.2-py3-none-any.whl Python 3 none any Details for acrclient-0.5.2-py3-none-any.whl

Total release size: 9.1 kB

Release files / acrclient-0.5.2.tar.gz

Download URL acrclient-0.5.2.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
7d54dddf6dbde4de96284bb9d95d72944e0d13d892cea28b6e15078091d2c75a
BLAKE2b-256 checksum
How to use checksums
3980ecee23a6ec584ee7c07ed5095c1c1a83e562683eecd4b3a329e12accd33a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.2.1 CPython/3.12.3 Linux/6.11.0-1018-azure

Release files / acrclient-0.5.2-py3-none-any.whl

Download URL acrclient-0.5.2-py3-none-any.whl
Size 5.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
30ef7ddfcd307364d58cf08cac33c0e484f6a4d2969eb7394517616a46582de6
BLAKE2b-256 checksum
How to use checksums
a41311f3c0fd3524428f8b39aaec619a627fa2277939eb12eb82f5d94ae59245
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.2.1 CPython/3.12.3 Linux/6.11.0-1018-azure

Security for acrclient 0.5.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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