Skip to main content

Python package that establishes a common framework for use by client libraries that interact with Seequent Evo APIs

Project description

Seequent logo

PyPI - Version

Seequent Developer PortalSeequent CommunitySeequent website

Evo SDK Common

Evo SDK Common is a Python package that establishes a common framework for use by client libraries that interact with Seequent Evo APIs. It can also be used to power arbitrary API requests to Seequent Evo APIs, where an existing client SDK may not exist yet.

Pre-requisites

Installation

pip install evo-sdk-common

To use the SDK within a Jupyter notebook, include the notebooks optional dependency:

pip install evo-sdk-common[notebooks]

Usage

See the Getting Started guide to learn how to use this library. There is more detailed information about authentication options in the OAuth examples, and a selection of interactive Jupyter notebooks in the examples folder.

Here's a small example from the Getting Started guide showing to use evo-sdk-common to list the organizations you have access to:

from evo.aio import AioTransport
from evo.oauth import OAuthConnector, AuthorizationCodeAuthorizer
from evo.discovery import DiscoveryAPIClient
from evo.common import APIConnector
import asyncio

transport = AioTransport(user_agent="Your Application Name")
connector = OAuthConnector(transport=transport, client_id="<YOUR_CLIENT_ID>")
authorizer = AuthorizationCodeAuthorizer(oauth_connector=connector, redirect_url="http://localhost:3000/signin-callback")

async def main():
    await authorizer.login()
    await discovery()

async def discovery():
    async with APIConnector("https://discover.api.seequent.com", transport, authorizer) as api_connector:
        discovery_client = DiscoveryAPIClient(api_connector)
        organizations = await discovery_client.list_organizations()
        print("Organizations:", organizations)

asyncio.run(main())

Contributing

For instructions on contributing to the development of this library, please refer to the evo-python-sdk documentation.

License

The Python SDK for Evo is open source and licensed under the Apache 2.0 license..

Copyright © 2025 Bentley Systems, Incorporated.

Licensed under the Apache License, Version 2.0 (the "License"). You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

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

evo_sdk_common-0.5.6.tar.gz (111.7 kB view details)

Uploaded Source

Built Distribution

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

evo_sdk_common-0.5.6-py3-none-any.whl (175.6 kB view details)

Uploaded Python 3

File details

Details for the file evo_sdk_common-0.5.6.tar.gz.

File metadata

  • Download URL: evo_sdk_common-0.5.6.tar.gz
  • Upload date:
  • Size: 111.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for evo_sdk_common-0.5.6.tar.gz
Algorithm Hash digest
SHA256 38b7d80f13cd3b7c2a0ac2752baf49b73895edb63ea21661dc5ec23bb02cd6a6
MD5 cbf95a5cfe4808a558cad0000e967f38
BLAKE2b-256 440adb29cc0cff9584dffb03df82b36333c01b2f7766a1af1d6fbe43c7308bc2

See more details on using hashes here.

Provenance

The following attestation bundles were made for evo_sdk_common-0.5.6.tar.gz:

Publisher: publish-evo-sdk-common.yaml on SeequentEvo/evo-python-sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file evo_sdk_common-0.5.6-py3-none-any.whl.

File metadata

  • Download URL: evo_sdk_common-0.5.6-py3-none-any.whl
  • Upload date:
  • Size: 175.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for evo_sdk_common-0.5.6-py3-none-any.whl
Algorithm Hash digest
SHA256 f676cf45c7e24ee5e34f6ad73384a096ec5614d0cd3b2adaa6025a9e03c65ede
MD5 10de348accc17666867265cd2dea47d8
BLAKE2b-256 fd0743a6e98d44fa4f02d8fe11205b9caa1b42758c7d43b59b6b6a1e6a4cba4b

See more details on using hashes here.

Provenance

The following attestation bundles were made for evo_sdk_common-0.5.6-py3-none-any.whl:

Publisher: publish-evo-sdk-common.yaml on SeequentEvo/evo-python-sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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