%global _empty_manifest_terminate_build 0 Name: python-aries-cloudcontroller Version: 0.8.0 Release: 1 Summary: A simple python package for controlling an aries agent through the admin-api interface License: Apache Software License URL: https://github.com/didx-xyz/aries-cloudcontroller-python/tree/main/aries_cloudcontroller Source0: https://mirrors.aliyun.com/pypi/web/packages/a9/60/f0def77781300f89e9d9f04e8f3f0f2ce6a23b31267092a317efbe21ff39/aries_cloudcontroller-0.8.0.tar.gz BuildArch: noarch Requires: python3-aiohttp Requires: python3-uplink[aiohttp,pydantic] Requires: python3-typing-extensions Requires: python3-pydantic %description


Hyperledger Aries logo

Aries Cloud Controller Python

Pipeline Status aries-cloudcontroller version License Python


Features  |  Usage  |  Available APIs  |  Contributing  |  License

Aries Cloud Controller Python is a client library written in Python for interacting with an [Aries Cloud Agent Python](https://github.com/hyperledger/aries-cloudagent-python) instance. It is generated based on the OpenAPI definition provided by ACA-Py, giving a fully-typed rich API for interacting the cloud agent. Each Cloud Controller version maps to a specific ACA-Py version, which is outlined in the table below. Although not strictly adhered to in the past, a new ACA-Py version will result in a new Minor version bump for the Cloud Controller, as there are often times breaking changes. | Aries Cloud Controller Version | Aries Cloud Agent Python Version | | ------------------------------ | -------------------------------- | | 0.5.1-0.5.2 | 0.7.3 | | 0.6.0-0.6.3 | 0.7.4 | | 0.7.0 | 0.7.5 | | 0.8.0 | 0.8.0 | ## Features Aries Cloud Controller Python is a fully featured client for interacting with ACA-Py. - Fully Typed wrapper around Aries Cloud Agent Python - Supports latest ACA-Py version (0.8.0) - Client is auto generated based on OpenAPI definitions, allowing us to keep up to date with new releases. - Supports multi-tenant APIs and authentication - Async API ## Usage Aries Cloud Controller Python is published to PyPi and can be installed using pip: ```sh pip install aries-cloudcontroller ``` ### Creating a client ```python from aries_cloudcontroller import AcaPyClient client = AcaPyClient( base_url="http://localhost:8000", api_key="myApiKey" ) ``` **Admin insecure mode** If you are running ACA-Py with the admin insecure flag and don't have the API key, you must set the `admin_insecure` property: ```python client = AcaPyClient( base_url="http://localhost:8000", # Explicitly mark that no api key is used admin_insecure=True ) ``` **Multitenancy** To provision the agent in the context of specific tenant of the agent, the `tenant_jwt` property must be set: ```python client = AcaPyClient( base_url="http://localhost:8000", tenant_jwt="eyXXX" ) ``` ### Interacting with the client Once you have the client set up, you're ready to interact with it. Because the API is fully typed, the best way to know what is available is by looking at the ACA-Py swagger UI, and the available properties on the client. For example to create and receive an invitation the following methods can be called: ```python invitation = await client.connection.create_invitation( body=CreateInvitationRequest(my_label="Cloud Controller") ) connection = await client.connection.receive_invitation(body=result.invitation) ``` ## Available APIs Currently the following top-level APIs are available in the client. Each api maps to the topics as used by the ACA-Py swagger UI. - `action_menu` - `basicmessage` - `connection` - `credential_definition` - `credentials` - `default` - `did_exchange` - `discover_features` - `discover_features_v2_0` - `endorse_transaction` - `introduction` - `issue_credential_v1_0` - `issue_credential_v2_0` - `jsonld` - `ledger` - `mediation` - `multitenancy` - `out_of_band` - `present_proof_v1_0` - `present_proof_v2_0` - `resolver` - `revocation` - `schema` - `server` - `trustping` - `wallet` ## Contributing If you would like to contribute to the framework, please read [CONTRIBUTING](/CONTRIBUTING.md) guidelines. These documents will provide more information to get you started! ## License Aries Cloud Controller Python is licensed under the [Apache License Version 2.0 (Apache-2.0)](/LICENSE). %package -n python3-aries-cloudcontroller Summary: A simple python package for controlling an aries agent through the admin-api interface Provides: python-aries-cloudcontroller BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip %description -n python3-aries-cloudcontroller


Hyperledger Aries logo

Aries Cloud Controller Python

Pipeline Status aries-cloudcontroller version License Python


Features  |  Usage  |  Available APIs  |  Contributing  |  License

Aries Cloud Controller Python is a client library written in Python for interacting with an [Aries Cloud Agent Python](https://github.com/hyperledger/aries-cloudagent-python) instance. It is generated based on the OpenAPI definition provided by ACA-Py, giving a fully-typed rich API for interacting the cloud agent. Each Cloud Controller version maps to a specific ACA-Py version, which is outlined in the table below. Although not strictly adhered to in the past, a new ACA-Py version will result in a new Minor version bump for the Cloud Controller, as there are often times breaking changes. | Aries Cloud Controller Version | Aries Cloud Agent Python Version | | ------------------------------ | -------------------------------- | | 0.5.1-0.5.2 | 0.7.3 | | 0.6.0-0.6.3 | 0.7.4 | | 0.7.0 | 0.7.5 | | 0.8.0 | 0.8.0 | ## Features Aries Cloud Controller Python is a fully featured client for interacting with ACA-Py. - Fully Typed wrapper around Aries Cloud Agent Python - Supports latest ACA-Py version (0.8.0) - Client is auto generated based on OpenAPI definitions, allowing us to keep up to date with new releases. - Supports multi-tenant APIs and authentication - Async API ## Usage Aries Cloud Controller Python is published to PyPi and can be installed using pip: ```sh pip install aries-cloudcontroller ``` ### Creating a client ```python from aries_cloudcontroller import AcaPyClient client = AcaPyClient( base_url="http://localhost:8000", api_key="myApiKey" ) ``` **Admin insecure mode** If you are running ACA-Py with the admin insecure flag and don't have the API key, you must set the `admin_insecure` property: ```python client = AcaPyClient( base_url="http://localhost:8000", # Explicitly mark that no api key is used admin_insecure=True ) ``` **Multitenancy** To provision the agent in the context of specific tenant of the agent, the `tenant_jwt` property must be set: ```python client = AcaPyClient( base_url="http://localhost:8000", tenant_jwt="eyXXX" ) ``` ### Interacting with the client Once you have the client set up, you're ready to interact with it. Because the API is fully typed, the best way to know what is available is by looking at the ACA-Py swagger UI, and the available properties on the client. For example to create and receive an invitation the following methods can be called: ```python invitation = await client.connection.create_invitation( body=CreateInvitationRequest(my_label="Cloud Controller") ) connection = await client.connection.receive_invitation(body=result.invitation) ``` ## Available APIs Currently the following top-level APIs are available in the client. Each api maps to the topics as used by the ACA-Py swagger UI. - `action_menu` - `basicmessage` - `connection` - `credential_definition` - `credentials` - `default` - `did_exchange` - `discover_features` - `discover_features_v2_0` - `endorse_transaction` - `introduction` - `issue_credential_v1_0` - `issue_credential_v2_0` - `jsonld` - `ledger` - `mediation` - `multitenancy` - `out_of_band` - `present_proof_v1_0` - `present_proof_v2_0` - `resolver` - `revocation` - `schema` - `server` - `trustping` - `wallet` ## Contributing If you would like to contribute to the framework, please read [CONTRIBUTING](/CONTRIBUTING.md) guidelines. These documents will provide more information to get you started! ## License Aries Cloud Controller Python is licensed under the [Apache License Version 2.0 (Apache-2.0)](/LICENSE). %package help Summary: Development documents and examples for aries-cloudcontroller Provides: python3-aries-cloudcontroller-doc %description help


Hyperledger Aries logo

Aries Cloud Controller Python

Pipeline Status aries-cloudcontroller version License Python


Features  |  Usage  |  Available APIs  |  Contributing  |  License

Aries Cloud Controller Python is a client library written in Python for interacting with an [Aries Cloud Agent Python](https://github.com/hyperledger/aries-cloudagent-python) instance. It is generated based on the OpenAPI definition provided by ACA-Py, giving a fully-typed rich API for interacting the cloud agent. Each Cloud Controller version maps to a specific ACA-Py version, which is outlined in the table below. Although not strictly adhered to in the past, a new ACA-Py version will result in a new Minor version bump for the Cloud Controller, as there are often times breaking changes. | Aries Cloud Controller Version | Aries Cloud Agent Python Version | | ------------------------------ | -------------------------------- | | 0.5.1-0.5.2 | 0.7.3 | | 0.6.0-0.6.3 | 0.7.4 | | 0.7.0 | 0.7.5 | | 0.8.0 | 0.8.0 | ## Features Aries Cloud Controller Python is a fully featured client for interacting with ACA-Py. - Fully Typed wrapper around Aries Cloud Agent Python - Supports latest ACA-Py version (0.8.0) - Client is auto generated based on OpenAPI definitions, allowing us to keep up to date with new releases. - Supports multi-tenant APIs and authentication - Async API ## Usage Aries Cloud Controller Python is published to PyPi and can be installed using pip: ```sh pip install aries-cloudcontroller ``` ### Creating a client ```python from aries_cloudcontroller import AcaPyClient client = AcaPyClient( base_url="http://localhost:8000", api_key="myApiKey" ) ``` **Admin insecure mode** If you are running ACA-Py with the admin insecure flag and don't have the API key, you must set the `admin_insecure` property: ```python client = AcaPyClient( base_url="http://localhost:8000", # Explicitly mark that no api key is used admin_insecure=True ) ``` **Multitenancy** To provision the agent in the context of specific tenant of the agent, the `tenant_jwt` property must be set: ```python client = AcaPyClient( base_url="http://localhost:8000", tenant_jwt="eyXXX" ) ``` ### Interacting with the client Once you have the client set up, you're ready to interact with it. Because the API is fully typed, the best way to know what is available is by looking at the ACA-Py swagger UI, and the available properties on the client. For example to create and receive an invitation the following methods can be called: ```python invitation = await client.connection.create_invitation( body=CreateInvitationRequest(my_label="Cloud Controller") ) connection = await client.connection.receive_invitation(body=result.invitation) ``` ## Available APIs Currently the following top-level APIs are available in the client. Each api maps to the topics as used by the ACA-Py swagger UI. - `action_menu` - `basicmessage` - `connection` - `credential_definition` - `credentials` - `default` - `did_exchange` - `discover_features` - `discover_features_v2_0` - `endorse_transaction` - `introduction` - `issue_credential_v1_0` - `issue_credential_v2_0` - `jsonld` - `ledger` - `mediation` - `multitenancy` - `out_of_band` - `present_proof_v1_0` - `present_proof_v2_0` - `resolver` - `revocation` - `schema` - `server` - `trustping` - `wallet` ## Contributing If you would like to contribute to the framework, please read [CONTRIBUTING](/CONTRIBUTING.md) guidelines. These documents will provide more information to get you started! ## License Aries Cloud Controller Python is licensed under the [Apache License Version 2.0 (Apache-2.0)](/LICENSE). %prep %autosetup -n aries_cloudcontroller-0.8.0 %build %py3_build %install %py3_install install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi pushd %{buildroot} if [ -d usr/lib ]; then find usr/lib -type f -printf "\"/%h/%f\"\n" >> filelist.lst fi if [ -d usr/lib64 ]; then find usr/lib64 -type f -printf "\"/%h/%f\"\n" >> filelist.lst fi if [ -d usr/bin ]; then find usr/bin -type f -printf "\"/%h/%f\"\n" >> filelist.lst fi if [ -d usr/sbin ]; then find usr/sbin -type f -printf "\"/%h/%f\"\n" >> filelist.lst fi touch doclist.lst if [ -d usr/share/man ]; then find usr/share/man -type f -printf "\"/%h/%f.gz\"\n" >> doclist.lst fi popd mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . %files -n python3-aries-cloudcontroller -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog * Thu Jun 08 2023 Python_Bot - 0.8.0-1 - Package Spec generated