edc_python
Provides a python library that helps you handling the edc tractus x api.
With this library you can manage all your EDC connectors. As a provider you can create assets, policies or contracts and as a consumer yoe can query catalogs, manage EDR's (Endpoint Data Reference) and transfer data.
How-To
Dokumentation
Connector-Configs
Make a copy of the template config file connector_config.template.yaml and fill it out like this:
public_url: https://con-entity-1.my.connector.com
management_url_path: management
api_version: v3
dsp_url: https://con-entity-1.my.connector.com/api/v1/dsp
header_api_key: api-123
bpn: BPN000001
Connectors
Initialize connectors like this:
try:
provider_connector = Connector.create_connector_from_config_file('connector_config.provider.yaml')
consumer_connector = Connector.create_connector_from_config_file('connector_config.consumer.yaml')
except Exception as e:
logger.error("Error initialzing connectors: %s", e)
sys.exit(1)
Metadata
Release files for edc-python 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| edc_python-0.3.0.tar.gz | 11.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| edc_python-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 23.9 kB
Release files / edc_python-0.3.0.tar.gz
| Download URL | edc_python-0.3.0.tar.gz |
|---|---|
| Size | 11.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d906be4eb0ee14748b8c1e42a737922407b9eaa7542ba725772662ee2e23e157
|
|
BLAKE2b-256 checksum How to use checksums |
6275401fbb6876ed333e8160933f2eda894bf3e54e4bce12c5b35b126c45e3e7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.13
|
Release files / edc_python-0.3.0-py3-none-any.whl
| Download URL | edc_python-0.3.0-py3-none-any.whl |
|---|---|
| Size | 12.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f8d140caa845c0132a3d4d497dfe5fa86749fad2c53834cfd3a1ad6d9658ec58
|
|
BLAKE2b-256 checksum How to use checksums |
39856f3ef310d657215a664d9cdd38aa76a668e964f36a250d376fecadfdefc6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.13
|