deeprm 1.0.1__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 (70) hide show
  1. deeprm-1.0.1/.readthedocs.yml +11 -0
  2. deeprm-1.0.1/LICENSE.md +443 -0
  3. deeprm-1.0.1/MANIFEST.in +75 -0
  4. deeprm-1.0.1/PKG-INFO +335 -0
  5. deeprm-1.0.1/README.md +281 -0
  6. deeprm-1.0.1/docs/images/deeprm.png +0 -0
  7. deeprm-1.0.1/docs/images/deeprm_architecture.png +0 -0
  8. deeprm-1.0.1/docs/images/deeprm_inference_pipeline.png +0 -0
  9. deeprm-1.0.1/docs/images/deeprm_train_pipeline.png +0 -0
  10. deeprm-1.0.1/docs/source/_static/.gitkeep +0 -0
  11. deeprm-1.0.1/docs/source/_templates/.gitkeep +0 -0
  12. deeprm-1.0.1/docs/source/advanced-installation.md +191 -0
  13. deeprm-1.0.1/docs/source/api/index.md +12 -0
  14. deeprm-1.0.1/docs/source/api/inference.md +69 -0
  15. deeprm-1.0.1/docs/source/api/model.md +20 -0
  16. deeprm-1.0.1/docs/source/api/qc.md +40 -0
  17. deeprm-1.0.1/docs/source/api/train.md +60 -0
  18. deeprm-1.0.1/docs/source/api/utils.md +68 -0
  19. deeprm-1.0.1/docs/source/cli/call.md +24 -0
  20. deeprm-1.0.1/docs/source/cli/check.md +20 -0
  21. deeprm-1.0.1/docs/source/cli/index.md +22 -0
  22. deeprm-1.0.1/docs/source/cli/qc.md +24 -0
  23. deeprm-1.0.1/docs/source/cli/train.md +24 -0
  24. deeprm-1.0.1/docs/source/conf.py +85 -0
  25. deeprm-1.0.1/docs/source/index.md +59 -0
  26. deeprm-1.0.1/docs/source/installation.md +51 -0
  27. deeprm-1.0.1/docs/source/license.md +443 -0
  28. deeprm-1.0.1/docs/source/quickstart.md +40 -0
  29. deeprm-1.0.1/docs/source/troubleshooting.md +22 -0
  30. deeprm-1.0.1/docs/source/usage.md +88 -0
  31. deeprm-1.0.1/pyproject.toml +101 -0
  32. deeprm-1.0.1/setup.cfg +4 -0
  33. deeprm-1.0.1/src/deeprm/__init__.py +12 -0
  34. deeprm-1.0.1/src/deeprm/__main__.py +8 -0
  35. deeprm-1.0.1/src/deeprm/cli.py +152 -0
  36. deeprm-1.0.1/src/deeprm/inference/__init__.py +0 -0
  37. deeprm-1.0.1/src/deeprm/inference/cli.py +94 -0
  38. deeprm-1.0.1/src/deeprm/inference/deeprm_preprocess +0 -0
  39. deeprm-1.0.1/src/deeprm/inference/inference.py +342 -0
  40. deeprm-1.0.1/src/deeprm/inference/inference_dataloader.py +311 -0
  41. deeprm-1.0.1/src/deeprm/inference/inference_preprocess.py +54 -0
  42. deeprm-1.0.1/src/deeprm/inference/inference_preprocess_python.py +633 -0
  43. deeprm-1.0.1/src/deeprm/inference/pileup_deeprm.py +405 -0
  44. deeprm-1.0.1/src/deeprm/inference/pileup_genomic.py +416 -0
  45. deeprm-1.0.1/src/deeprm/model/__init__.py +0 -0
  46. deeprm-1.0.1/src/deeprm/model/deeprm_model.py +489 -0
  47. deeprm-1.0.1/src/deeprm/qc/__init__.py +0 -0
  48. deeprm-1.0.1/src/deeprm/qc/cli.py +78 -0
  49. deeprm-1.0.1/src/deeprm/qc/inspect_alignment.py +278 -0
  50. deeprm-1.0.1/src/deeprm/qc/inspect_block.py +452 -0
  51. deeprm-1.0.1/src/deeprm/qc/inspect_run.py +475 -0
  52. deeprm-1.0.1/src/deeprm/train/__init__.py +0 -0
  53. deeprm-1.0.1/src/deeprm/train/cli.py +78 -0
  54. deeprm-1.0.1/src/deeprm/train/config/dag_config.json +18 -0
  55. deeprm-1.0.1/src/deeprm/train/extract_block.py +748 -0
  56. deeprm-1.0.1/src/deeprm/train/train.py +719 -0
  57. deeprm-1.0.1/src/deeprm/train/train_compile.py +456 -0
  58. deeprm-1.0.1/src/deeprm/train/train_dataloader.py +697 -0
  59. deeprm-1.0.1/src/deeprm/train/train_preprocess.py +939 -0
  60. deeprm-1.0.1/src/deeprm/utils/__init__.py +0 -0
  61. deeprm-1.0.1/src/deeprm/utils/activations.py +33 -0
  62. deeprm-1.0.1/src/deeprm/utils/check_deps.py +19 -0
  63. deeprm-1.0.1/src/deeprm/utils/check_installation.py +273 -0
  64. deeprm-1.0.1/src/deeprm/utils/logging.py +85 -0
  65. deeprm-1.0.1/src/deeprm/utils/memory.py +57 -0
  66. deeprm-1.0.1/src/deeprm/utils/utils.py +22 -0
  67. deeprm-1.0.1/src/deeprm/weight/deeprm_weights.pt +0 -0
  68. deeprm-1.0.1/src/deeprm.egg-info/SOURCES.txt +67 -0
  69. deeprm-1.0.1/tests/test_cli_help.py +33 -0
  70. deeprm-1.0.1/tests/test_imports.py +12 -0
