Skip to main content

Python NLIP Repositories

This repository contains one component of the various python repositories for NLIP Proof of Concept implementation. The various repositories are:

  • nlip_sdk: this provides a software development kit in python that implements the abstractions of NLIP message, submessages along with a factory to ease the creation of NLIP messages and submessages
  • nlip_client: this provides a package that simplifies the task of sending NLIP messages using the base underlying protocol. The current implementation uses httpx as the base transfer package.
  • nlip_server: this provides a paclage that simplifies the task of writing a server-side NLIP application. This provides the abstractions of a NLIPApplication and a NLIP Session. An application consists of multiple sessions.

The above three are the components needed to write a client or a server. To write a client, you need to use nlip_sdk and nlip_client. To write a server side application, you need to use nlip_sdk and nlip_server.

The following repositories contain a few simple clients and server side applications:

  • nlip_soln: this provides a few simple prototype server side solutions using the nlip_server package
  • text_client: this provides a simple text based chatbot to interface with a NLIP server
  • kivy_client: this provides a python kivy based visual client to interact with an NLIP server

NLIP SDK

The NLIP SDK provides the basic functionality that is needed to implement the NLIP protocol, either on the client side or on the server side. The server side requires additional packages. The NLIP SDK is targeted primarily at NLIP clients.

The NLIP SDK contains the following modules:

  • utils.py - A set of basic utility routines that simplify implementation.
  • errrors.py - A set of error definitions that help diagnose in development.
  • nlip.py - The definition of the NLIP message formats.

Publishing the Package

To publish the package to PyPI, ensure that your changes are committed and then create a version tag. You can do this with the following commands:

$ git tag v0.1.0  # Replace with new version
$ git push origin v0.1.0

Metadata

Release files for nlip_sdk 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nlip_sdk 0.1.3
File Size Uploaded
nlip_sdk-0.1.3.tar.gz 11.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nlip_sdk 0.1.3
File Interpreter ABI Platform
nlip_sdk-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 24.5 kB

Release files / nlip_sdk-0.1.3.tar.gz

Download URL nlip_sdk-0.1.3.tar.gz
Size 11.3 kB
Tags Source
SHA-256 checksum
How to use checksums
4c230b1ca34f3ede36bde8e03a7de8b412ea563fd4a0a7f877b7f73ece6b30d3
BLAKE2b-256 checksum
How to use checksums
234fa2b90eaf9d4e5861fde0e2900afde73c453fee0a6ca68be76e1926fbbe0c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.4.1 CPython/3.11.15 Linux/6.17.0-1018-azure

Release files / nlip_sdk-0.1.3-py3-none-any.whl

Download URL nlip_sdk-0.1.3-py3-none-any.whl
Size 13.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
605e5dc1e9d64ca87a73c8079440d1610c6efebe799a77126544484e3fce6fae
BLAKE2b-256 checksum
How to use checksums
e93ba3cd74c39f0ece305b2057e886e371a6b0aa1d812ff58af281d60ef3131e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.4.1 CPython/3.11.15 Linux/6.17.0-1018-azure

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

0.1.2

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page