A Python library that helps building NGSI-LD entities and interacting with a NGSI-LD Context Broker
Project description
The ngsildclient library
Overview
ngsildclient is a Python library that helps building NGSI-LD entities and allows to interact with a NGSI-LD Context Broker.
The library primary purpose is to ease and speed up the development of a NGSI Agent and is also useful for Data Modeling in the design stage.
Key Features
Build NGSI-LD entities
The task of building a large NGSI-LD compliant entity is tedious, error-prone and results in a significant amount of code.
ngsildclient provides primitives to build and manipulate NGSI-LD compliant entities without effort, in respect with the ETSI specifications.
Implement the NGSI-LD API
ngsildclient provides a NGSI-LD API Client implementation.
Acting as a Context Producer/Consumer ngsildclient is able to send/receive NGSI-LD entities to/from the Context Broker for creation and other operations.
The library wraps a large subset of the API endpoints and supports batch operations, queries, subscriptions.
Where to get it
The source code is currently hosted on GitHub at : https://github.com/Orange-OpenSource/python-ngsild-client
Binary installer for the latest released version is available at the Python package index.
pip install ngsildclient
Installation
ngsildclient requires Python 3.9+.
One should use a virtual environment. For example with pyenv.
mkdir myagent && cd myagent
pyenv virtualenv 3.10.2 myagent
pyenv local myagent
pip install ngsildclient
Documentation
User guide is available on Read the Docs.
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for ngsildclient-0.1.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac023176c6ae44b4adc333e58083712bb8ef51b44a969f03ee079f422b615eea |
|
MD5 | 4838e17b6baa8c2477f8984980d834d4 |
|
BLAKE2b-256 | ce5e72762f45cd2f66da38c671268f9702e27d690b3e605a2e299ee3f448bf22 |