File tree Expand file tree Collapse file tree 2 files changed +513
-0
lines changed
Expand file tree Collapse file tree 2 files changed +513
-0
lines changed Original file line number Diff line number Diff line change @@ -6,10 +6,19 @@ Python docs can be found here: https://help.cryptolens.io/api/python/
66
77## Installation
88
9+ ### Python 3
910```
1011pip install licensing
1112```
1213
14+ ### Python 2
15+ Please copy ` cryptolens_python2.py ` file into your project folder. The entire library is contained in that file.
16+ > In the examples below, please disregard the imports and use only the following one:
17+
18+ ``` python
19+ from cryptolens_python2 import *
20+ ```
21+
1322## Example
1423
1524### Key verification
@@ -18,11 +27,18 @@ The code below will work exactly as the one explained in the [key verification t
1827
1928First, we need to add the namespaces:
2029
30+ In Python 3:
2131``` python
2232from licensing.models import *
2333from licensing.methods import Key, Helpers
2434```
2535
36+ In Python 2:
37+
38+ ``` python
39+ from cryptolens_python2 import *
40+ ```
41+
2642Now we can perform the actual key verification:
2743
2844``` python
You can’t perform that action at this time.
0 commit comments