keygen-py 0.0.1.dev6__tar.gz → 0.0.1.dev8__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.
Files changed (26) hide show
  1. {keygen_py-0.0.1.dev6 → keygen_py-0.0.1.dev8}/.github/workflows/pr-checks.yml +7 -1
  2. keygen_py-0.0.1.dev8/.github/workflows/py-machineid.yaml +32 -0
  3. {keygen_py-0.0.1.dev6 → keygen_py-0.0.1.dev8}/.github/workflows/release.yml +3 -1
  4. keygen_py-0.0.1.dev8/.github/workflows/winregistry.yaml +36 -0
  5. {keygen_py-0.0.1.dev6 → keygen_py-0.0.1.dev8}/.gitignore +3 -1
  6. {keygen_py-0.0.1.dev6 → keygen_py-0.0.1.dev8}/PKG-INFO +1 -1
  7. keygen_py-0.0.1.dev8/conda-recipes/deps/py-machineid/recipe.yaml +48 -0
  8. keygen_py-0.0.1.dev8/conda-recipes/deps/winregistry/LICENSE +20 -0
  9. keygen_py-0.0.1.dev8/conda-recipes/deps/winregistry/recipe.yaml +50 -0
  10. {keygen_py-0.0.1.dev6 → keygen_py-0.0.1.dev8}/pyproject.toml +1 -1
  11. {keygen_py-0.0.1.dev6 → keygen_py-0.0.1.dev8}/Cargo.lock +0 -0
  12. {keygen_py-0.0.1.dev6 → keygen_py-0.0.1.dev8}/Cargo.toml +0 -0
  13. {keygen_py-0.0.1.dev6 → keygen_py-0.0.1.dev8}/LICENSE +0 -0
  14. {keygen_py-0.0.1.dev6 → keygen_py-0.0.1.dev8}/README.md +0 -0
  15. {keygen_py-0.0.1.dev6/conda-recipe → keygen_py-0.0.1.dev8/conda-recipes}/LICENSE +0 -0
  16. {keygen_py-0.0.1.dev6/conda-recipe → keygen_py-0.0.1.dev8/conda-recipes}/recipe.yaml +0 -0
  17. {keygen_py-0.0.1.dev6/conda-recipe → keygen_py-0.0.1.dev8/conda-recipes}/variants.yaml +0 -0
  18. {keygen_py-0.0.1.dev6 → keygen_py-0.0.1.dev8}/examples/offline_verification.py +0 -0
  19. {keygen_py-0.0.1.dev6 → keygen_py-0.0.1.dev8}/examples/online_validation.py +0 -0
  20. {keygen_py-0.0.1.dev6 → keygen_py-0.0.1.dev8}/keygen_sh.pyi +0 -0
  21. {keygen_py-0.0.1.dev6 → keygen_py-0.0.1.dev8}/poetry.lock +0 -0
  22. {keygen_py-0.0.1.dev6 → keygen_py-0.0.1.dev8}/src/config.rs +0 -0
  23. {keygen_py-0.0.1.dev6 → keygen_py-0.0.1.dev8}/src/date.rs +0 -0
  24. {keygen_py-0.0.1.dev6 → keygen_py-0.0.1.dev8}/src/lib.rs +0 -0
  25. {keygen_py-0.0.1.dev6 → keygen_py-0.0.1.dev8}/src/license.rs +0 -0
  26. {keygen_py-0.0.1.dev6 → keygen_py-0.0.1.dev8}/src/utils.rs +0 -0
@@ -5,6 +5,8 @@ on:
5
5
  branches:
6
6
  - main
7
7
  types: [opened, synchronize, reopened]
