randomness-kit 0.1.0__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.
@@ -0,0 +1,112 @@
1
+ # This file is autogenerated by maturin v1.14.1
2
+ # To update, run
3
+ #
4
+ # maturin generate-ci github
5
+ #
6
+ name: CI
7
+
8
+ on:
9
+ push:
10
+ branches:
11
+ - main
12
+ - master
13
+ tags:
14
+ - '*'
15
+ pull_request:
16
+ workflow_dispatch:
17
+
18
+ permissions:
19
+ contents: read
20
+
21
+ jobs:
22
+ linux:
23
+ runs-on: ${{ matrix.platform.runner }}
24
+ strategy:
25
+ matrix:
26
+ platform:
27
+ - runner: ubuntu-22.04
28
+ target: x86_64
29
+ steps:
30
+ - uses: actions/checkout@v6
31
+ - uses: actions/setup-python@v6
32
+ with:
33
+ python-version: "3.14"
34
+ - name: Build wheels
35
+ uses: PyO3/maturin-action@v1
36
+ with:
37
+ target: ${{ matrix.platform.target }}
38
+ args: --release --out dist --find-interpreter
39
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
40
+ manylinux: auto
41
+ - name: Upload wheels
42
+ uses: actions/upload-artifact@v6
43
+ with:
44
+ name: wheels-linux-${{ matrix.platform.target }}
45
+ path: dist
46
+
47
+ musllinux:
48
+ runs-on: ${{ matrix.platform.runner }}
49
+ strategy:
50
+ matrix:
51
+ platform:
52
+ - runner: ubuntu-22.04
53
+ target: x86_64
54
+ steps:
55
+ - uses: actions/checkout@v6
56
+ - uses: actions/setup-python@v6
57
+ with:
58
+ python-version: "3.14"
59
+ - name: Build wheels
60
+ uses: PyO3/maturin-action@v1
61
+ with:
62
+ target: ${{ matrix.platform.target }}
63
+ args: --release --out dist --find-interpreter
64
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
65
+ manylinux: musllinux_1_2
66
+ - name: Upload wheels
67
+ uses: actions/upload-artifact@v6
68
+ with:
69
+ name: wheels-musllinux-${{ matrix.platform.target }}
70
+ path: dist
71
+
72
+ sdist:
73
+ runs-on: ubuntu-latest
74
+ steps:
75
+ - uses: actions/checkout@v6
76
+ - name: Build sdist
77
+ uses: PyO3/maturin-action@v1
78
+ with:
79
+ command: sdist
80
+ args: --out dist
81
+ - name: Upload sdist
82
+ uses: actions/upload-artifact@v6
83
+ with:
84
+ name: wheels-sdist
85
+ path: dist
86
+
87
+ release:
88
+ name: Release
89
+ runs-on: ubuntu-latest
90
+ if: ${{ startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' }}
91
+ needs: [linux, musllinux, sdist]
92
+ permissions:
93
+ # Use to sign the release artifacts
94
+ id-token: write
95
+ # Used to upload release artifacts
96
+ contents: write
97
+ # Used to generate artifact attestation
98
+ attestations: write
99
+ steps:
100
+ - uses: actions/download-artifact@v7
101
+ - name: Generate artifact attestation
102
+ uses: actions/attest@v4
103
+ with:
104
+ subject-path: 'wheels-*/*'
105
+ - name: Install uv
106
+ if: ${{ startsWith(github.ref, 'refs/tags/') }}
107
+ uses: astral-sh/setup-uv@v7
108
+ - name: Publish to PyPI
109
+ if: ${{ startsWith(github.ref, 'refs/tags/') }}
110
+ run: uv publish 'wheels-*/*'
111
+ env:
112
+ UV_PUBLISH_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
@@ -0,0 +1,72 @@
1
+ /target
2
+
3
+ # Byte-compiled / optimized / DLL files
4
+ __pycache__/
5
+ .pytest_cache/
6
+ *.py[cod]
7
+
8
+ # C extensions
9
+ *.so
10
+
11
+ # Distribution / packaging
12
+ .Python
13
+ .venv/
14
+ env/
15
+ bin/
16
+ build/
17
+ develop-eggs/
18
+ dist/
19
+ eggs/
20
+ lib/
21
+ lib64/
22
+ parts/
23
+ sdist/
24
+ var/
25
+ include/
26
+ man/
27
+ venv/
28
+ *.egg-info/
29
+ .installed.cfg
30
+ *.egg
31
+
32
+ # Installer logs
33
+ pip-log.txt
34
+ pip-delete-this-directory.txt
35
+ pip-selfcheck.json
36
+
37
+ # Unit test / coverage reports
38
+ htmlcov/
39
+ .tox/
40
+ .coverage
41
+ .cache
42
+ nosetests.xml
43
+ coverage.xml
44
+
45
+ # Translations
46
+ *.mo
47
+
48
+ # Mr Developer
49
+ .mr.developer.cfg
50
+ .project
51
+ .pydevproject
52
+
53
+ # Rope
54
+ .ropeproject
55
+
56
+ # Django stuff:
57
+ *.log
58
+ *.pot
59
+
60
+ .DS_Store
61
+
62
+ # Sphinx documentation
63
+ docs/_build/
64
+
65
+ # PyCharm
66
+ .idea/
67
+
68
+ # VSCode
69
+ .vscode/
70
+
71
+ # Pyenv
72
+ .python-version