@@ -0,0 +1,11 @@
1
+ version: 2
2
+ build:
3
+ os: ubuntu-24.04
4
+ tools:
5
+ python: "3.11"
6
+ python:
7
+ install:
8
+ - method: pip
9
+ path: .[docs] # use docs extras only
10
+ sphinx:
11
+ configuration: docs/source/conf.py
@@ -0,0 +1,443 @@
1
+ # License
2
+
3
+ <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-nc-sa/4.0/88x31.png" /></a>
4
+ <br />DeepRM is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/">Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License</a>
5
+ by Seoul National University R&DB Foundation and Genome4me Inc.
6
+
7
+
8
+ =======================================================================
9
+
10
+ Creative Commons Corporation ("Creative Commons") is not a law firm and
11
+ does not provide legal services or legal advice. Distribution of
12
+ Creative Commons public licenses does not create a lawyer-client or
13
+ other relationship. Creative Commons makes its licenses and related
14
+ information available on an "as-is" basis. Creative Commons gives no
15
+ warranties regarding its licenses, any material licensed under their
16
+ terms and conditions, or any related information. Creative Commons
17
+ disclaims all liability for damages resulting from their use to the
18
+ fullest extent possible.
19
+
20
+ Using Creative Commons Public Licenses
21
+
22
+ Creative Commons public licenses provide a standard set of terms and
23
+ conditions that creators and other rights holders may use to share
24
+ original works of authorship and other material subject to copyright
25
+ and certain other rights specified in the public license below. The
26
+ following considerations are for informational purposes only, are not
27
+ exhaustive, and do not form part of our licenses.
28
+
29
+ Considerations for licensors: Our public licenses are
30
+ intended for use by those authorized to give the public
31
+ permission to use material in ways otherwise restricted by
32
+ copyright and certain other rights. Our licenses are
33
+ irrevocable. Licensors should read and understand the terms
34
+ and conditions of the license they choose before applying it.
35
+ Licensors should also secure all rights necessary before
36
+ applying our licenses so that the public can reuse the
37
+ material as expected. Licensors should clearly mark any
38
+ material not subject to the license. This includes other CC-
39
+ licensed material, or material used under an exception or
40
+ limitation to copyright. More considerations for licensors:
41
+ wiki.creativecommons.org/Considerations_for_licensors
42
+
43
+ Considerations for the public: By using one of our public
44
+ licenses, a licensor grants the public permission to use the
45
+ licensed material under specified terms and conditions. If
46
+ the licensor's permission is not necessary for any reason--for
47
+ example, because of any applicable exception or limitation to
48
+ copyright--then that use is not regulated by the license. Our
49
+ licenses grant only permissions under copyright and certain
50
+ other rights that a licensor has authority to grant. Use of
51
+ the licensed material may still be restricted for other
52
+ reasons, including because others have copyright or other
53
+ rights in the material. A licensor may make special requests,
54
+ such as asking that all changes be marked or described.
55
+ Although not required by our licenses, you are encouraged to
56
+ respect those requests where reasonable. More considerations
57
+ for the public:
58
+ wiki.creativecommons.org/Considerations_for_licensees
59
+
60
+ =======================================================================
61
+
62
+ Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International
63
+ Public License
64
+
65
+ By exercising the Licensed Rights (defined below), You accept and agree
66
+ to be bound by the terms and conditions of this Creative Commons
67
+ Attribution-NonCommercial-ShareAlike 4.0 International Public License
68
+ ("Public License"). To the extent this Public License may be
69
+ interpreted as a contract, You are granted the Licensed Rights in
70
+ consideration of Your acceptance of these terms and conditions, and the
71
+ Licensor grants You such rights in consideration of benefits the
72
+ Licensor receives from making the Licensed Material available under
73
+ these terms and conditions.
74
+
75
+
76
+ Section 1 -- Definitions.
77
+
78
+ a. Adapted Material means material subject to Copyright and Similar
79
+ Rights that is derived from or based upon the Licensed Material
80
+ and in which the Licensed Material is translated, altered,
81
+ arranged, transformed, or otherwise modified in a manner requiring
82
+ permission under the Copyright and Similar Rights held by the
83
+ Licensor. For purposes of this Public License, where the Licensed
84
+ Material is a musical work, performance, or sound recording,
85
+ Adapted Material is always produced where the Licensed Material is
86
+ synched in timed relation with a moving image.
87
+
88
+ b. Adapter's License means the license You apply to Your Copyright
89
+ and Similar Rights in Your contributions to Adapted Material in
90
+ accordance with the terms and conditions of this Public License.
91
+
92
+ c. BY-NC-SA Compatible License means a license listed at
93
+ creativecommons.org/compatiblelicenses, approved by Creative
94
+ Commons as essentially the equivalent of this Public License.
95
+
96
+ d. Copyright and Similar Rights means copyright and/or similar rights
97
+ closely related to copyright including, without limitation,
98
+ performance, broadcast, sound recording, and Sui Generis Database
99
+ Rights, without regard to how the rights are labeled or
100
+ categorized. For purposes of this Public License, the rights
101
+ specified in Section 2(b)(1)-(2) are not Copyright and Similar
102
+ Rights.
103
+
104
+ e. Effective Technological Measures means those measures that, in the
105
+ absence of proper authority, may not be circumvented under laws
106
+ fulfilling obligations under Article 11 of the WIPO Copyright
107
+ Treaty adopted on December 20, 1996, and/or similar international
108
+ agreements.
109
+
110
+ f. Exceptions and Limitations means fair use, fair dealing, and/or
111
+ any other exception or limitation to Copyright and Similar Rights
112
+ that applies to Your use of the Licensed Material.
113
+
114
+ g. License Elements means the license attributes listed in the name
115
+ of a Creative Commons Public License. The License Elements of this
116
+ Public License are Attribution, NonCommercial, and ShareAlike.
117
+
118
+ h. Licensed Material means the artistic or literary work, database,
119
+ or other material to which the Licensor applied this Public
120
+ License.
121
+
122
+ i. Licensed Rights means the rights granted to You subject to the
123
+ terms and conditions of this Public License, which are limited to
124
+ all Copyright and Similar Rights that apply to Your use of the
125
+ Licensed Material and that the Licensor has authority to license.
126
+
127
+ j. Licensor means the individual(s) or entity(ies) granting rights
128
+ under this Public License.
129
+
130
+ k. NonCommercial means not primarily intended for or directed towards
131
+ commercial advantage or monetary compensation. For purposes of
132
+ this Public License, the exchange of the Licensed Material for
133
+ other material subject to Copyright and Similar Rights by digital
134
+ file-sharing or similar means is NonCommercial provided there is
135
+ no payment of monetary compensation in connection with the
136
+ exchange.
137
+
138
+ l. Share means to provide material to the public by any means or
139
+ process that requires permission under the Licensed Rights, such
140
+ as reproduction, public display, public performance, distribution,
141
+ dissemination, communication, or importation, and to make material
142
+ available to the public including in ways that members of the
143
+ public may access the material from a place and at a time
144
+ individually chosen by them.
145
+
146
+ m. Sui Generis Database Rights means rights other than copyright
147
+ resulting from Directive 96/9/EC of the European Parliament and of
148
+ the Council of 11 March 1996 on the legal protection of databases,
149
+ as amended and/or succeeded, as well as other essentially
150
+ equivalent rights anywhere in the world.
151
+
152
+ n. You means the individual or entity exercising the Licensed Rights
153
+ under this Public License. Your has a corresponding meaning.
154
+
155
+
156
+ Section 2 -- Scope.
157
+
158
+ a. License grant.
159
+
160
+ 1. Subject to the terms and conditions of this Public License,
161
+ the Licensor hereby grants You a worldwide, royalty-free,
162
+ non-sublicensable, non-exclusive, irrevocable license to
163
+ exercise the Licensed Rights in the Licensed Material to:
164
+
165
+ a. reproduce and Share the Licensed Material, in whole or
166
+ in part, for NonCommercial purposes only; and
167
+
168
+ b. produce, reproduce, and Share Adapted Material for
169
+ NonCommercial purposes only.
170
+
171
+ 2. Exceptions and Limitations. For the avoidance of doubt, where
172
+ Exceptions and Limitations apply to Your use, this Public
173
+ License does not apply, and You do not need to comply with
174
+ its terms and conditions.
175
+
176
+ 3. Term. The term of this Public License is specified in Section
177
+ 6(a).
178
+
179
+ 4. Media and formats; technical modifications allowed. The
180
+ Licensor authorizes You to exercise the Licensed Rights in
181
+ all media and formats whether now known or hereafter created,
182
+ and to make technical modifications necessary to do so. The
183
+ Licensor waives and/or agrees not to assert any right or
184
+ authority to forbid You from making technical modifications
185
+ necessary to exercise the Licensed Rights, including
186
+ technical modifications necessary to circumvent Effective
187
+ Technological Measures. For purposes of this Public License,
188
+ simply making modifications authorized by this Section 2(a)
189
+ (4) never produces Adapted Material.
190
+
191
+ 5. Downstream recipients.
192
+
193
+ a. Offer from the Licensor -- Licensed Material. Every
194
+ recipient of the Licensed Material automatically
195
+ receives an offer from the Licensor to exercise the
196
+ Licensed Rights under the terms and conditions of this
197
+ Public License.
198
+
199
+ b. Additional offer from the Licensor -- Adapted Material.
200
+ Every recipient of Adapted Material from You
201
+ automatically receives an offer from the Licensor to
202
+ exercise the Licensed Rights in the Adapted Material
203
+ under the conditions of the Adapter's License You apply.
204
+
205
+ c. No downstream restrictions. You may not offer or impose
206
+ any additional or different terms or conditions on, or
207
+ apply any Effective Technological Measures to, the
208
+ Licensed Material if doing so restricts exercise of the
209
+ Licensed Rights by any recipient of the Licensed
210
+ Material.
211
+
212
+ 6. No endorsement. Nothing in this Public License constitutes or
213
+ may be construed as permission to assert or imply that You
214
+ are, or that Your use of the Licensed Material is, connected
215
+ with, or sponsored, endorsed, or granted official status by,
216
+ the Licensor or others designated to receive attribution as
217
+ provided in Section 3(a)(1)(A)(i).
218
+
219
+ b. Other rights.
220
+
221
+ 1. Moral rights, such as the right of integrity, are not
222
+ licensed under this Public License, nor are publicity,
223
+ privacy, and/or other similar personality rights; however, to
224
+ the extent possible, the Licensor waives and/or agrees not to
225
+ assert any such rights held by the Licensor to the limited
226
+ extent necessary to allow You to exercise the Licensed
227
+ Rights, but not otherwise.
228
+
229
+ 2. Patent and trademark rights are not licensed under this
230
+ Public License.
231
+
232
+ 3. To the extent possible, the Licensor waives any right to
233
+ collect royalties from You for the exercise of the Licensed
234
+ Rights, whether directly or through a collecting society
235
+ under any voluntary or waivable statutory or compulsory
236
+ licensing scheme. In all other cases the Licensor expressly
237
+ reserves any right to collect such royalties, including when
238
+ the Licensed Material is used other than for NonCommercial
239
+ purposes.
240
+
241
+
242
+ Section 3 -- License Conditions.
243
+
244
+ Your exercise of the Licensed Rights is expressly made subject to the
245
+ following conditions.
246
+
247
+ a. Attribution.
248
+
249
+ 1. If You Share the Licensed Material (including in modified
250
+ form), You must:
251
+
252
+ a. retain the following if it is supplied by the Licensor
253
+ with the Licensed Material:
254
+
255
+ i. identification of the creator(s) of the Licensed
256
+ Material and any others designated to receive
257
+ attribution, in any reasonable manner requested by
258
+ the Licensor (including by pseudonym if
259
+ designated);
260
+
261
+ ii. a copyright notice;
262
+
263
+ iii. a notice that refers to this Public License;
264
+
265
+ iv. a notice that refers to the disclaimer of
266
+ warranties;
267
+
268
+ v. a URI or hyperlink to the Licensed Material to the
269
+ extent reasonably practicable;
270
+
271
+ b. indicate if You modified the Licensed Material and
272
+ retain an indication of any previous modifications; and
273
+
274
+ c. indicate the Licensed Material is licensed under this
275
+ Public License, and include the text of, or the URI or
276
+ hyperlink to, this Public License.
277
+
278
+ 2. You may satisfy the conditions in Section 3(a)(1) in any
279
+ reasonable manner based on the medium, means, and context in
280
+ which You Share the Licensed Material. For example, it may be
281
+ reasonable to satisfy the conditions by providing a URI or
282
+ hyperlink to a resource that includes the required
283
+ information.
284
+ 3. If requested by the Licensor, You must remove any of the
285
+ information required by Section 3(a)(1)(A) to the extent
286
+ reasonably practicable.
287
+
288
+ b. ShareAlike.
289
+
290
+ In addition to the conditions in Section 3(a), if You Share
291
+ Adapted Material You produce, the following conditions also apply.
292
+
293
+ 1. The Adapter's License You apply must be a Creative Commons
294
+ license with the same License Elements, this version or
295
+ later, or a BY-NC-SA Compatible License.
296
+
297
+ 2. You must include the text of, or the URI or hyperlink to, the
298
+ Adapter's License You apply. You may satisfy this condition
299
+ in any reasonable manner based on the medium, means, and
300
+ context in which You Share Adapted Material.
301
+
302
+ 3. You may not offer or impose any additional or different terms
303
+ or conditions on, or apply any Effective Technological
304
+ Measures to, Adapted Material that restrict exercise of the
305
+ rights granted under the Adapter's License You apply.
306
+
307
+
308
+ Section 4 -- Sui Generis Database Rights.
309
+
310
+ Where the Licensed Rights include Sui Generis Database Rights that
311
+ apply to Your use of the Licensed Material:
312
+
313
+ a. for the avoidance of doubt, Section 2(a)(1) grants You the right
314
+ to extract, reuse, reproduce, and Share all or a substantial
315
+ portion of the contents of the database for NonCommercial purposes
316
+ only;
317
+
318
+ b. if You include all or a substantial portion of the database
319
+ contents in a database in which You have Sui Generis Database
320
+ Rights, then the database in which You have Sui Generis Database
321
+ Rights (but not its individual contents) is Adapted Material,
322
+ including for purposes of Section 3(b); and
323
+
324
+ c. You must comply with the conditions in Section 3(a) if You Share
325
+ all or a substantial portion of the contents of the database.
326
+
327
+ For the avoidance of doubt, this Section 4 supplements and does not
328
+ replace Your obligations under this Public License where the Licensed
329
+ Rights include other Copyright and Similar Rights.
330
+
331
+
332
+ Section 5 -- Disclaimer of Warranties and Limitation of Liability.
333
+
334
+ a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE
335
+ EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS
336
+ AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF
337
+ ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,
338
+ IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,
339
+ WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR
340
+ PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,
341
+ ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT
342
+ KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT
343
+ ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.
344
+
345
+ b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE
346
+ TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,
347
+ NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,
348
+ INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,
349
+ COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR
350
+ USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN
351
+ ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR
352
+ DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR
353
+ IN PART, THIS LIMITATION MAY NOT APPLY TO YOU.
354
+
355
+ c. The disclaimer of warranties and limitation of liability provided
356
+ above shall be interpreted in a manner that, to the extent
357
+ possible, most closely approximates an absolute disclaimer and
358
+ waiver of all liability.
359
+
360
+
361
+ Section 6 -- Term and Termination.
362
+
363
+ a. This Public License applies for the term of the Copyright and
364
+ Similar Rights licensed here. However, if You fail to comply with
365
+ this Public License, then Your rights under this Public License
366
+ terminate automatically.
367
+
368
+ b. Where Your right to use the Licensed Material has terminated under
369
+ Section 6(a), it reinstates:
370
+
371
+ 1. automatically as of the date the violation is cured, provided
372
+ it is cured within 30 days of Your discovery of the
373
+ violation; or
374
+
375
+ 2. upon express reinstatement by the Licensor.
376
+
377
+ For the avoidance of doubt, this Section 6(b) does not affect any
378
+ right the Licensor may have to seek remedies for Your violations
379
+ of this Public License.
380
+
381
+ c. For the avoidance of doubt, the Licensor may also offer the
382
+ Licensed Material under separate terms or conditions or stop
383
+ distributing the Licensed Material at any time; however, doing so
384
+ will not terminate this Public License.
385
+
386
+ d. Sections 1, 5, 6, 7, and 8 survive termination of this Public
387
+ License.
388
+
389
+
390
+ Section 7 -- Other Terms and Conditions.
391
+
392
+ a. The Licensor shall not be bound by any additional or different
393
+ terms or conditions communicated by You unless expressly agreed.
394
+
395
+ b. Any arrangements, understandings, or agreements regarding the
396
+ Licensed Material not stated herein are separate from and
397
+ independent of the terms and conditions of this Public License.
398
+
399
+
400
+ Section 8 -- Interpretation.
401
+
402
+ a. For the avoidance of doubt, this Public License does not, and
403
+ shall not be interpreted to, reduce, limit, restrict, or impose
404
+ conditions on any use of the Licensed Material that could lawfully
405
+ be made without permission under this Public License.
406
+
407
+ b. To the extent possible, if any provision of this Public License is
408
+ deemed unenforceable, it shall be automatically reformed to the
409
+ minimum extent necessary to make it enforceable. If the provision
410
+ cannot be reformed, it shall be severed from this Public License
411
+ without affecting the enforceability of the remaining terms and
412
+ conditions.
413
+
414
+ c. No term or condition of this Public License will be waived and no
415
+ failure to comply consented to unless expressly agreed to by the
416
+ Licensor.
417
+
418
+ d. Nothing in this Public License constitutes or may be interpreted
419
+ as a limitation upon, or waiver of, any privileges and immunities
420
+ that apply to the Licensor or You, including from the legal
421
+ processes of any jurisdiction or authority.
422
+
423
+ =======================================================================
424
+
425
+ Creative Commons is not a party to its public
426
+ licenses. Notwithstanding, Creative Commons may elect to apply one of
427
+ its public licenses to material it publishes and in those instances
428
+ will be considered the “Licensor.” The text of the Creative Commons
429
+ public licenses is dedicated to the public domain under the CC0 Public
430
+ Domain Dedication. Except for the limited purpose of indicating that
431
+ material is shared under a Creative Commons public license or as
432
+ otherwise permitted by the Creative Commons policies published at
433
+ creativecommons.org/policies, Creative Commons does not authorize the
434
+ use of the trademark "Creative Commons" or any other trademark or logo
435
+ of Creative Commons without its prior written consent including,
436
+ without limitation, in connection with any unauthorized modifications
437
+ to any of its public licenses or any other arrangements,
438
+ understandings, or agreements concerning use of licensed material. For
439
+ the avoidance of doubt, this paragraph does not form part of the
440
+ public licenses.
441
+
442
+ Creative Commons may be contacted at creativecommons.org.
443
+
@@ -0,0 +1,75 @@
1
+ # =========================
2
+ # Core project metadata
3
+ # =========================
4
+ include pyproject.toml
5
+ include README.md
6
+ include LICENSE
7
+ include CHANGELOG.md
8
+ include CITATION.cff
9
+ include .readthedocs.yml
10
+
11
+ # =========================
12
+ # Python package (src/ layout)
13
+ # =========================
14
+ graft src
15
+ prune src/**/__pycache__
16
+
17
+ # If you ship typing markers/stubs:
18
+ include src/deeprm/py.typed
19
+ recursive-include src *.pyi
20
+
21
+ # Common small runtime data files (safe to ship)
22
+ recursive-include src *.json *.yaml *.yml *.toml *.ini *.cfg *.txt *.csv *.tsv
23
+
24
+ # Avoid accidentally bundling egg-info from source tree
25
+ prune src/*.egg-info
26
+ exclude src/deeprm.egg-info/*
27
+
28
+ # # =========================
29
+ # # C++ / CMake extension (future-proof)
30
+ # # Safe to include even if not present yet
31
+ # # =========================
32
+ # include CMakeLists.txt
33
+ # graft cpp
34
+ # graft cmake
35
+ # # Include typical C/C++/CUDA sources and CMake files
36
+ # recursive-include cpp *.h *.hpp *.hh *.hxx *.c *.cc *.cxx *.cpp *.cu *.cuh *.ipp *.inl *.tpp CMakeLists.txt
37
+ # # Exclude build artifacts
38
+ # recursive-exclude cpp **/*.o **/*.obj **/*.lo **/*.la **/*.a **/*.lib **/*.exp **/*.pdb **/*.dll **/*.dylib **/*.so
39
+ # recursive-exclude cpp **/CMakeFiles/** **/cmake-build-*/** **/build/**
40
+
41
+ # =========================
42
+ # Documentation sources (not built HTML)
43
+ # =========================
44
+ graft docs
45
+ prune docs/_build
46
+ recursive-exclude docs **/.ipynb_checkpoints
47
+ # If notebooks are large, exclude them; otherwise comment this out:
48
+ recursive-exclude docs **/*.ipynb
49
+
50
+ # =========================
51
+ # Tests (useful for conda-forge and downstream)
52
+ # =========================
53
+ graft tests
54
+ recursive-exclude tests **/__pycache__ *.pyc *.pyo
55
+
56
+ # =========================
57
+ # Examples
58
+ # Ship scripts/configs, but exclude large binary assets
59
+ # =========================
60
+ prune example
61
+
62
+ # =========================
63
+ # CI/dev/VCS clutter
64
+ # =========================
65
+ prune .git
66
+ prune .github
67
+ prune .venv
68
+ prune venv
69
+ prune .idea
70
+ exclude .gitignore .gitattributes .editorconfig .pre-commit-config.yaml
71
+
72
+ # =========================
73
+ # Global excludes
74
+ # =========================
75
+ global-exclude __pycache__ *.py[cod] *~ *.swp *.swo .DS_Store