8
+ paths-ignore:
9
+ - conda-recipes/deps/**
8
10
 
9
11
  permissions:
10
12
  contents: read
@@ -13,6 +15,10 @@ permissions:
13
15
  env:
14
16
  RUSTFLAGS: "-Dwarnings"
15
17
 
18
+ concurrency:
19
+ group: ${{ github.workflow }}-${{ github.ref }}
20
+ cancel-in-progress: true
21
+
16
22
  jobs:
17
23
  lint:
18
24
  runs-on: ubuntu-latest
@@ -114,7 +120,7 @@ jobs:
114
120
  with:
115
121
  upload-artifact: false
116
122
  artifact-name: conda-${{ matrix.platform.runner }}-${{ matrix.platform.target }}
117
- recipe-path: 'conda-recipe/recipe.yaml'
123
+ recipe-path: 'conda-recipes/recipe.yaml'
118
124
  build-args: '--target-platform ${{ matrix.platform.target-platform }} --experimental'
119
125
 
120
126
  sdist:
@@ -0,0 +1,32 @@
1
+ name: Release py-machineid
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+ paths:
8
+ - conda-recipes/deps/py-machineid/*
9
+ - .github/workflows/py-machineid.yaml
10
+
11
+ jobs:
12
+ build:
13
+ name: Release py-machineid
14
+ runs-on: ubuntu-latest
15
+ permissions:
16
+ contents: read
17
+ id-token: write
18
+ steps:
19
+ - uses: actions/checkout@v4
20
+ - uses: actions/setup-python@v5
21
+ with:
22
+ python-version: 3.x
23
+ - name: Build conda package
24
+ uses: prefix-dev/rattler-build-action@v0.2.19
25
+ with:
26
+ recipe-path: 'conda-recipes/deps/py-machineid/recipe.yaml'
27
+ - name: Publish to prefix.dev channel
28
+ run: |
29
+ for pkg in $(find output -type f \( -name "*.conda" -o -name "*.tar.bz2" \) ); do
30
+ echo "Uploading ${pkg}"
31
+ rattler-build upload prefix -c terraquantumag "${pkg}"
32
+ done
@@ -4,6 +4,8 @@ on:
4
4
  push:
5
5
  branches:
6
6
  - main
7
+ paths-ignore:
8
+ - conda-recipes/deps/**
7
9
 
8
10
  permissions:
9
11
  contents: read
@@ -105,7 +107,7 @@ jobs:
105
107
  with:
106
108
  upload-artifact: true
107
109
  artifact-name: conda-${{ matrix.platform.runner }}-${{ matrix.platform.target }}
108
- recipe-path: 'conda-recipe/recipe.yaml'
110
+ recipe-path: 'conda-recipes/recipe.yaml'
109
111
  build-args: '--target-platform ${{ matrix.platform.target-platform }} --experimental'
110
112
 
111
113
  sdist:
@@ -0,0 +1,36 @@
1
+ name: Release winregistry
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+ paths:
8
+ - conda-recipes/deps/winregistry/*
9
+ - .github/workflows/winregistry.yaml
10
+
11
+ jobs:
12
+ build:
13
+ name: Release winregistry
14
+ runs-on: windows-latest
15
+ permissions:
16
+ contents: read
17
+ id-token: write
18
+ steps:
19
+ - uses: actions/checkout@v4
20
+ - uses: actions/setup-python@v5
21
+ with:
22
+ python-version: 3.x
23
+ - name: Build conda package
24
+ uses: prefix-dev/rattler-build-action@v0.2.19
25
+ with:
26
+ recipe-path: 'conda-recipes/deps/winregistry/recipe.yaml'
27
+ build-args: '--target-platform win-64'
28
+ - name: Publish to prefix.dev channel
29
+ run: |
30
+ $files = Get-ChildItem -Path output -Recurse -Include *.conda, *.tar.bz2
31
+
32
+ foreach ($pkg in $files) {
33
+ Write-Output "Uploading $pkg"
34
+ rattler-build upload prefix -c terraquantumag $pkg
35
+ }
36
+ shell: pwsh
@@ -5,4 +5,6 @@
5
5
  venv
6
6
 
7
7
  dist
8
- output
8
+ output
9
+
10
+ dist
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: keygen-py
3
- Version: 0.0.1.dev6
3
+ Version: 0.0.1.dev8
4
4
  License-File: LICENSE
5
5
  Summary: Unofficial Keygen SDK for Python. Integrate license activation and offline licensing. Wrapper around keygen-rs rust crate
6
6
  Author-email: Terra Quantum AG <info@terraquantum.swiss>, Cedric Kring <ck@terraquantum.swiss>, Steven Beckers <sb@terraquantum.swiss>
@@ -0,0 +1,48 @@
1
+ schema_version: 1
2
+
3
+ context:
4
+ name: py-machineid
5
+ version: 0.6.0
6
+
7
+ package:
8
+ name: ${{ name|lower }}
9
+ version: ${{ version }}
10
+
11
+ source:
12
+ url: https://pypi.org/packages/source/${{ name[0] }}/${{ name }}/py-machineid-${{ version }}.tar.gz
13
+ sha256: 00c38d8521d429a4539bdd92967234db28a1a2b4b263062b351ca002332e633f
14
+
15
+ build:
16
+ number: 0
17
+ noarch: python
18
+ script: ${{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation
19
+
20
+ requirements:
21
+ host:
22
+ - python
23
+ - pip
24
+ - setuptools
25
+ - wheel
26
+ run:
27
+ - python
28
+ - if: win
29
+ then: winregistry
30
+
31
+ tests:
32
+ - python:
33
+ imports:
34
+ - machineid
35
+ pip_check: true
36
+
37
+ about:
38
+ summary: Get the unique machine ID of any host (without admin privileges)
39
+ license: MIT
40
+ license_file: LICENSE
41
+ homepage: https://github.com/keygen-sh/py-machineid
42
+ repository: https://github.com/keygen-sh/py-machineid
43
+
44
+ extra:
45
+ -maintainers:
46
+ - sbtq
47
+ - cedrictq
48
+
@@ -0,0 +1,20 @@
1
+ MIT License
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be included
12
+ in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
17
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
18
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
19
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
20
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,50 @@
1
+ schema_version: 1
2
+
3
+ context:
4
+ name: winregistry
5
+ version: 1.1.1
6
+
7
+ package:
8
+ name: ${{ name|lower }}
9
+ version: ${{ version }}
10
+
11
+ source:
12
+ url: https://pypi.org/packages/source/${{ name[0] }}/${{ name }}/winregistry-${{ version }}.tar.gz
13
+ sha256: 942fecad3751c1b78b9e6b0a520266903c3023f104668ce1bdbf381ec993ad8b
14
+
15
+ build:
16
+ number: 0
17
+ skip: not win
18
+ script:
19
+ - ${{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation
20
+
21
+ requirements:
22
+ host:
23
+ - python >=3.7,<4.0
24
+ - poetry-core >=1.0.0
25
+ - pip
26
+ run:
27
+ - python >=3.7.0,<4.0.0
28
+
29
+ tests:
30
+ - python:
31
+ imports:
32
+ - winregistry
33
+ - requirements:
34
+ run:
35
+ - pip
36
+ script:
37
+ - pip check
38
+
39
+ about:
40
+ summary: Library aimed at working with Windows registry
41
+ license: MIT
42
+ license_file: LICENSE
43
+ homepage: https://github.com/shpaker/winregistry
44
+ repository: https://github.com/shpaker/winregistry
45
+
46
+ extra:
47
+ maintainers:
48
+ - sbtq
49
+ - cedrictq
50
+
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "keygen-py"
3
- version = "0.0.1.dev6"
3
+ version = "0.0.1.dev8"
4
4
  license = "MIT"
5
5
  description = "Unofficial Keygen SDK for Python. Integrate license activation and offline licensing. Wrapper around keygen-rs rust crate"
6
6
  requires-python = ">=3.9"
File without changes
File without changes