Skip to main content

GoEdge Core SDK Python Wrapper

Project description

GoEdge Core SDK Python Wrapper

This project provides a Python wrapper for the GoEdge Core C SDK. It uses ctypes to interface with the C library, allowing Python applications to leverage the functionality of the GoEdge ecosystem.

Project Structure

  • goedge/: Contains the Python wrapper module.
    • core.py: The main wrapper file that uses ctypes to call the C SDK functions.
  • goedge-core-sdk-c/: Contains the C source code for the core SDK.
  • pyproject.toml: Poetry project configuration file.

Installation

To use this wrapper, you first need to compile the C SDK into a shared library (e.g., libge-core.so on Linux). Then, you can install the Python package using Poetry:

poetry install

Usage

from goedge import core

# Initialize the core SDK
core.core_init("my_module", 2, core.LOG_LEVEL_INFO)

# ... use other SDK functions ...

# Exit the core SDK
core.core_exit()

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

goedge_core_sdk_python-0.1.0.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

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

goedge_core_sdk_python-0.1.0-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file goedge_core_sdk_python-0.1.0.tar.gz.

File metadata

  • Download URL: goedge_core_sdk_python-0.1.0.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.10.12 Linux/6.14.10-orbstack-00291-g1b252bd3edea

File hashes

Hashes for goedge_core_sdk_python-0.1.0.tar.gz
Algorithm Hash digest
SHA256 421880cdad610bc3ff4da7bd49e027a7c012b8427e0027c1eed4c5fc791b67b8
MD5 55013210eb7915fadeebe6b40f3e5ec0
BLAKE2b-256 b5b4576dde16a4855fe10f907d55c76f055a091d725cc3a9274f6ec11030a357

See more details on using hashes here.

File details

Details for the file goedge_core_sdk_python-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: goedge_core_sdk_python-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.10.12 Linux/6.14.10-orbstack-00291-g1b252bd3edea

File hashes

Hashes for goedge_core_sdk_python-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 60623b886139e4270c46128f20580fa74e64f938bd1fa9770541203b05b165e0
MD5 4b5b92b06ebc830ea7d284966261ae10
BLAKE2b-256 621f0fa4bd338c4b64d3fa0b14dfde47167b9672687ebfc380763658b103b976

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