Metadata-Version: 2.4
Name: edc-client
Version: 1.0.0
Summary: Python client for the EDC (Eclipse Dataspace Connector) management-api
Author: Enno Mueller
License: Apache-2.0
Project-URL: Homepage, https://github.com/CIR4FUN-EU/edc-client
Project-URL: Repository, https://github.com/CIR4FUN-EU/edc-client
Project-URL: Issues, https://github.com/CIR4FUN-EU/edc-client/issues
Keywords: OpenAPI,OpenAPI-Generator,EDC,management-api,dataspace
Requires-Python: >=3.9
Description-Content-Type: text/markdown
Requires-Dist: urllib3<3.0.0,>=2.1.0
Requires-Dist: python-dateutil>=2.8.2
Requires-Dist: pydantic>=2.11
Requires-Dist: typing-extensions>=4.7.1

# edc-client
REST API documentation for the management-api

This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: 4.1.0
- Package version: 1.0.0
- Generator version: 7.23.0
- Build package: org.openapitools.codegen.languages.PythonClientCodegen

## Requirements.

Python 3.10+

## Installation & Usage
### pip install

```sh
pip install edc-client
```

Then import the package:
```python
import edc_client
```

### Tests

Execute `pytest` to run the tests.

## Getting Started

Please follow the [installation procedure](#installation--usage) and then run the following:

```python

import edc_client
from edc_client.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = edc_client.Configuration(
    host = "http://localhost"
)



# Enter a context with an instance of the API client
with edc_client.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = edc_client.AssetV3Api(api_client)
    asset_input_v3 = edc_client.AssetInputV3() # AssetInputV3 |  (optional)

    try:
        api_response = api_instance.create_asset_v3(asset_input_v3=asset_input_v3)
        print("The response of AssetV3Api->create_asset_v3:\n")
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling AssetV3Api->create_asset_v3: %s\n" % e)

```

## Reference

- **[Runnable examples](examples/README.md)** — end-to-end flow and per-step
  scripts for negotiation and transfer (the hand-written usage of this client).
- **[API & model reference](docs/API_REFERENCE.md)** — full index of endpoint
  classes and request/response models.

<a id="documentation-for-authorization"></a>
## Documentation For Authorization

Endpoints do not require authorization.


## Author

[OpenAPI Generator](https://openapi-generator.tech)


