licensing 0.50__tar.gz → 0.51__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,12 +1,12 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: licensing
3
- Version: 0.50
3
+ Version: 0.51
4
4
  Summary: Client library for Cryptolens licensing Web API.
5
5
  Home-page: https://cryptolens.io
6
6
  Author: Cryptolens AB
7
7
  Author-email: support@cryptolens.io
8
8
  License: MIT
9
- Download-URL: https://github.com/Cryptolens/cryptolens-python/archive/v_50.tar.gz
9
+ Download-URL: https://github.com/Cryptolens/cryptolens-python/archive/v_51.tar.gz
10
10
  Description: UNKNOWN
11
11
  Keywords: software licensing,licensing library,cryptolens
12
12
  Platform: UNKNOWN
@@ -126,7 +126,7 @@ class Key:
126
126
  return (None, "The signature check failed.")
127
127
 
128
128
  @staticmethod
129
- def create_trial_key(token, product_id, machine_code):
129
+ def create_trial_key(token, product_id, machine_code, friendly_name= ""):
130
130
  """
131
131
  Calls the CreateTrialKey method in Web API 3 and returns a tuple containing
132
132
  (LicenseKeyString, Message). If an error occurs, LicenseKeyString will be None. If
@@ -140,7 +140,8 @@ class Key:
140
140
  try:
141
141
  response = HelperMethods.send_request("key/createtrialkey", {"token":token,\
142
142
  "ProductId":product_id,\
143
- "MachineCode":machine_code})
143
+ "MachineCode":machine_code,\
144
+ "FriendlyName":friendly_name})
144
145
  except HTTPError as e:
145
146
  response = e.read()
146
147
  except URLError as e:
@@ -2,13 +2,13 @@ from distutils.core import setup
2
2
  setup(
3
3
  name = 'licensing', # How you named your package folder (MyLib)
4
4
  packages = ['licensing'], # Chose the same as "name"
5
- version = '0.50', # Start with a small number and increase it with every change you make
5
+ version = '0.51', # Start with a small number and increase it with every change you make
6
6
  license='MIT', # Chose a license from here: https://help.github.com/articles/licensing-a-repository
7
7
  description = 'Client library for Cryptolens licensing Web API.', # Give a short description about your library
8
8
  author = 'Cryptolens AB', # Type in your name
9
9
  author_email = 'support@cryptolens.io', # Type in your E-Mail
10
10
  url = 'https://cryptolens.io', # Provide either the link to your github or to your website
11
- download_url = 'https://github.com/Cryptolens/cryptolens-python/archive/v_50.tar.gz', # I explain this later on
11
+ download_url = 'https://github.com/Cryptolens/cryptolens-python/archive/v_51.tar.gz', # I explain this later on
12
12
  keywords = ['software licensing', 'licensing library', 'cryptolens'], # Keywords that define your package best
13
13
  classifiers=[
14
14
  #'Development Status :: 5 - Stable', # Chose either "3 - Alpha", "4 - Beta" or "5 - Production/Stable" as the current state of your package
File without changes
File without changes
File without changes
File without changes