pyCSRML 0.1.0__tar.gz → 0.2__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.
@@ -2,9 +2,13 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
+ ## [0.2.0] - 2026-04-03
6
+
7
+ Updated documentation and preparation for publication.
8
+
5
9
  ## [0.1.0] — 2026-03-20
6
10
 
7
- Initial public release.
11
+ Initial module.
8
12
 
9
13
  ### Added
10
14
  - Parse CSRML XML (ToxPrint v2 and TxP_PFAS v1) to SMARTS
pycsrml-0.2/LICENSE ADDED
@@ -0,0 +1,417 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Luc Miaz
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+ Attribution 4.0 International
15
+
16
+ =======================================================================
17
+
18
+ Creative Commons Corporation ("Creative Commons") is not a law firm and
19
+ does not provide legal services or legal advice. Distribution of
20
+ Creative Commons public licenses does not create a lawyer-client or
21
+ other relationship. Creative Commons makes its licenses and related
22
+ information available on an "as-is" basis. Creative Commons gives no
23
+ warranties regarding its licenses, any material licensed under their
24
+ terms and conditions, or any related information. Creative Commons
25
+ disclaims all liability for damages resulting from their use to the
26
+ fullest extent possible.
27
+
28
+ Using Creative Commons Public Licenses
29
+
30
+ Creative Commons public licenses provide a standard set of terms and
31
+ conditions that creators and other rights holders may use to share
32
+ original works of authorship and other material subject to copyright
33
+ and certain other rights specified in the public license below. The
34
+ following considerations are for informational purposes only, are not
35
+ exhaustive, and do not form part of our licenses.
36
+
37
+ Considerations for licensors: Our public licenses are
38
+ intended for use by those authorized to give the public
39
+ permission to use material in ways otherwise restricted by
40
+ copyright and certain other rights. Our licenses are
41
+ irrevocable. Licensors should read and understand the terms
42
+ and conditions of the license they choose before applying it.
43
+ Licensors should also secure all rights necessary before
44
+ applying our licenses so that the public can reuse the
45
+ material as expected. Licensors should clearly mark any
46
+ material not subject to the license. This includes other CC-
47
+ licensed material, or material used under an exception or
48
+ limitation to copyright. More considerations for licensors:
49
+ wiki.creativecommons.org/Considerations_for_licensors
50
+
51
+ Considerations for the public: By using one of our public
52
+ licenses, a licensor grants the public permission to use the
53
+ licensed material under specified terms and conditions. If
54
+ the licensor's permission is not necessary for any reason--for
55
+ example, because of any applicable exception or limitation to
56
+ copyright--then that use is not regulated by the license. Our
57
+ licenses grant only permissions under copyright and certain
58
+ other rights that a licensor has authority to grant. Use of
59
+ the licensed material may still be restricted for other
60
+ reasons, including because others have copyright or other
61
+ rights in the material. A licensor may make special requests,
62
+ such as asking that all changes be marked or described.
63
+ Although not required by our licenses, you are encouraged to
64
+ respect those requests where reasonable. More considerations
65
+ for the public:
66
+ wiki.creativecommons.org/Considerations_for_licensees
67
+
68
+ =======================================================================
69
+
70
+ Creative Commons Attribution 4.0 International Public License
71
+
72
+ By exercising the Licensed Rights (defined below), You accept and agree
73
+ to be bound by the terms and conditions of this Creative Commons
74
+ Attribution 4.0 International Public License ("Public License"). To the
75
+ extent this Public License may be interpreted as a contract, You are
76
+ granted the Licensed Rights in consideration of Your acceptance of
77
+ these terms and conditions, and the Licensor grants You such rights in
78
+ consideration of benefits the Licensor receives from making the
79
+ Licensed Material available under these terms and conditions.
80
+
81
+
82
+ Section 1 -- Definitions.
83
+
84
+ a. Adapted Material means material subject to Copyright and Similar
85
+ Rights that is derived from or based upon the Licensed Material
86
+ and in which the Licensed Material is translated, altered,
87
+ arranged, transformed, or otherwise modified in a manner requiring
88
+ permission under the Copyright and Similar Rights held by the
89
+ Licensor. For purposes of this Public License, where the Licensed
90
+ Material is a musical work, performance, or sound recording,
91
+ Adapted Material is always produced where the Licensed Material is
92
+ synched in timed relation with a moving image.
93
+
94
+ b. Adapter's License means the license You apply to Your Copyright
95
+ and Similar Rights in Your contributions to Adapted Material in
96
+ accordance with the terms and conditions of this Public License.
97
+
98
+ c. Copyright and Similar Rights means copyright and/or similar rights
99
+ closely related to copyright including, without limitation,
100
+ performance, broadcast, sound recording, and Sui Generis Database
101
+ Rights, without regard to how the rights are labeled or
102
+ categorized. For purposes of this Public License, the rights
103
+ specified in Section 2(b)(1)-(2) are not Copyright and Similar
104
+ Rights.
105
+
106
+ d. Effective Technological Measures means those measures that, in the
107
+ absence of proper authority, may not be circumvented under laws
108
+ fulfilling obligations under Article 11 of the WIPO Copyright
109
+ Treaty adopted on December 20, 1996, and/or similar international
110
+ agreements.
111
+
112
+ e. Exceptions and Limitations means fair use, fair dealing, and/or
113
+ any other exception or limitation to Copyright and Similar Rights
114
+ that applies to Your use of the Licensed Material.
115
+
116
+ f. Licensed Material means the artistic or literary work, database,
117
+ or other material to which the Licensor applied this Public
118
+ License.
119
+
120
+ g. Licensed Rights means the rights granted to You subject to the
121
+ terms and conditions of this Public License, which are limited to
122
+ all Copyright and Similar Rights that apply to Your use of the
123
+ Licensed Material and that the Licensor has authority to license.
124
+
125
+ h. Licensor means the individual(s) or entity(ies) granting rights
126
+ under this Public License.
127
+
128
+ i. Share means to provide material to the public by any means or
129
+ process that requires permission under the Licensed Rights, such
130
+ as reproduction, public display, public performance, distribution,
131
+ dissemination, communication, or importation, and to make material
132
+ available to the public including in ways that members of the
133
+ public may access the material from a place and at a time
134
+ individually chosen by them.
135
+
136
+ j. Sui Generis Database Rights means rights other than copyright
137
+ resulting from Directive 96/9/EC of the European Parliament and of
138
+ the Council of 11 March 1996 on the legal protection of databases,
139
+ as amended and/or succeeded, as well as other essentially
140
+ equivalent rights anywhere in the world.
141
+
142
+ k. You means the individual or entity exercising the Licensed Rights
143
+ under this Public License. Your has a corresponding meaning.
144
+
145
+
146
+ Section 2 -- Scope.
147
+
148
+ a. License grant.
149
+
150
+ 1. Subject to the terms and conditions of this Public License,
151
+ the Licensor hereby grants You a worldwide, royalty-free,
152
+ non-sublicensable, non-exclusive, irrevocable license to
153
+ exercise the Licensed Rights in the Licensed Material to:
154
+
155
+ a. reproduce and Share the Licensed Material, in whole or
156
+ in part; and
157
+
158
+ b. produce, reproduce, and Share Adapted Material.
159
+
160
+ 2. Exceptions and Limitations. For the avoidance of doubt, where
161
+ Exceptions and Limitations apply to Your use, this Public
162
+ License does not apply, and You do not need to comply with
163
+ its terms and conditions.
164
+
165
+ 3. Term. The term of this Public License is specified in Section
166
+ 6(a).
167
+
168
+ 4. Media and formats; technical modifications allowed. The
169
+ Licensor authorizes You to exercise the Licensed Rights in
170
+ all media and formats whether now known or hereafter created,
171
+ and to make technical modifications necessary to do so. The
172
+ Licensor waives and/or agrees not to assert any right or
173
+ authority to forbid You from making technical modifications
174
+ necessary to exercise the Licensed Rights, including
175
+ technical modifications necessary to circumvent Effective
176
+ Technological Measures. For purposes of this Public License,
177
+ simply making modifications authorized by this Section 2(a)
178
+ (4) never produces Adapted Material.
179
+
180
+ 5. Downstream recipients.
181
+
182
+ a. Offer from the Licensor -- Licensed Material. Every
183
+ recipient of the Licensed Material automatically
184
+ receives an offer from the Licensor to exercise the
185
+ Licensed Rights under the terms and conditions of this
186
+ Public License.
187
+
188
+ b. No downstream restrictions. You may not offer or impose
189
+ any additional or different terms or conditions on, or
190
+ apply any Effective Technological Measures to, the
191
+ Licensed Material if doing so restricts exercise of the
192
+ Licensed Rights by any recipient of the Licensed
193
+ Material.
194
+
195
+ 6. No endorsement. Nothing in this Public License constitutes or
196
+ may be construed as permission to assert or imply that You
197
+ are, or that Your use of the Licensed Material is, connected
198
+ with, or sponsored, endorsed, or granted official status by,
199
+ the Licensor or others designated to receive attribution as
200
+ provided in Section 3(a)(1)(A)(i).
201
+
202
+ b. Other rights.
203
+
204
+ 1. Moral rights, such as the right of integrity, are not
205
+ licensed under this Public License, nor are publicity,
206
+ privacy, and/or other similar personality rights; however, to
207
+ the extent possible, the Licensor waives and/or agrees not to
208
+ assert any such rights held by the Licensor to the limited
209
+ extent necessary to allow You to exercise the Licensed
210
+ Rights, but not otherwise.
211
+
212
+ 2. Patent and trademark rights are not licensed under this
213
+ Public License.
214
+
215
+ 3. To the extent possible, the Licensor waives any right to
216
+ collect royalties from You for the exercise of the Licensed
217
+ Rights, whether directly or through a collecting society
218
+ under any voluntary or waivable statutory or compulsory
219
+ licensing scheme. In all other cases the Licensor expressly
220
+ reserves any right to collect such royalties.
221
+
222
+
223
+ Section 3 -- License Conditions.
224
+
225
+ Your exercise of the Licensed Rights is expressly made subject to the
226
+ following conditions.
227
+
228
+ a. Attribution.
229
+
230
+ 1. If You Share the Licensed Material (including in modified
231
+ form), You must:
232
+
233
+ a. retain the following if it is supplied by the Licensor
234
+ with the Licensed Material:
235
+
236
+ i. identification of the creator(s) of the Licensed
237
+ Material and any others designated to receive
238
+ attribution, in any reasonable manner requested by
239
+ the Licensor (including by pseudonym if
240
+ designated);
241
+
242
+ ii. a copyright notice;
243
+
244
+ iii. a notice that refers to this Public License;
245
+
246
+ iv. a notice that refers to the disclaimer of
247
+ warranties;
248
+
249
+ v. a URI or hyperlink to the Licensed Material to the
250
+ extent reasonably practicable;
251
+
252
+ b. indicate if You modified the Licensed Material and
253
+ retain an indication of any previous modifications; and
254
+
255
+ c. indicate the Licensed Material is licensed under this
256
+ Public License, and include the text of, or the URI or
257
+ hyperlink to, this Public License.
258
+
259
+ 2. You may satisfy the conditions in Section 3(a)(1) in any
260
+ reasonable manner based on the medium, means, and context in
261
+ which You Share the Licensed Material. For example, it may be
262
+ reasonable to satisfy the conditions by providing a URI or
263
+ hyperlink to a resource that includes the required
264
+ information.
265
+
266
+ 3. If requested by the Licensor, You must remove any of the
267
+ information required by Section 3(a)(1)(A) to the extent
268
+ reasonably practicable.
269
+
270
+ 4. If You Share Adapted Material You produce, the Adapter's
271
+ License You apply must not prevent recipients of the Adapted
272
+ Material from complying with this Public License.
273
+
274
+
275
+ Section 4 -- Sui Generis Database Rights.
276
+
277
+ Where the Licensed Rights include Sui Generis Database Rights that
278
+ apply to Your use of the Licensed Material:
279
+
280
+ a. for the avoidance of doubt, Section 2(a)(1) grants You the right
281
+ to extract, reuse, reproduce, and Share all or a substantial
282
+ portion of the contents of the database;
283
+
284
+ b. if You include all or a substantial portion of the database
285
+ contents in a database in which You have Sui Generis Database
286
+ Rights, then the database in which You have Sui Generis Database
287
+ Rights (but not its individual contents) is Adapted Material; and
288
+
289
+ c. You must comply with the conditions in Section 3(a) if You Share
290
+ all or a substantial portion of the contents of the database.
291
+
292
+ For the avoidance of doubt, this Section 4 supplements and does not
293
+ replace Your obligations under this Public License where the Licensed
294
+ Rights include other Copyright and Similar Rights.
295
+
296
+
297
+ Section 5 -- Disclaimer of Warranties and Limitation of Liability.
298
+
299
+ a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE
300
+ EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS
301
+ AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF
302
+ ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,
303
+ IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,
304
+ WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR
305
+ PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,
306
+ ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT
307
+ KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT
308
+ ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.
309
+
310
+ b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE
311
+ TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,
312
+ NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,
313
+ INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,
314
+ COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR
315
+ USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN
316
+ ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR
317
+ DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR
318
+ IN PART, THIS LIMITATION MAY NOT APPLY TO YOU.
319
+
320
+ c. The disclaimer of warranties and limitation of liability provided
321
+ above shall be interpreted in a manner that, to the extent
322
+ possible, most closely approximates an absolute disclaimer and
323
+ waiver of all liability.
324
+
325
+
326
+ Section 6 -- Term and Termination.
327
+
328
+ a. This Public License applies for the term of the Copyright and
329
+ Similar Rights licensed here. However, if You fail to comply with
330
+ this Public License, then Your rights under this Public License
331
+ terminate automatically.
332
+
333
+ b. Where Your right to use the Licensed Material has terminated under
334
+ Section 6(a), it reinstates:
335
+
336
+ 1. automatically as of the date the violation is cured, provided
337
+ it is cured within 30 days of Your discovery of the
338
+ violation; or
339
+
340
+ 2. upon express reinstatement by the Licensor.
341
+
342
+ For the avoidance of doubt, this Section 6(b) does not affect any
343
+ right the Licensor may have to seek remedies for Your violations
344
+ of this Public License.
345
+
346
+ c. For the avoidance of doubt, the Licensor may also offer the
347
+ Licensed Material under separate terms or conditions or stop
348
+ distributing the Licensed Material at any time; however, doing so
349
+ will not terminate this Public License.
350
+
351
+ d. Sections 1, 5, 6, 7, and 8 survive termination of this Public
352
+ License.
353
+
354
+
355
+ Section 7 -- Other Terms and Conditions.
356
+
357
+ a. The Licensor shall not be bound by any additional or different
358
+ terms or conditions communicated by You unless expressly agreed.
359
+
360
+ b. Any arrangements, understandings, or agreements regarding the
361
+ Licensed Material not stated herein are separate from and
362
+ independent of the terms and conditions of this Public License.
363
+
364
+
365
+ Section 8 -- Interpretation.
366
+
367
+ a. For the avoidance of doubt, this Public License does not, and
368
+ shall not be interpreted to, reduce, limit, restrict, or impose
369
+ conditions on any use of the Licensed Material that could lawfully
370
+ be made without permission under this Public License.
371
+
372
+ b. To the extent possible, if any provision of this Public License is
373
+ deemed unenforceable, it shall be automatically reformed to the
374
+ minimum extent necessary to make it enforceable. If the provision
375
+ cannot be reformed, it shall be severed from this Public License
376
+ without affecting the enforceability of the remaining terms and
377
+ conditions.
378
+
379
+ c. No term or condition of this Public License will be waived and no
380
+ failure to comply consented to unless expressly agreed to by the
381
+ Licensor.
382
+
383
+ d. Nothing in this Public License constitutes or may be interpreted
384
+ as a limitation upon, or waiver of, any privileges and immunities
385
+ that apply to the Licensor or You, including from the legal
386
+ processes of any jurisdiction or authority.
387
+
388
+
389
+ =======================================================================
390
+
391
+ Creative Commons is not a party to its public
392
+ licenses. Notwithstanding, Creative Commons may elect to apply one of
393
+ its public licenses to material it publishes and in those instances
394
+ will be considered the “Licensor.” The text of the Creative Commons
395
+ public licenses is dedicated to the public domain under the CC0 Public
396
+ Domain Dedication. Except for the limited purpose of indicating that
397
+ material is shared under a Creative Commons public license or as
398
+ otherwise permitted by the Creative Commons policies published at
399
+ creativecommons.org/policies, Creative Commons does not authorize the
400
+ use of the trademark "Creative Commons" or any other trademark or logo
401
+ of Creative Commons without its prior written consent including,
402
+ without limitation, in connection with any unauthorized modifications
403
+ to any of its public licenses or any other arrangements,
404
+ understandings, or agreements concerning use of licensed material. For
405
+ the avoidance of doubt, this paragraph does not form part of the
406
+ public licenses.
407
+
408
+ Creative Commons may be contacted at creativecommons.org.
409
+
410
+
411
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
412
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
413
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
414
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
415
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
416
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
417
+ SOFTWARE.