Skip to content

Labs64/NetLicensingClient-python

Repository files navigation

WARNING: Package status: "work-in-progress" - stay tuned at NetLicensing #changelog for the latest NetLicensing news.


Innovative License Management Solution

Labs64 NetLicensing Client (Python)

Python Client - CI PyPI PyPI - Downloads PyVer codecov
Apache License 2.0 📖 Documentation NetLicensing @ LinkedIn

Python wrapper for Labs64 NetLicensing RESTful API

Visit Labs64 NetLicensing at https://netlicensing.io

Install

The NetLicensing python package can be installed by executing:

pip install netlicensing-client

Alternatively, you can install the latest development version directly from GitHub via:

pip install -e git+https://github.com/Labs64/NetLicensingClient-python#egg=netlicensing

How to Use

To access NetLicensing RESTful API services a valid vendor account is needed. The recommended way to access API services is 'API Key'. API Key can be obtained via the NetLicensing Management Console.

Depending on API services different API Key Role needs to be used.

from netlicensing import NetLicensing

# sample variables need to be replaced using yours
API_KEY = '2f8459a9-08dc-4d70-882a-1bc27d1ae9a8'
CUSTOMER_NUMBER = 'CUST-11'

nlic = NetLicensing(API_KEY)
response = nlic.validate(CUSTOMER_NUMBER)

print(response)

How to Contribute

Everyone is welcome to contribute to this project! Once you're done with your changes send a pull request and check CI Status. Thanks!

Bugs and Feedback

For bugs, questions and discussions please use the GitHub Issues.

License

This boilerplate is open-sourced software licensed under the Apache License Version 2.0.


Visit Labs64 NetLicensing at https://netlicensing.io