azure-appconfiguration


Nameazure-appconfiguration JSON
Version 1.6.0 PyPI version JSON
download
home_pagehttps://github.com/Azure/azure-sdk-for-python/tree/main/sdk/appconfiguration/azure-appconfiguration
SummaryMicrosoft App Configuration Data Library for Python
upload_time2024-04-10 00:24:58
maintainerNone
docs_urlNone
authorMicrosoft Corporation
requires_python>=3.8
licenseMIT License
keywords azure azure sdk
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage
            # Azure App Configuration client library for Python

Azure App Configuration is a managed service that helps developers centralize their application configurations simply and securely.

Modern programs, especially programs running in a cloud, generally have many components that are distributed in nature. Spreading configuration settings across these components can lead to hard-to-troubleshoot errors during an application deployment. Use App Configuration to securely store all the settings for your application in one place.

Use the client library for App Configuration to create and manage application configuration settings.

[Source code](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/appconfiguration/azure-appconfiguration)
| [Package (Pypi)][package]
| [Package (Conda)](https://anaconda.org/microsoft/azure-appconfiguration/)
| [API reference documentation](https://learn.microsoft.com/python/api/azure-appconfiguration/azure.appconfiguration?view=azure-python)
| [Product documentation][appconfig_docs]

## Getting started

### Install the package

Install the Azure App Configuration client library for Python with pip:

```
pip install azure-appconfiguration
```

### Prerequisites

* Python 3.8 or later is required to use this package.
* You need an [Azure subscription][azure_sub], and a [Configuration Store][configuration_store] to use this package.

To create a Configuration Store, you can use the Azure Portal or [Azure CLI][azure_cli].

After that, create the Configuration Store:

```Powershell
az appconfig create --name <config-store-name> --resource-group <resource-group-name> --location eastus
```

### Authenticate the client

In order to interact with the App Configuration service, you'll need to create an instance of the
[AzureAppConfigurationClient][configuration_client_class] class. To make this possible,
you can either use the connection string of the Configuration Store or use an AAD token.

#### Use connection string

##### Get credentials

Use the [Azure CLI][azure_cli] snippet below to get the connection string from the Configuration Store.

```Powershell
az appconfig credential list --name <config-store-name>
```

Alternatively, get the connection string from the Azure Portal.

##### Create client

Once you have the value of the connection string, you can create the AzureAppConfigurationClient:

<!-- SNIPPET:hello_world_sample.create_app_config_client -->

```python
import os
from azure.appconfiguration import AzureAppConfigurationClient

CONNECTION_STRING = os.environ["APPCONFIGURATION_CONNECTION_STRING"]

# Create app config client
client = AzureAppConfigurationClient.from_connection_string(CONNECTION_STRING)
```

<!-- END SNIPPET -->

#### Use AAD token

Here we demonstrate using [DefaultAzureCredential][default_cred_ref]
to authenticate as a service principal. However, [AzureAppConfigurationClient][configuration_client_class]
accepts any [azure-identity][azure_identity] credential. See the
[azure-identity][azure_identity] documentation for more information about other
credentials.

##### Create a service principal (optional)
This [Azure CLI][azure_cli] snippet shows how to create a
new service principal. Before using it, replace "your-application-name" with
the appropriate name for your service principal.

Create a service principal:
```Bash
az ad sp create-for-rbac --name http://my-application --skip-assignment
```

> Output:
> ```json
> {
>     "appId": "generated app id",
>     "displayName": "my-application",
>     "name": "http://my-application",
>     "password": "random password",
>     "tenant": "tenant id"
> }
> ```

Use the output to set **AZURE_CLIENT_ID** ("appId" above), **AZURE_CLIENT_SECRET**
("password" above) and **AZURE_TENANT_ID** ("tenant" above) environment variables.
The following example shows a way to do this in Bash:
```Bash
export AZURE_CLIENT_ID="generated app id"
export AZURE_CLIENT_SECRET="random password"
export AZURE_TENANT_ID="tenant id"
```

Assign one of the applicable [App Configuration roles](https://docs.microsoft.com/azure/azure-app-configuration/rest-api-authorization-azure-ad) to the service principal.

##### Create a client
Once the **AZURE_CLIENT_ID**, **AZURE_CLIENT_SECRET** and
**AZURE_TENANT_ID** environment variables are set,
[DefaultAzureCredential][default_cred_ref] will be able to authenticate the
[AzureAppConfigurationClient][configuration_client_class].

Constructing the client also requires your configuration store's URL, which you can
get from the Azure CLI or the Azure Portal. In the Azure Portal, the URL can be found listed as the service "Endpoint"

```python
from azure.identity import DefaultAzureCredential
from azure.appconfiguration import AzureAppConfigurationClient

credential = DefaultAzureCredential()

client = AzureAppConfigurationClient(base_url="your_endpoint_url", credential=credential)
```

## Key concepts

### Configuration Setting

A Configuration Setting is the fundamental resource within a Configuration Store. In its simplest form it is a key and a value. However, there are additional properties such as the modifiable content type and tags fields that allow the value to be interpreted or associated in different ways.

The [Label][label_concept] property of a Configuration Setting provides a way to separate Configuration Settings into different dimensions. These dimensions are user defined and can take any form. Some common examples of dimensions to use for a label include regions, semantic versions, or environments. Many applications have a required set of configuration keys that have varying values as the application exists across different dimensions.

For example, MaxRequests may be 100 in "NorthAmerica", and 200 in "WestEurope". By creating a Configuration Setting named MaxRequests with a label of "NorthAmerica" and another, only with a different value, in the "WestEurope" label, an application can seamlessly retrieve Configuration Settings as it runs in these two dimensions.

Properties of a Configuration Setting:

```python
key : str
label : str
content_type : str
value : str
last_modified : str
read_only : bool
tags : dict
etag : str
```

### Snapshot

Azure App Configuration allows users to create a point-in-time snapshot of their configuration store, providing them with the ability to treat settings as one consistent version. This feature enables applications to hold a consistent view of configuration, ensuring that there are no version mismatches to individual settings due to reading as updates were made. Snapshots are immutable, ensuring that configuration can confidently be rolled back to a last-known-good configuration in the event of a problem.

## Examples

The following sections provide several code snippets covering some of the most common Configuration Service tasks, including:

* [Create a Configuration Setting](#create-a-configuration-setting)
* [Get a Configuration Setting](#get-a-configuration-setting)
* [Delete a Configuration Setting](#delete-a-configuration-setting)
* [List Configuration Settings](#list-configuration-settings)
* [Create a Snapshot](#create-a-snapshot)
* [Get a Snapshot](#get-a-snapshot)
* [Archive a Snapshot](#archive-a-snapshot)
* [Recover a Snapshot](#recover-a-snapshot)
* [List Snapshots](#list-snapshots)
* [List Configuration Settings of a Snapshot](#list-configuration-settings-of-a-snapshot)
* [Async APIs](#async-apis)

### Create a Configuration Setting

Create a Configuration Setting to be stored in the Configuration Store.
There are two ways to store a Configuration Setting:

- add_configuration_setting creates a setting only if the setting does not already exist in the store.

<!-- SNIPPET:hello_world_advanced_sample.create_config_setting -->

```python
config_setting = ConfigurationSetting(
    key="MyKey", label="MyLabel", value="my value", content_type="my content type", tags={"my tag": "my tag value"}
)
added_config_setting = client.add_configuration_setting(config_setting)
```

<!-- END SNIPPET -->

- set_configuration_setting creates a setting if it doesn't exist or overrides an existing setting.

<!-- SNIPPET:hello_world_advanced_sample.set_config_setting -->

```python
added_config_setting.value = "new value"
added_config_setting.content_type = "new content type"
updated_config_setting = client.set_configuration_setting(added_config_setting)
```

<!-- END SNIPPET -->

### Get a Configuration Setting

Get a previously stored Configuration Setting.

<!-- SNIPPET:hello_world_advanced_sample.get_config_setting -->

```python
fetched_config_setting = client.get_configuration_setting(key="MyKey", label="MyLabel")
```

<!-- END SNIPPET -->

### Delete a Configuration Setting

Delete an existing Configuration Setting.

<!-- SNIPPET:hello_world_advanced_sample.delete_config_setting -->

```python
client.delete_configuration_setting(
    key="MyKey",
    label="MyLabel",
)
```

<!-- END SNIPPET -->

### List Configuration Settings

List all configuration settings filtered with label_filter and/or key_filter.

<!-- SNIPPET:hello_world_advanced_sample.list_config_setting -->

```python
config_settings = client.list_configuration_settings(label_filter="MyLabel")
for item in config_settings:
    print_configuration_setting(item)
```

<!-- END SNIPPET -->

### Create a Snapshot

<!-- SNIPPET:snapshot_samples.create_snapshot -->

```python
from azure.appconfiguration import ConfigurationSettingsFilter

filters = [ConfigurationSettingsFilter(key="my_key1", label="my_label1")]
response = client.begin_create_snapshot(name=snapshot_name, filters=filters)
created_snapshot = response.result()
print_snapshot(created_snapshot)
```

<!-- END SNIPPET -->

### Get a Snapshot

<!-- SNIPPET:snapshot_samples.get_snapshot -->

```python
received_snapshot = client.get_snapshot(name=snapshot_name)
```

<!-- END SNIPPET -->

### Archive a Snapshot

<!-- SNIPPET:snapshot_samples.archive_snapshot -->

```python
archived_snapshot = client.archive_snapshot(name=snapshot_name)
print_snapshot(archived_snapshot)
```

<!-- END SNIPPET -->

### Recover a Snapshot

<!-- SNIPPET:snapshot_samples.recover_snapshot -->

```python
recovered_snapshot = client.recover_snapshot(name=snapshot_name)
print_snapshot(recovered_snapshot)
```

<!-- END SNIPPET -->

### List Snapshots

<!-- SNIPPET:snapshot_samples.list_snapshots -->

```python
for snapshot in client.list_snapshots():
    print_snapshot(snapshot)
```

<!-- END SNIPPET -->

### List Configuration Settings of a Snapshot

<!-- SNIPPET:snapshot_samples.list_configuration_settings_for_snapshot -->

```python
for config_setting in client.list_configuration_settings(snapshot_name=snapshot_name):
    print_configuration_setting(config_setting)
```

<!-- END SNIPPET -->

### Async APIs

Async client is supported.
To use the async client library, import the AzureAppConfigurationClient from package azure.appconfiguration.aio instead of azure.appconfiguration

<!-- SNIPPET:hello_world_sample_async.create_app_config_client -->

```python
import os
from azure.appconfiguration.aio import AzureAppConfigurationClient

CONNECTION_STRING = os.environ["APPCONFIGURATION_CONNECTION_STRING"]

# Create app config client
client = AzureAppConfigurationClient.from_connection_string(CONNECTION_STRING)
```

<!-- END SNIPPET -->

This async AzureAppConfigurationClient has the same method signatures as the sync ones except that they're async.
For instance, to retrieve a Configuration Setting asynchronously, async_client can be used:

<!-- SNIPPET:hello_world_advanced_sample_async.get_config_setting -->

```python
fetched_config_setting = await client.get_configuration_setting(key="MyKey", label="MyLabel")
```

<!-- END SNIPPET -->

To use list_configuration_settings, call it synchronously and iterate over the returned async iterator asynchronously

<!-- SNIPPET:hello_world_advanced_sample_async.list_config_setting -->

```python
config_settings = client.list_configuration_settings(label_filter="MyLabel")
async for item in config_settings:
    print_configuration_setting(item)
```

<!-- END SNIPPET -->

<!-- SNIPPET:snapshot_samples_async.create_snapshot -->

```python
from azure.appconfiguration import ConfigurationSettingsFilter

filters = [ConfigurationSettingsFilter(key="my_key1", label="my_label1")]
response = await client.begin_create_snapshot(name=snapshot_name, filters=filters)
created_snapshot = await response.result()
print_snapshot(created_snapshot)
```

<!-- END SNIPPET -->

<!-- SNIPPET:snapshot_samples_async.get_snapshot -->

```python
received_snapshot = await client.get_snapshot(name=snapshot_name)
```

<!-- END SNIPPET -->

<!-- SNIPPET:snapshot_samples_async.archive_snapshot -->

```python
archived_snapshot = await client.archive_snapshot(name=snapshot_name)
print_snapshot(archived_snapshot)
```

<!-- END SNIPPET -->

<!-- SNIPPET:snapshot_samples_async.recover_snapshot -->

```python
recovered_snapshot = await client.recover_snapshot(name=snapshot_name)
print_snapshot(recovered_snapshot)
```

<!-- END SNIPPET -->

<!-- SNIPPET:snapshot_samples_async.list_snapshots -->

```python
async for snapshot in client.list_snapshots():
    print_snapshot(snapshot)
```

<!-- END SNIPPET -->

<!-- SNIPPET:snapshot_samples_async.list_configuration_settings_for_snapshot -->

```python
async for config_setting in client.list_configuration_settings(snapshot_name=snapshot_name):
    print_configuration_setting(config_setting)
```

<!-- END SNIPPET -->

## Troubleshooting

See the [troubleshooting guide][troubleshooting_guide] for details on how to diagnose various failure scenarios.

## Next steps

### More sample code

Several App Configuration client library samples are available to you in this GitHub repository.  These include:
- [Hello world](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/appconfiguration/azure-appconfiguration/samples/hello_world_sample.py) / [Async version](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/appconfiguration/azure-appconfiguration/samples/hello_world_sample_async.py)
- [Hello world with labels](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/appconfiguration/azure-appconfiguration/samples/hello_world_advanced_sample.py) / [Async version](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/appconfiguration/azure-appconfiguration/samples/hello_world_advanced_sample_async.py)
- [Make a configuration setting readonly](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/appconfiguration/azure-appconfiguration/samples/read_only_sample.py) / [Async version](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/appconfiguration/azure-appconfiguration/samples/hello_world_sample_async.py)
- [Read revision history](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/appconfiguration/azure-appconfiguration/samples/list_revision_sample.py) / [Async version](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/appconfiguration/azure-appconfiguration/samples/list_revision_sample_async.py)
- [Get a setting if changed](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/appconfiguration/azure-appconfiguration/samples/conditional_operation_sample.py) / [Async version](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/appconfiguration/azure-appconfiguration/samples/conditional_operation_sample_async.py)
- [Create, retrieve and update status of a configuration settings snapshot](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/appconfiguration/azure-appconfiguration/samples/snapshot_samples.py) / [Async version](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/appconfiguration/azure-appconfiguration/samples/snapshot_samples_async.py)

 For more details see the [samples README](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/appconfiguration/azure-appconfiguration/samples/README.md).

## 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][code_of_conduct]. For more information,
see the [Code of Conduct FAQ][coc_faq] or contact [opencode@microsoft.com][coc_contact] with any
additional questions or comments.

<!-- LINKS -->
[appconfig_docs]: https://docs.microsoft.com/azure/azure-app-configuration/
[appconfig_rest]: https://github.com/Azure/AppConfiguration#rest-api-reference
[azure_cli]: https://docs.microsoft.com/cli/azure
[azure_sub]: https://azure.microsoft.com/free/
[configuration_client_class]: https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/appconfiguration/azure-appconfiguration/azure/appconfiguration/_azure_appconfiguration_client.py
[package]: https://pypi.org/project/azure-appconfiguration/
[configuration_store]: https://azure.microsoft.com/services/app-configuration/
[default_cred_ref]: https://aka.ms/azsdk-python-identity-default-cred-ref
[azure_identity]: https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/identity/azure-identity
[cla]: https://cla.microsoft.com
[code_of_conduct]: https://opensource.microsoft.com/codeofconduct/
[coc_faq]: https://opensource.microsoft.com/codeofconduct/faq/
[coc_contact]: mailto:opencode@microsoft.com
[troubleshooting_guide]: https://aka.ms/azsdk/python/appconfiguration/troubleshoot
[label_concept]: https://docs.microsoft.com/azure/azure-app-configuration/concept-key-value#label-keys


# Release History

## 1.6.0 (2024-04-09)

### Features Added
- Exposed `send_request()` method in each client to send custom requests using the client's existing pipeline.
- Supported to get page ETag while iterating `list_configuration_setting()` result by page.

### Bugs Fixed
- Fixed a bug in consuming "etag" value in sync operation `set_configuration_setting()`.
- Changed invalid default value `None` to `False` for property `enabled` in `FeatureFlagConfigurationSetting`.
- Fixed the issue that `description`, `display_name` and other customer fields are missing when de/serializing `FeatureFlagConfigurationSetting` objects.

## 1.6.0b2 (2024-03-21)

### Bugs Fixed
- Changed invalid default value `None` to `False` for property `enabled` in `FeatureFlagConfigurationSetting`.
- Fixed the issue that `description`, `display_name` and other customer fields are missing when de/serializing `FeatureFlagConfigurationSetting` objects.

## 1.6.0b1 (2024-03-14)

### Features Added
- Exposed `send_request()` method in each client to send custom requests using the client's existing pipeline.
- Supported to get page ETag while iterating `list_configuration_setting()` result by page.

### Bugs Fixed
- Fixed a bug in consuming "etag" value in sync operation `set_configuration_setting()`.

## 1.5.0 (2023-11-09)

### Other Changes
- Supported datetime type for keyword argument `accept_datetime` in `get_snapshot_configuration_settings()`, `list_snapshot_configuration_settings()` and `list_revisions()`.
- Bumped minimum dependency on `azure-core` to `>=1.28.0`.
- Updated the default `api_version` to "2023-10-01".
- Removed `etag` keyword documentation in `set_read_only()` as it's not in use.
- Added support for Python 3.12.
- Python 3.7 is no longer supported. Please use Python version 3.8 or later.

## 1.5.0b3 (2023-10-10)

### Breaking Changes
- Renamed parameter `name` in `list_snapshot_configuration_settings()` to `snapshot_name`.
- Removed keyword argument `accept_datetime` in `list_snapshot_configuration_settings()`.
- Moved operation `list_snapshot_configuration_settings()` to an overload of `list_configuration_settings()`, and moved the parameter `snapshot_name` to keyword.
- Published enum `SnapshotStatus`, and accepted the type for `status` parameter in `list_snapshots()` and `status` property in `Snapshot` model.
- Renamed model `Snapshot` to `ConfigurationSnapshot`.
- Renamed model `ConfigurationSettingFilter` to `ConfigurationSettingsFilter`.

## 1.5.0b2 (2023-08-02)

### Bugs Fixed
- Fixed a bug in deserializing and serializing Snapshot when `filters` property is `None`.
- Fixed a bug when creating `FeatureFlagConfigurationSetting` from SDK but having an error in portal.([#31326](https://github.com/Azure/azure-sdk-for-python/issues/31326))

## 1.5.0b1 (2023-07-11)

### Features Added
- Added support for `Snapshot` CRUD operations.

### Bugs Fixed
- Fixed async `update_sync_token()` to use async/await keywords.

### Other Changes
- Bumped minimum dependency on `azure-core` to `>=1.25.0`.
- Updated the default `api_version` to "2022-11-01-preview".

## 1.4.0 (2022-02-13)

### Other Changes
- Python 2.7 is no longer supported. Please use Python version 3.7 or later.
- Bumped minimum dependency on `azure-core` to `>=1.24.0`.
- Changed the default async transport from `AsyncioRequestsTransport` to the one used in current `azure-core` (`AioHttpTransport`). ([#26427](https://github.com/Azure/azure-sdk-for-python/issues/26427))
- Dropped `msrest` requirement.
- Added dependency `isodate` with version range `>=0.6.0`.

## 1.3.0 (2021-11-10)

### Bugs Fixed
- Fixed the issue that data was persisted according to an incorrect schema/in an incorrect format ([#20518](https://github.com/Azure/azure-sdk-for-python/issues/20518))

  `SecretReferenceConfigurationSetting` in 1.2.0 used "secret_uri" rather than "uri" as the schema keywords which 
  broken inter-operation of `SecretReferenceConfigurationSetting` between SDK and the portal. 
  
  Please:
  - Use 1.3.0+ for any `SecretReferenceConfigurationSetting` uses.
  - Call a get method for existing `SecretReferenceConfigurationSetting`s and set them back to correct the format.

## 1.2.0 (2021-07-06)
### Features Added
* Added `FeatureFlagConfigurationSetting` and `SecretReferenceConfigurationSetting` models
* `AzureAppConfigurationClient` can now be used as a context manager.
* Added `update_sync_token()` to update sync tokens from Event Grid notifications.

## 1.2.0b2 (2021-06-08)

### Features
- Added context manager functionality to the sync and async `AzureAppConfigurationClient`s.

### Fixes
- Fixed a deserialization bug for `FeatureFlagConfigurationSetting` and `SecretReferenceConfigurationSetting`.

## 1.2.0b1 (2021-04-06)

### Features

- Added method `update_sync_token()` to include sync tokens from EventGrid notifications.
- Added `SecretReferenceConfigurationSetting` type to represent a configuration setting that references a KeyVault Secret.
- Added `FeatureFlagConfigurationSetting` type to represent a configuration setting that controls a feature flag.

## 1.1.1 (2020-10-05)

### Features

- Improved error message if Connection string secret has incorrect padding. ([#14140](https://github.com/Azure/azure-sdk-for-python/issues/14140))

## 1.1.0 (2020-09-08)

### Features

- Added match condition support for `set_read_only()` method. ([#13276](https://github.com/Azure/azure-sdk-for-python/issues/13276))

## 1.0.1 (2020-08-10)

### Fixes

- Doc & Sample fixes

## 1.0.0 (2020-01-06)

### Features

- Added AAD auth support. ([#8924](https://github.com/Azure/azure-sdk-for-python/issues/8924))

### Breaking changes

- `list_configuration_settings()` & `list_revisions()` now take string key/label filter instead of keys/labels list. ([#9066](https://github.com/Azure/azure-sdk-for-python/issues/9066))

## 1.0.0b6 (2019-12-03)

### Features

- Added sync-token support. ([#8418](https://github.com/Azure/azure-sdk-for-python/issues/8418))

### Breaking changes

- Combined set_read_only & clear_read_only to be set_read_only(True/False). ([#8453](https://github.com/Azure/azure-sdk-for-python/issues/8453))

## 1.0.0b5 (2019-10-30)

### Breaking changes

- `etag` and `match_condition` of `delete_configuration_setting()` are now keyword argument only. ([#8161](https://github.com/Azure/azure-sdk-for-python/issues/8161))

## 1.0.0b4 (2019-10-07)

- Added conditional operation support
- Added `set_read_only()` and `clear_read_only()` methods

## 1.0.0b3 (2019-09-09)

- New azure app configuration

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/appconfiguration/azure-appconfiguration",
    "name": "azure-appconfiguration",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": "azure, azure sdk",
    "author": "Microsoft Corporation",
    "author_email": "azpysdkhelp@microsoft.com",
    "download_url": "https://files.pythonhosted.org/packages/82/36/b27acedbcd25a852250da95d93f59a046f8b23bda2ee4ad84ddb2caf28cf/azure-appconfiguration-1.6.0.tar.gz",
    "platform": null,
    "description": "# Azure App Configuration client library for Python\n\nAzure App Configuration is a managed service that helps developers centralize their application configurations simply and securely.\n\nModern programs, especially programs running in a cloud, generally have many components that are distributed in nature. Spreading configuration settings across these components can lead to hard-to-troubleshoot errors during an application deployment. Use App Configuration to securely store all the settings for your application in one place.\n\nUse the client library for App Configuration to create and manage application configuration settings.\n\n[Source code](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/appconfiguration/azure-appconfiguration)\n| [Package (Pypi)][package]\n| [Package (Conda)](https://anaconda.org/microsoft/azure-appconfiguration/)\n| [API reference documentation](https://learn.microsoft.com/python/api/azure-appconfiguration/azure.appconfiguration?view=azure-python)\n| [Product documentation][appconfig_docs]\n\n## Getting started\n\n### Install the package\n\nInstall the Azure App Configuration client library for Python with pip:\n\n```\npip install azure-appconfiguration\n```\n\n### Prerequisites\n\n* Python 3.8 or later is required to use this package.\n* You need an [Azure subscription][azure_sub], and a [Configuration Store][configuration_store] to use this package.\n\nTo create a Configuration Store, you can use the Azure Portal or [Azure CLI][azure_cli].\n\nAfter that, create the Configuration Store:\n\n```Powershell\naz appconfig create --name <config-store-name> --resource-group <resource-group-name> --location eastus\n```\n\n### Authenticate the client\n\nIn order to interact with the App Configuration service, you'll need to create an instance of the\n[AzureAppConfigurationClient][configuration_client_class] class. To make this possible,\nyou can either use the connection string of the Configuration Store or use an AAD token.\n\n#### Use connection string\n\n##### Get credentials\n\nUse the [Azure CLI][azure_cli] snippet below to get the connection string from the Configuration Store.\n\n```Powershell\naz appconfig credential list --name <config-store-name>\n```\n\nAlternatively, get the connection string from the Azure Portal.\n\n##### Create client\n\nOnce you have the value of the connection string, you can create the AzureAppConfigurationClient:\n\n<!-- SNIPPET:hello_world_sample.create_app_config_client -->\n\n```python\nimport os\nfrom azure.appconfiguration import AzureAppConfigurationClient\n\nCONNECTION_STRING = os.environ[\"APPCONFIGURATION_CONNECTION_STRING\"]\n\n# Create app config client\nclient = AzureAppConfigurationClient.from_connection_string(CONNECTION_STRING)\n```\n\n<!-- END SNIPPET -->\n\n#### Use AAD token\n\nHere we demonstrate using [DefaultAzureCredential][default_cred_ref]\nto authenticate as a service principal. However, [AzureAppConfigurationClient][configuration_client_class]\naccepts any [azure-identity][azure_identity] credential. See the\n[azure-identity][azure_identity] documentation for more information about other\ncredentials.\n\n##### Create a service principal (optional)\nThis [Azure CLI][azure_cli] snippet shows how to create a\nnew service principal. Before using it, replace \"your-application-name\" with\nthe appropriate name for your service principal.\n\nCreate a service principal:\n```Bash\naz ad sp create-for-rbac --name http://my-application --skip-assignment\n```\n\n> Output:\n> ```json\n> {\n>     \"appId\": \"generated app id\",\n>     \"displayName\": \"my-application\",\n>     \"name\": \"http://my-application\",\n>     \"password\": \"random password\",\n>     \"tenant\": \"tenant id\"\n> }\n> ```\n\nUse the output to set **AZURE_CLIENT_ID** (\"appId\" above), **AZURE_CLIENT_SECRET**\n(\"password\" above) and **AZURE_TENANT_ID** (\"tenant\" above) environment variables.\nThe following example shows a way to do this in Bash:\n```Bash\nexport AZURE_CLIENT_ID=\"generated app id\"\nexport AZURE_CLIENT_SECRET=\"random password\"\nexport AZURE_TENANT_ID=\"tenant id\"\n```\n\nAssign one of the applicable [App Configuration roles](https://docs.microsoft.com/azure/azure-app-configuration/rest-api-authorization-azure-ad) to the service principal.\n\n##### Create a client\nOnce the **AZURE_CLIENT_ID**, **AZURE_CLIENT_SECRET** and\n**AZURE_TENANT_ID** environment variables are set,\n[DefaultAzureCredential][default_cred_ref] will be able to authenticate the\n[AzureAppConfigurationClient][configuration_client_class].\n\nConstructing the client also requires your configuration store's URL, which you can\nget from the Azure CLI or the Azure Portal. In the Azure Portal, the URL can be found listed as the service \"Endpoint\"\n\n```python\nfrom azure.identity import DefaultAzureCredential\nfrom azure.appconfiguration import AzureAppConfigurationClient\n\ncredential = DefaultAzureCredential()\n\nclient = AzureAppConfigurationClient(base_url=\"your_endpoint_url\", credential=credential)\n```\n\n## Key concepts\n\n### Configuration Setting\n\nA Configuration Setting is the fundamental resource within a Configuration Store. In its simplest form it is a key and a value. However, there are additional properties such as the modifiable content type and tags fields that allow the value to be interpreted or associated in different ways.\n\nThe [Label][label_concept] property of a Configuration Setting provides a way to separate Configuration Settings into different dimensions. These dimensions are user defined and can take any form. Some common examples of dimensions to use for a label include regions, semantic versions, or environments. Many applications have a required set of configuration keys that have varying values as the application exists across different dimensions.\n\nFor example, MaxRequests may be 100 in \"NorthAmerica\", and 200 in \"WestEurope\". By creating a Configuration Setting named MaxRequests with a label of \"NorthAmerica\" and another, only with a different value, in the \"WestEurope\" label, an application can seamlessly retrieve Configuration Settings as it runs in these two dimensions.\n\nProperties of a Configuration Setting:\n\n```python\nkey : str\nlabel : str\ncontent_type : str\nvalue : str\nlast_modified : str\nread_only : bool\ntags : dict\netag : str\n```\n\n### Snapshot\n\nAzure App Configuration allows users to create a point-in-time snapshot of their configuration store, providing them with the ability to treat settings as one consistent version. This feature enables applications to hold a consistent view of configuration, ensuring that there are no version mismatches to individual settings due to reading as updates were made. Snapshots are immutable, ensuring that configuration can confidently be rolled back to a last-known-good configuration in the event of a problem.\n\n## Examples\n\nThe following sections provide several code snippets covering some of the most common Configuration Service tasks, including:\n\n* [Create a Configuration Setting](#create-a-configuration-setting)\n* [Get a Configuration Setting](#get-a-configuration-setting)\n* [Delete a Configuration Setting](#delete-a-configuration-setting)\n* [List Configuration Settings](#list-configuration-settings)\n* [Create a Snapshot](#create-a-snapshot)\n* [Get a Snapshot](#get-a-snapshot)\n* [Archive a Snapshot](#archive-a-snapshot)\n* [Recover a Snapshot](#recover-a-snapshot)\n* [List Snapshots](#list-snapshots)\n* [List Configuration Settings of a Snapshot](#list-configuration-settings-of-a-snapshot)\n* [Async APIs](#async-apis)\n\n### Create a Configuration Setting\n\nCreate a Configuration Setting to be stored in the Configuration Store.\nThere are two ways to store a Configuration Setting:\n\n- add_configuration_setting creates a setting only if the setting does not already exist in the store.\n\n<!-- SNIPPET:hello_world_advanced_sample.create_config_setting -->\n\n```python\nconfig_setting = ConfigurationSetting(\n    key=\"MyKey\", label=\"MyLabel\", value=\"my value\", content_type=\"my content type\", tags={\"my tag\": \"my tag value\"}\n)\nadded_config_setting = client.add_configuration_setting(config_setting)\n```\n\n<!-- END SNIPPET -->\n\n- set_configuration_setting creates a setting if it doesn't exist or overrides an existing setting.\n\n<!-- SNIPPET:hello_world_advanced_sample.set_config_setting -->\n\n```python\nadded_config_setting.value = \"new value\"\nadded_config_setting.content_type = \"new content type\"\nupdated_config_setting = client.set_configuration_setting(added_config_setting)\n```\n\n<!-- END SNIPPET -->\n\n### Get a Configuration Setting\n\nGet a previously stored Configuration Setting.\n\n<!-- SNIPPET:hello_world_advanced_sample.get_config_setting -->\n\n```python\nfetched_config_setting = client.get_configuration_setting(key=\"MyKey\", label=\"MyLabel\")\n```\n\n<!-- END SNIPPET -->\n\n### Delete a Configuration Setting\n\nDelete an existing Configuration Setting.\n\n<!-- SNIPPET:hello_world_advanced_sample.delete_config_setting -->\n\n```python\nclient.delete_configuration_setting(\n    key=\"MyKey\",\n    label=\"MyLabel\",\n)\n```\n\n<!-- END SNIPPET -->\n\n### List Configuration Settings\n\nList all configuration settings filtered with label_filter and/or key_filter.\n\n<!-- SNIPPET:hello_world_advanced_sample.list_config_setting -->\n\n```python\nconfig_settings = client.list_configuration_settings(label_filter=\"MyLabel\")\nfor item in config_settings:\n    print_configuration_setting(item)\n```\n\n<!-- END SNIPPET -->\n\n### Create a Snapshot\n\n<!-- SNIPPET:snapshot_samples.create_snapshot -->\n\n```python\nfrom azure.appconfiguration import ConfigurationSettingsFilter\n\nfilters = [ConfigurationSettingsFilter(key=\"my_key1\", label=\"my_label1\")]\nresponse = client.begin_create_snapshot(name=snapshot_name, filters=filters)\ncreated_snapshot = response.result()\nprint_snapshot(created_snapshot)\n```\n\n<!-- END SNIPPET -->\n\n### Get a Snapshot\n\n<!-- SNIPPET:snapshot_samples.get_snapshot -->\n\n```python\nreceived_snapshot = client.get_snapshot(name=snapshot_name)\n```\n\n<!-- END SNIPPET -->\n\n### Archive a Snapshot\n\n<!-- SNIPPET:snapshot_samples.archive_snapshot -->\n\n```python\narchived_snapshot = client.archive_snapshot(name=snapshot_name)\nprint_snapshot(archived_snapshot)\n```\n\n<!-- END SNIPPET -->\n\n### Recover a Snapshot\n\n<!-- SNIPPET:snapshot_samples.recover_snapshot -->\n\n```python\nrecovered_snapshot = client.recover_snapshot(name=snapshot_name)\nprint_snapshot(recovered_snapshot)\n```\n\n<!-- END SNIPPET -->\n\n### List Snapshots\n\n<!-- SNIPPET:snapshot_samples.list_snapshots -->\n\n```python\nfor snapshot in client.list_snapshots():\n    print_snapshot(snapshot)\n```\n\n<!-- END SNIPPET -->\n\n### List Configuration Settings of a Snapshot\n\n<!-- SNIPPET:snapshot_samples.list_configuration_settings_for_snapshot -->\n\n```python\nfor config_setting in client.list_configuration_settings(snapshot_name=snapshot_name):\n    print_configuration_setting(config_setting)\n```\n\n<!-- END SNIPPET -->\n\n### Async APIs\n\nAsync client is supported.\nTo use the async client library, import the AzureAppConfigurationClient from package azure.appconfiguration.aio instead of azure.appconfiguration\n\n<!-- SNIPPET:hello_world_sample_async.create_app_config_client -->\n\n```python\nimport os\nfrom azure.appconfiguration.aio import AzureAppConfigurationClient\n\nCONNECTION_STRING = os.environ[\"APPCONFIGURATION_CONNECTION_STRING\"]\n\n# Create app config client\nclient = AzureAppConfigurationClient.from_connection_string(CONNECTION_STRING)\n```\n\n<!-- END SNIPPET -->\n\nThis async AzureAppConfigurationClient has the same method signatures as the sync ones except that they're async.\nFor instance, to retrieve a Configuration Setting asynchronously, async_client can be used:\n\n<!-- SNIPPET:hello_world_advanced_sample_async.get_config_setting -->\n\n```python\nfetched_config_setting = await client.get_configuration_setting(key=\"MyKey\", label=\"MyLabel\")\n```\n\n<!-- END SNIPPET -->\n\nTo use list_configuration_settings, call it synchronously and iterate over the returned async iterator asynchronously\n\n<!-- SNIPPET:hello_world_advanced_sample_async.list_config_setting -->\n\n```python\nconfig_settings = client.list_configuration_settings(label_filter=\"MyLabel\")\nasync for item in config_settings:\n    print_configuration_setting(item)\n```\n\n<!-- END SNIPPET -->\n\n<!-- SNIPPET:snapshot_samples_async.create_snapshot -->\n\n```python\nfrom azure.appconfiguration import ConfigurationSettingsFilter\n\nfilters = [ConfigurationSettingsFilter(key=\"my_key1\", label=\"my_label1\")]\nresponse = await client.begin_create_snapshot(name=snapshot_name, filters=filters)\ncreated_snapshot = await response.result()\nprint_snapshot(created_snapshot)\n```\n\n<!-- END SNIPPET -->\n\n<!-- SNIPPET:snapshot_samples_async.get_snapshot -->\n\n```python\nreceived_snapshot = await client.get_snapshot(name=snapshot_name)\n```\n\n<!-- END SNIPPET -->\n\n<!-- SNIPPET:snapshot_samples_async.archive_snapshot -->\n\n```python\narchived_snapshot = await client.archive_snapshot(name=snapshot_name)\nprint_snapshot(archived_snapshot)\n```\n\n<!-- END SNIPPET -->\n\n<!-- SNIPPET:snapshot_samples_async.recover_snapshot -->\n\n```python\nrecovered_snapshot = await client.recover_snapshot(name=snapshot_name)\nprint_snapshot(recovered_snapshot)\n```\n\n<!-- END SNIPPET -->\n\n<!-- SNIPPET:snapshot_samples_async.list_snapshots -->\n\n```python\nasync for snapshot in client.list_snapshots():\n    print_snapshot(snapshot)\n```\n\n<!-- END SNIPPET -->\n\n<!-- SNIPPET:snapshot_samples_async.list_configuration_settings_for_snapshot -->\n\n```python\nasync for config_setting in client.list_configuration_settings(snapshot_name=snapshot_name):\n    print_configuration_setting(config_setting)\n```\n\n<!-- END SNIPPET -->\n\n## Troubleshooting\n\nSee the [troubleshooting guide][troubleshooting_guide] for details on how to diagnose various failure scenarios.\n\n## Next steps\n\n### More sample code\n\nSeveral App Configuration client library samples are available to you in this GitHub repository.  These include:\n- [Hello world](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/appconfiguration/azure-appconfiguration/samples/hello_world_sample.py) / [Async version](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/appconfiguration/azure-appconfiguration/samples/hello_world_sample_async.py)\n- [Hello world with labels](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/appconfiguration/azure-appconfiguration/samples/hello_world_advanced_sample.py) / [Async version](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/appconfiguration/azure-appconfiguration/samples/hello_world_advanced_sample_async.py)\n- [Make a configuration setting readonly](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/appconfiguration/azure-appconfiguration/samples/read_only_sample.py) / [Async version](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/appconfiguration/azure-appconfiguration/samples/hello_world_sample_async.py)\n- [Read revision history](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/appconfiguration/azure-appconfiguration/samples/list_revision_sample.py) / [Async version](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/appconfiguration/azure-appconfiguration/samples/list_revision_sample_async.py)\n- [Get a setting if changed](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/appconfiguration/azure-appconfiguration/samples/conditional_operation_sample.py) / [Async version](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/appconfiguration/azure-appconfiguration/samples/conditional_operation_sample_async.py)\n- [Create, retrieve and update status of a configuration settings snapshot](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/appconfiguration/azure-appconfiguration/samples/snapshot_samples.py) / [Async version](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/appconfiguration/azure-appconfiguration/samples/snapshot_samples_async.py)\n\n For more details see the [samples README](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/appconfiguration/azure-appconfiguration/samples/README.md).\n\n## Contributing\n\nThis project welcomes contributions and suggestions. Most contributions require\nyou to agree to a Contributor License Agreement (CLA) declaring that you have\nthe right to, and actually do, grant us the rights to use your contribution.\nFor details, visit https://cla.microsoft.com.\n\nWhen you submit a pull request, a CLA-bot will automatically determine whether\nyou need to provide a CLA and decorate the PR appropriately (e.g., label,\ncomment). Simply follow the instructions provided by the bot. You will only\nneed to do this once across all repos using our CLA.\n\nThis project has adopted the\n[Microsoft Open Source Code of Conduct][code_of_conduct]. For more information,\nsee the [Code of Conduct FAQ][coc_faq] or contact [opencode@microsoft.com][coc_contact] with any\nadditional questions or comments.\n\n<!-- LINKS -->\n[appconfig_docs]: https://docs.microsoft.com/azure/azure-app-configuration/\n[appconfig_rest]: https://github.com/Azure/AppConfiguration#rest-api-reference\n[azure_cli]: https://docs.microsoft.com/cli/azure\n[azure_sub]: https://azure.microsoft.com/free/\n[configuration_client_class]: https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/appconfiguration/azure-appconfiguration/azure/appconfiguration/_azure_appconfiguration_client.py\n[package]: https://pypi.org/project/azure-appconfiguration/\n[configuration_store]: https://azure.microsoft.com/services/app-configuration/\n[default_cred_ref]: https://aka.ms/azsdk-python-identity-default-cred-ref\n[azure_identity]: https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/identity/azure-identity\n[cla]: https://cla.microsoft.com\n[code_of_conduct]: https://opensource.microsoft.com/codeofconduct/\n[coc_faq]: https://opensource.microsoft.com/codeofconduct/faq/\n[coc_contact]: mailto:opencode@microsoft.com\n[troubleshooting_guide]: https://aka.ms/azsdk/python/appconfiguration/troubleshoot\n[label_concept]: https://docs.microsoft.com/azure/azure-app-configuration/concept-key-value#label-keys\n\n\n# Release History\n\n## 1.6.0 (2024-04-09)\n\n### Features Added\n- Exposed `send_request()` method in each client to send custom requests using the client's existing pipeline.\n- Supported to get page ETag while iterating `list_configuration_setting()` result by page.\n\n### Bugs Fixed\n- Fixed a bug in consuming \"etag\" value in sync operation `set_configuration_setting()`.\n- Changed invalid default value `None` to `False` for property `enabled` in `FeatureFlagConfigurationSetting`.\n- Fixed the issue that `description`, `display_name` and other customer fields are missing when de/serializing `FeatureFlagConfigurationSetting` objects.\n\n## 1.6.0b2 (2024-03-21)\n\n### Bugs Fixed\n- Changed invalid default value `None` to `False` for property `enabled` in `FeatureFlagConfigurationSetting`.\n- Fixed the issue that `description`, `display_name` and other customer fields are missing when de/serializing `FeatureFlagConfigurationSetting` objects.\n\n## 1.6.0b1 (2024-03-14)\n\n### Features Added\n- Exposed `send_request()` method in each client to send custom requests using the client's existing pipeline.\n- Supported to get page ETag while iterating `list_configuration_setting()` result by page.\n\n### Bugs Fixed\n- Fixed a bug in consuming \"etag\" value in sync operation `set_configuration_setting()`.\n\n## 1.5.0 (2023-11-09)\n\n### Other Changes\n- Supported datetime type for keyword argument `accept_datetime` in `get_snapshot_configuration_settings()`, `list_snapshot_configuration_settings()` and `list_revisions()`.\n- Bumped minimum dependency on `azure-core` to `>=1.28.0`.\n- Updated the default `api_version` to \"2023-10-01\".\n- Removed `etag` keyword documentation in `set_read_only()` as it's not in use.\n- Added support for Python 3.12.\n- Python 3.7 is no longer supported. Please use Python version 3.8 or later.\n\n## 1.5.0b3 (2023-10-10)\n\n### Breaking Changes\n- Renamed parameter `name` in `list_snapshot_configuration_settings()` to `snapshot_name`.\n- Removed keyword argument `accept_datetime` in `list_snapshot_configuration_settings()`.\n- Moved operation `list_snapshot_configuration_settings()` to an overload of `list_configuration_settings()`, and moved the parameter `snapshot_name` to keyword.\n- Published enum `SnapshotStatus`, and accepted the type for `status` parameter in `list_snapshots()` and `status` property in `Snapshot` model.\n- Renamed model `Snapshot` to `ConfigurationSnapshot`.\n- Renamed model `ConfigurationSettingFilter` to `ConfigurationSettingsFilter`.\n\n## 1.5.0b2 (2023-08-02)\n\n### Bugs Fixed\n- Fixed a bug in deserializing and serializing Snapshot when `filters` property is `None`.\n- Fixed a bug when creating `FeatureFlagConfigurationSetting` from SDK but having an error in portal.([#31326](https://github.com/Azure/azure-sdk-for-python/issues/31326))\n\n## 1.5.0b1 (2023-07-11)\n\n### Features Added\n- Added support for `Snapshot` CRUD operations.\n\n### Bugs Fixed\n- Fixed async `update_sync_token()` to use async/await keywords.\n\n### Other Changes\n- Bumped minimum dependency on `azure-core` to `>=1.25.0`.\n- Updated the default `api_version` to \"2022-11-01-preview\".\n\n## 1.4.0 (2022-02-13)\n\n### Other Changes\n- Python 2.7 is no longer supported. Please use Python version 3.7 or later.\n- Bumped minimum dependency on `azure-core` to `>=1.24.0`.\n- Changed the default async transport from `AsyncioRequestsTransport` to the one used in current `azure-core` (`AioHttpTransport`). ([#26427](https://github.com/Azure/azure-sdk-for-python/issues/26427))\n- Dropped `msrest` requirement.\n- Added dependency `isodate` with version range `>=0.6.0`.\n\n## 1.3.0 (2021-11-10)\n\n### Bugs Fixed\n- Fixed the issue that data was persisted according to an incorrect schema/in an incorrect format ([#20518](https://github.com/Azure/azure-sdk-for-python/issues/20518))\n\n  `SecretReferenceConfigurationSetting` in 1.2.0 used \"secret_uri\" rather than \"uri\" as the schema keywords which \n  broken inter-operation of `SecretReferenceConfigurationSetting` between SDK and the portal. \n  \n  Please:\n  - Use 1.3.0+ for any `SecretReferenceConfigurationSetting` uses.\n  - Call a get method for existing `SecretReferenceConfigurationSetting`s and set them back to correct the format.\n\n## 1.2.0 (2021-07-06)\n### Features Added\n* Added `FeatureFlagConfigurationSetting` and `SecretReferenceConfigurationSetting` models\n* `AzureAppConfigurationClient` can now be used as a context manager.\n* Added `update_sync_token()` to update sync tokens from Event Grid notifications.\n\n## 1.2.0b2 (2021-06-08)\n\n### Features\n- Added context manager functionality to the sync and async `AzureAppConfigurationClient`s.\n\n### Fixes\n- Fixed a deserialization bug for `FeatureFlagConfigurationSetting` and `SecretReferenceConfigurationSetting`.\n\n## 1.2.0b1 (2021-04-06)\n\n### Features\n\n- Added method `update_sync_token()` to include sync tokens from EventGrid notifications.\n- Added `SecretReferenceConfigurationSetting` type to represent a configuration setting that references a KeyVault Secret.\n- Added `FeatureFlagConfigurationSetting` type to represent a configuration setting that controls a feature flag.\n\n## 1.1.1 (2020-10-05)\n\n### Features\n\n- Improved error message if Connection string secret has incorrect padding. ([#14140](https://github.com/Azure/azure-sdk-for-python/issues/14140))\n\n## 1.1.0 (2020-09-08)\n\n### Features\n\n- Added match condition support for `set_read_only()` method. ([#13276](https://github.com/Azure/azure-sdk-for-python/issues/13276))\n\n## 1.0.1 (2020-08-10)\n\n### Fixes\n\n- Doc & Sample fixes\n\n## 1.0.0 (2020-01-06)\n\n### Features\n\n- Added AAD auth support. ([#8924](https://github.com/Azure/azure-sdk-for-python/issues/8924))\n\n### Breaking changes\n\n- `list_configuration_settings()` & `list_revisions()` now take string key/label filter instead of keys/labels list. ([#9066](https://github.com/Azure/azure-sdk-for-python/issues/9066))\n\n## 1.0.0b6 (2019-12-03)\n\n### Features\n\n- Added sync-token support. ([#8418](https://github.com/Azure/azure-sdk-for-python/issues/8418))\n\n### Breaking changes\n\n- Combined set_read_only & clear_read_only to be set_read_only(True/False). ([#8453](https://github.com/Azure/azure-sdk-for-python/issues/8453))\n\n## 1.0.0b5 (2019-10-30)\n\n### Breaking changes\n\n- `etag` and `match_condition` of `delete_configuration_setting()` are now keyword argument only. ([#8161](https://github.com/Azure/azure-sdk-for-python/issues/8161))\n\n## 1.0.0b4 (2019-10-07)\n\n- Added conditional operation support\n- Added `set_read_only()` and `clear_read_only()` methods\n\n## 1.0.0b3 (2019-09-09)\n\n- New azure app configuration\n",
    "bugtrack_url": null,
    "license": "MIT License",
    "summary": "Microsoft App Configuration Data Library for Python",
    "version": "1.6.0",
    "project_urls": {
        "Homepage": "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/appconfiguration/azure-appconfiguration"
    },
    "split_keywords": [
        "azure",
        " azure sdk"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "2194ef6085648728d9147c382a8c5e71b6cd13181aa3ae1fff94fed49ef93443",
                "md5": "86eceabfdebaaadda3a0928530a5fdcd",
                "sha256": "80145574e6b8d28e13096e70b281d502c29553a68f635e4526722999d9f13477"
            },
            "downloads": -1,
            "filename": "azure_appconfiguration-1.6.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "86eceabfdebaaadda3a0928530a5fdcd",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 89504,
            "upload_time": "2024-04-10T00:25:03",
            "upload_time_iso_8601": "2024-04-10T00:25:03.377617Z",
            "url": "https://files.pythonhosted.org/packages/21/94/ef6085648728d9147c382a8c5e71b6cd13181aa3ae1fff94fed49ef93443/azure_appconfiguration-1.6.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "8236b27acedbcd25a852250da95d93f59a046f8b23bda2ee4ad84ddb2caf28cf",
                "md5": "20f7444678b84ce2b2a40c85bd154396",
                "sha256": "cf628a3e1ea6643479643cd246dda464edc4ab785743339a6a8fe809bc137fec"
            },
            "downloads": -1,
            "filename": "azure-appconfiguration-1.6.0.tar.gz",
            "has_sig": false,
            "md5_digest": "20f7444678b84ce2b2a40c85bd154396",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 108870,
            "upload_time": "2024-04-10T00:24:58",
            "upload_time_iso_8601": "2024-04-10T00:24:58.065168Z",
            "url": "https://files.pythonhosted.org/packages/82/36/b27acedbcd25a852250da95d93f59a046f8b23bda2ee4ad84ddb2caf28cf/azure-appconfiguration-1.6.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-10 00:24:58",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Azure",
    "github_project": "azure-sdk-for-python",
    "travis_ci": false,
    "coveralls": true,
    "github_actions": true,
    "lcname": "azure-appconfiguration"
}
        
Elapsed time: 0.24315s