cdr-utilities 1.0.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,69 @@
1
+ ---
2
+ name: "Build package for public consumption"
3
+
4
+ on:
5
+ release:
6
+ types: [published]
7
+ workflow_dispatch:
8
+ inputs:
9
+ logLevel:
10
+ description: 'Log level'
11
+ required: true
12
+ default: 'warning'
13
+ type: choice
14
+ options:
15
+ - info
16
+ - warning
17
+ - debug
18
+
19
+ jobs:
20
+ build:
21
+ runs-on: ubuntu-latest
22
+ strategy:
23
+ matrix:
24
+ python-version: ["3.14"]
25
+
26
+ steps:
27
+ - uses: actions/checkout@v4
28
+
29
+ - name: Install uv
30
+ uses: astral-sh/setup-uv@v5
31
+ with:
32
+ enable-cache: true
33
+
34
+ - name: Set up Python ${{ matrix.python-version }}
35
+ run: uv python install ${{ matrix.python-version }}
36
+
37
+ - name: Build dist
38
+ run: uv build
39
+
40
+ - name: Store the distribution packages
41
+ uses: actions/upload-artifact@v5
42
+ with:
43
+ name: release-dists
44
+ path: dist/
45
+
46
+ pypi-publish:
47
+ runs-on: ubuntu-latest
48
+ needs:
49
+ - build
50
+ permissions:
51
+ id-token: write
52
+
53
+ environment:
54
+ name: pypi
55
+ url: https://pypi.org/p/cdr-utilities
56
+
57
+ # url: https://pypi.org/project/cdr-utilities/${{ github.event.release.name }}
58
+
59
+ steps:
60
+ - name: Retrieve release distributions
61
+ uses: actions/download-artifact@v4
62
+ with:
63
+ name: release-dists
64
+ path: dist/
65
+
66
+ - name: Publish release distributions to PyPI
67
+ uses: pypa/gh-action-pypi-publish@release/v1
68
+ with:
69
+ packages-dir: dist/
@@ -0,0 +1,196 @@
1
+ # Byte-compiled / optimized / DLL files
2
+ __pycache__/
3
+ *.py[codz]
4
+ *$py.class
5
+
6
+ # C extensions
7
+ *.so
8
+
9
+ # Distribution / packaging
10
+ .Python
11
+ .Rproj.user
12
+ myy-awjz-hfw
13
+ build/
14
+ develop-eggs/
15
+ dist/
16
+ downloads/
17
+ eggs/
18
+ .eggs/
19
+ lib/
20
+ lib64/
21
+ parts/
22
+ sdist/
23
+ var/
24
+ wheels/
25
+ share/python-wheels/
26
+ *.egg-info/
27
+ .installed.cfg
28
+ *.egg
29
+ MANIFEST
30
+
31
+ # PyInstaller
32
+ # Usually these files are written by a python script from a template
33
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
34
+ *.manifest
35
+ *.spec
36
+
37
+ # Installer logs
38
+ pip-log.txt
39
+ pip-delete-this-directory.txt
40
+
41
+ # Unit test / coverage reports
42
+ htmlcov/
43
+ .tox/
44
+ .nox/
45
+ .coverage
46
+ .coverage.*
47
+ .cache
48
+ nosetests.xml
49
+ coverage.xml
50
+ *.cover
51
+ *.py.cover
52
+ .hypothesis/
53
+ .pytest_cache/
54
+ cover/
55
+
56
+ # Translations
57
+ *.mo
58
+ *.pot
59
+
60
+ # Flask stuff:
61
+ instance/
62
+ .webassets-cache
63
+
64
+ # Scrapy stuff:
65
+ .scrapy
66
+
67
+ # Sphinx documentation
68
+ docs/_build/
69
+
70
+ # PyBuilder
71
+ .pybuilder/
72
+ target/
73
+
74
+ # pyenv
75
+ # For a library or package, you might want to ignore these files since the code is
76
+ # intended to run in multiple environments; otherwise, check them in:
77
+ # .python-version
78
+
79
+ # pipenv
80
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
81
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
82
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
83
+ # install all needed dependencies.
84
+ #Pipfile.lock
85
+
86
+ # UV
87
+ # Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
88
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
89
+ # commonly ignored for libraries.
90
+ #uv.lock
91
+
92
+ # poetry
93
+ # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
94
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
95
+ # commonly ignored for libraries.
96
+ # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
97
+ #poetry.lock
98
+ #poetry.toml
99
+
100
+ # pdm
101
+ # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
102
+ # pdm recommends including project-wide configuration in pdm.toml, but excluding .pdm-python.
103
+ # https://pdm-project.org/en/latest/usage/project/#working-with-version-control
104
+ #pdm.lock
105
+ #pdm.toml
106
+ .pdm-python
107
+ .pdm-build/
108
+
109
+ # pixi
110
+ # Similar to Pipfile.lock, it is generally recommended to include pixi.lock in version control.
111
+ #pixi.lock
112
+ # Pixi creates a virtual environment in the .pixi directory, just like venv module creates one
113
+ # in the .venv directory. It is recommended not to include this directory in version control.
114
+ .pixi
115
+
116
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
117
+ __pypackages__/
118
+
119
+ # Celery stuff
120
+ celerybeat-schedule
121
+ celerybeat.pid
122
+
123
+ # SageMath parsed files
124
+ *.sage.py
125
+
126
+ # Environments
127
+ .env
128
+ .envrc
129
+ .venv
130
+ env/
131
+ venv/
132
+ ENV/
133
+ env.bak/
134
+ venv.bak/
135
+
136
+ # Spyder project settings
137
+ .spyderproject
138
+ .spyproject
139
+
140
+ # Rope project settings
141
+ .ropeproject
142
+
143
+ # mkdocs documentation
144
+ /site
145
+
146
+ # mypy
147
+ .mypy_cache/
148
+ .dmypy.json
149
+ dmypy.json
150
+
151
+ # Pyre type checker
152
+ .pyre/
153
+
154
+ # pytype static type analyzer
155
+ .pytype/
156
+
157
+ # Cython debug symbols
158
+ cython_debug/
159
+
160
+ # PyCharm
161
+ # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
162
+ # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
163
+ # and can be added to the global gitignore or merged into this file. For a more nuclear
164
+ # option (not recommended) you can uncomment the following to ignore the entire idea folder.
165
+ #.idea/
166
+
167
+ # Abstra
168
+ # Abstra is an AI-powered process automation framework.
169
+ # Ignore directories containing user credentials, local state, and settings.
170
+ # Learn more at https://abstra.io/docs
171
+ .abstra/
172
+
173
+ # Visual Studio Code
174
+ # Visual Studio Code specific template is maintained in a separate VisualStudioCode.gitignore
175
+ # that can be found at https://github.com/github/gitignore/blob/main/Global/VisualStudioCode.gitignore
176
+ # and can be added to the global gitignore or merged into this file. However, if you prefer,
177
+ # you could uncomment the following to ignore the entire vscode folder
178
+ # .vscode/
179
+
180
+ # Ruff stuff:
181
+ .ruff_cache/
182
+
183
+ # PyPI configuration file
184
+ .pypirc
185
+
186
+ # Marimo
187
+ marimo/_static/
188
+ marimo/_lsp/
189
+ __marimo__/
190
+
191
+ # local temp and log files
192
+ logs/*.log
193
+
194
+ # Ignore OS X artifacts
195
+ .DS_Store
196
+
@@ -0,0 +1 @@
1
+ 3.14