Skip to main content

Helps handling EDC Tractus X API with python.

Project description

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)
  • image

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

edc_python-0.3.0.tar.gz (11.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

edc_python-0.3.0-py3-none-any.whl (12.6 kB view details)

Uploaded Python 3

File details

Details for the file edc_python-0.3.0.tar.gz.

File metadata

  • Download URL: edc_python-0.3.0.tar.gz
  • Upload date:
  • Size: 11.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.13

File hashes

Hashes for edc_python-0.3.0.tar.gz
Algorithm Hash digest
SHA256 d906be4eb0ee14748b8c1e42a737922407b9eaa7542ba725772662ee2e23e157
MD5 80f186a9e38e21b78ff658de85126753
BLAKE2b-256 6275401fbb6876ed333e8160933f2eda894bf3e54e4bce12c5b35b126c45e3e7

See more details on using hashes here.

File details

Details for the file edc_python-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: edc_python-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 12.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.13

File hashes

Hashes for edc_python-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f8d140caa845c0132a3d4d497dfe5fa86749fad2c53834cfd3a1ad6d9658ec58
MD5 2c015a7756eb1809d377a6a26249c9a4
BLAKE2b-256 39856f3ef310d657215a664d9cdd38aa76a668e964f36a250d376fecadfdefc6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page