dclab 0.62.16__cp311-cp311-macosx_11_0_arm64.whl → 0.62.17__cp311-cp311-macosx_11_0_arm64.whl

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.

Potentially problematic release.


This version of dclab might be problematic. Click here for more details.

dclab/util.py CHANGED
@@ -1,6 +1,7 @@
1
1
  """Utility methods"""
2
2
  import functools
3
3
  import hashlib
4
+ import importlib
4
5
  import numbers
5
6
  import pathlib
6
7
  import warnings
@@ -60,6 +61,25 @@ class file_monitoring_lru_cache:
60
61
  return wrapper
61
62
 
62
63
 
64
+ class LazyLoader():
65
+ """Lazy load a module on first attribute access"""
66
+
67
+ def __init__(self, modname):
68
+ self._modname = modname
69
+ self._mod = None
70
+
71
+ def __getattr__(self, attr):
72
+ """Get attribute from module, load module if not loaded yet"""
73
+
74
+ if self._mod is None:
75
+ # module is unset, load it
76
+ self._mod = importlib.import_module(self._modname)
77
+
78
+ # retry getattr if module was just loaded for first time
79
+ # call this outside exception handler in case it raises new exception
80
+ return getattr(self._mod, attr)
81
+
82
+
63
83
  @file_monitoring_lru_cache(maxsize=100)
64
84
  def hashfile(fname, blocksize=65536, count=0, constructor=hashlib.md5,
65
85
  hasher_class=None):
@@ -1,10 +1,10 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dclab
3
- Version: 0.62.16
3
+ Version: 0.62.17
4
4
  Summary: Library for real-time deformability cytometry (RT-DC)
5
5
  Author: Benedikt Hartmann, Eoghan O'Connell, Maik Herbig, Maximilian Schlögel, Nadia Sbaa, Paul Müller, Philipp Rosendahl, Raghava Alajangi
6
6
  Maintainer-email: Paul Müller <dev@craban.de>
7
- License: GPL version 2.0 or later
7
+ License: GPL-2.0-or-later
8
8
  Project-URL: source, https://github.com/DC-Analysis/dclab
9
9
  Project-URL: tracker, https://github.com/DC-Analysis/dclab/issues
10
10
  Project-URL: documentation, https://dclab.readthedocs.io/en/stable/
@@ -27,8 +27,8 @@ Requires-Dist: dclab[dcor,export,http,s3,tdms]; extra == "all"
27
27
  Provides-Extra: dcor
28
28
  Requires-Dist: requests<3,>=2.31.0; extra == "dcor"
29
29
  Provides-Extra: export
30
- Requires-Dist: fcswrite>=0.5.0; extra == "export"
31
- Requires-Dist: imageio[ffmpeg]; extra == "export"
30
+ Requires-Dist: fcswrite>=0.5.1; extra == "export"
31
+ Requires-Dist: av; extra == "export"
32
32
  Provides-Extra: http
33
33
  Requires-Dist: requests<3,>=2.31.0; extra == "http"
34
34
  Provides-Extra: s3
@@ -1,21 +1,15 @@
1
- dclab-0.62.16.dist-info/RECORD,,
2
- dclab-0.62.16.dist-info/WHEEL,sha256=MENwhpgrIU2nvPBqGzTKFGy2EEwuhdG3arqb_Dng8c8,136
3
- dclab-0.62.16.dist-info/entry_points.txt,sha256=eOpjgznu-eW-9utUpLU-77O5098YyUEgGF3ksGMdtec,273
4
- dclab-0.62.16.dist-info/top_level.txt,sha256=irvwZMgs1edY1Zj60ZFk7Almb9Zhk4k6E6aC4YPFnnM,6
5
- dclab-0.62.16.dist-info/METADATA,sha256=SvElgJ9evzAOSPVf9kfRkP1d-GR_6EBvQdYi56R9aIo,4777
6
- dclab-0.62.16.dist-info/licenses/LICENSE,sha256=1mLfjOTOaeiMSGPJiF5hHnMQfKX88QVeZpCCXwJGj3k,18131
7
- dclab/kde_methods.py,sha256=awlqkj819VRJzArG6Fx6myDa6qGpLoZ8S9IJ1J1YECA,9206
8
- dclab/downsampling.cpython-311-darwin.so,sha256=rcRQgq0rf-IwSG8je7l-muhjrznS5laYZz1jHmChNUg,242096
9
- dclab/_version.py,sha256=MI0jKDrd2fFPrMvMv71SRYVo2YigN9lk8o441qHDsfg,515
10
- dclab/util.py,sha256=nLL5jwG14h1YFJ_d0L-5DwsWgyfst5hVndaiLbTkYH4,5253
1
+ dclab/kde_methods.py,sha256=f0-zDN7ETintvGB3gSzxwgBb53YtT9jZtzI70EAX50g,365
2
+ dclab/downsampling.cpython-311-darwin.so,sha256=G-_fSSsQXsmuEyWs53iCT0vh4fMnlOYq2ajnFJKQlAw,242096
3
+ dclab/_version.py,sha256=GEa7QH3NrBgvyLi3LNdBdNGUvveY9cblWLa2mkR4bCI,515
4
+ dclab/util.py,sha256=HFT5ZQV6AW8GIIruVMldukbVVdlMyKH50GUfOogAcxI,5860
11
5
  dclab/downsampling.pyx,sha256=OK7zbgGLl5gVyoU8ZBHo9EWwb8C9ChavmLNEvQvC9T0,7258
12
- dclab/__init__.py,sha256=1mskJAUo8HbvDhJRJFbcFB6HccFeqoRUCEHLuS64t_g,812
6
+ dclab/__init__.py,sha256=wyJWhElQRPcq09vUqUnuquTU_KHgHxv6wQxuxQ988Iw,1583
13
7
  dclab/warn.py,sha256=MjJvyQeuvIXFQ2-fHDzbmXJ0scnHqqRJlIxfuLI_utE,523
14
8
  dclab/cached.py,sha256=eWTYBiI-HQM7JuPH-oxa5LLnhAX32GpRwlYg2kQ3sTA,2917
15
9
  dclab/http_utils.py,sha256=YtZHEwB-BBBo2fCvwhlJvlnWvfWFMHclqol3OIJ7atM,10910
16
10
  dclab/polygon_filter.py,sha256=qexmo-rXe06CUPZhN6EMJy4y4B5gXZeqejdvIB2arOE,13480
17
11
  dclab/statistics.py,sha256=tJDqPlY_Jw2Hhl-s7ugMBSZAxcRuPu4LQuBAZBXz7t8,6355
18
- dclab/kde_contours.py,sha256=5K7PzZz-FtSGvW4IR2tLpbEKKqCSsSTQPsupu7zIsPg,6745
12
+ dclab/kde_contours.py,sha256=UlU64lrzMQUZH11oZndW7xf7NFCzwP3FcVujwuqXDCI,278
19
13
  dclab/isoelastics/iso_LE-2D-FEM-19-volume-deform.txt,sha256=vTcazOlOXo3BQ0NQtGB_IdHKA0neOLXZ_d3JuMU--RE,83358
20
14
  dclab/isoelastics/iso_HE-3D-FEM-22-area_um-deform.txt,sha256=IjULG1KO-hClaYPoJJnwPbF2TkS9i9jxF1tbhhQTClY,71350
21
15
  dclab/isoelastics/iso_HE-2D-FEM-22-volume-deform.txt,sha256=aLOWxev_hvyP2yWquomcogn3Ze4SBfvqz-qmTOOibNw,97512
@@ -53,6 +47,10 @@ dclab/cli/common.py,sha256=uY0IexcvmScB-5AVIQhM9qMutUcSf7CM9tUrgtuawgU,7224
53
47
  dclab/cli/task_join.py,sha256=R04ZmXG2-O82E8le0ywZpy9NzOYoErw8hLx8m4q76ms,9464
54
48
  dclab/cli/task_split.py,sha256=dqW3GWkwi4ceDqRVrQx8ADGk4--KSsD3Q1knkD3ZXI4,6060
55
49
  dclab/cli/task_compress.py,sha256=LH3j41aKq5regAH-ZFdOgnXImf5DrReDJ7ITwUObUSQ,4100
50
+ dclab/kde/contours.py,sha256=WoRqBj_xK-23FZjtaYly7E2Q8sGZ16q2ILq-DmrlmC8,6742
51
+ dclab/kde/methods.py,sha256=SYlAjoST66hEZnRmsdZ6izMmgfebxQxTfBR5PHhzDkE,9208
52
+ dclab/kde/__init__.py,sha256=_WSLPMfxE2su6tmO5mJxUE_9ON16-pqQUQCUlzRtyKI,55
53
+ dclab/kde/base.py,sha256=i6bNYYeQSFlq03Z5CZjhBE-V3xpY6YLWivL3guscsnE,7683
56
54
  dclab/external/__init__.py,sha256=gb0UdzoMymEURPsTXRqVTT1ZJedJ2ubH3jApBIRkwjk,93
57
55
  dclab/external/packaging/version.py,sha256=9MLL6_EYHvGA1yCGndwL5ZmmDA_wqQsW15GyKrI6siQ,14685
58
56
  dclab/external/packaging/LICENSE,sha256=ytHvW9NA1z4HS6YU0m996spceUDD2MNIUuZcSQlobEg,197
@@ -72,11 +70,11 @@ dclab/external/skimage/pnpoly.py,sha256=r8hFNiTz5XlUoNZjosqA0iyv1FPn0l7ewbplgFgk
72
70
  dclab/external/skimage/_find_contours.py,sha256=16v5eeTZBmevG8SSuXtJ6yUpVPhwfSmtc8pDD0nuuOU,9340
73
71
  dclab/external/skimage/__init__.py,sha256=-B2QUKHAFzQuBWuuKvPDC5JIl0Zb-x3OGmbwPaE9VwQ,72
74
72
  dclab/external/skimage/_pnpoly.pyx,sha256=Qdn6xPazDschBqbr46DzB75MB2MnqvdnoTSBMK7kUGE,2504
75
- dclab/external/skimage/_find_contours_cy.cpython-311-darwin.so,sha256=Tqb_FZY-FV6eAx0rOYMIPhRhVcv_VmsuJSo3a3Lni_8,204360
73
+ dclab/external/skimage/_find_contours_cy.cpython-311-darwin.so,sha256=s3OwkMVWioZGpsbJoxrv3MMBWXiBqthR4ITv6J36d8I,204360
76
74
  dclab/external/skimage/_find_contours_cy.pyx,sha256=pZJOBhMHzYEMkcz4WQVyjn7jDNrdjCfet47FU1hRAxk,7161
77
- dclab/external/skimage/_pnpoly.cpython-311-darwin.so,sha256=Hvz97wNOlFq9Jv4KtIVYxZxEaj-mF_okuJVNBbHZiUA,222064
75
+ dclab/external/skimage/_pnpoly.cpython-311-darwin.so,sha256=5ho_y6bpf6eyadFPS2B9N86GAs3rWxxd-i5udfD4MIs,222064
78
76
  dclab/external/skimage/_shared/geometry.pxd,sha256=kRsu9ifv_rL3kbRIgSLf86p0hn2oTMp6s013lZ9bBZM,346
79
- dclab/external/skimage/_shared/geometry.cpython-311-darwin.so,sha256=NkXCFzIo2tLHZFxu7ZMJKbZmiERf5NaRFfrykXxiSgo,55856
77
+ dclab/external/skimage/_shared/geometry.cpython-311-darwin.so,sha256=x16BdLY6MlMcUSeYfHEyoztYMQdgPt5YgtwNKBV8rhE,55856
80
78
  dclab/external/skimage/_shared/__init__.py,sha256=2sHZwTtJSlMTa3Q2YSvQW7jrPLMUSqDJQa-ROe5zfcw,37
81
79
  dclab/external/skimage/_shared/geometry.pyx,sha256=miCHUh6mBDbRRIoaF_0xAER1MRzsCAzFdlYQZhV7RmE,1667
82
80
  dclab/definitions/feat_logic.py,sha256=SXsSlAusgtE3uXcPu84dQwYZ07zxmV37DmPednA3_dM,5823
@@ -92,8 +90,8 @@ dclab/rtdc_dataset/feat_basin.py,sha256=ViKdvJcwFM8joysnrBYdZbA5t_wZix-6xn_Fsvzp
92
90
  dclab/rtdc_dataset/fmt_s3.py,sha256=FVw0q3CwiPwDKmz37EsjK2T5CLr4MsH3pvscu-gToVM,11278
93
91
  dclab/rtdc_dataset/feat_temp.py,sha256=XbDIS1iUUkRH0Zp9uVlwvK_untJ7hkOnKshK1Drsnt8,3694
94
92
  dclab/rtdc_dataset/__init__.py,sha256=MUHSGVQJ4Zc0IyU2lf01dpDWyOyNveHip-UjSkmPNvQ,486
95
- dclab/rtdc_dataset/core.py,sha256=hho2XD4-s-mag8xtaukf7NC-_XyE8W0dql2wAoGuS3A,37998
96
- dclab/rtdc_dataset/export.py,sha256=F_HgQUlK9ywINFgYrigPXLxcG-8qgSR5aalHjxNNeMs,29614
93
+ dclab/rtdc_dataset/core.py,sha256=EjNWk9SV-2xBTRtf34XosLCOS164vGWKP5dKKLSOSq4,34441
94
+ dclab/rtdc_dataset/export.py,sha256=RPnWNDAPW1m3vPcStjqIX-YnxDOKyWLtQ1HrA38S3Uo,30384
97
95
  dclab/rtdc_dataset/fmt_dict.py,sha256=gumVQOiVVDFUKow_483PY7cxInqo-NiBBnBhIU8s4lg,3009
98
96
  dclab/rtdc_dataset/writer.py,sha256=jc6ADyxGoujXpoXu1vF2nfZjGFMaO5LbRmoYJZ83JVo,41418
99
97
  dclab/rtdc_dataset/filter.py,sha256=AFPUBzOIi3pqXgUdMQ5CIi9ZeGOKC71rfSZKLMLgtog,10023
@@ -136,3 +134,9 @@ dclab/rtdc_dataset/fmt_tdms/event_image.py,sha256=-jp7Z-N91e4ieumYQ1huMicj7PMJqw
136
134
  dclab/rtdc_dataset/fmt_tdms/event_trace.py,sha256=Vkym0QKSw2mq1XZl5n8wDkgHXmaZwQGiMAV5AuRSJkE,5215
137
135
  dclab/rtdc_dataset/fmt_tdms/exc.py,sha256=WzrMqnyrzp8gsT8Pf7JKqGGv43ewx7d_qgtirURppRI,813
138
136
  dclab/rtdc_dataset/fmt_tdms/event_contour.py,sha256=kjo0wJx9F0gmmOOyR0NoLw6VEtSl3h63WXXkcbfnoS8,9627
137
+ dclab-0.62.17.dist-info/RECORD,,
138
+ dclab-0.62.17.dist-info/WHEEL,sha256=EfZGgIDXTDki1cNGEkgBr7YEgShBrw-nMmb-y67Rxxs,136
139
+ dclab-0.62.17.dist-info/entry_points.txt,sha256=eOpjgznu-eW-9utUpLU-77O5098YyUEgGF3ksGMdtec,273
140
+ dclab-0.62.17.dist-info/top_level.txt,sha256=irvwZMgs1edY1Zj60ZFk7Almb9Zhk4k6E6aC4YPFnnM,6
141
+ dclab-0.62.17.dist-info/METADATA,sha256=sxoMpN4ygAI9x12l_IsEKUqi32wGJ3o2Tg2OKEx8cKQ,4756
142
+ dclab-0.62.17.dist-info/licenses/LICENSE,sha256=gLDaVZWRrlnLdyfOrR0qfWjLbOVcjvoJ-kCLUK0fyXA,15360
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (77.0.3)
2
+ Generator: setuptools (78.1.0)
3
3
  Root-Is-Purelib: false
4
4
  Tag: cp311-cp311-macosx_11_0_arm64
5
5
  Generator: delocate 0.13.0
@@ -1,5 +1,5 @@
1
1
  Unless otherwise specified by LICENSE files in individual
2
- directories, all code is
2
+ directories, all code is licensed under the following license.
3
3
 
4
4
  GNU GENERAL PUBLIC LICENSE
5
5
  Version 2, June 1991
@@ -281,63 +281,3 @@ PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
281
281
  POSSIBILITY OF SUCH DAMAGES.
282
282
 
283
283
  END OF TERMS AND CONDITIONS
284
-
285
- How to Apply These Terms to Your New Programs
286
-
287
- If you develop a new program, and you want it to be of the greatest
288
- possible use to the public, the best way to achieve this is to make it
289
- free software which everyone can redistribute and change under these terms.
290
-
291
- To do so, attach the following notices to the program. It is safest
292
- to attach them to the start of each source file to most effectively
293
- convey the exclusion of warranty; and each file should have at least
294
- the "copyright" line and a pointer to where the full notice is found.
295
-
296
- {description}
297
- Copyright (C) {year} {fullname}
298
-
299
- This program is free software; you can redistribute it and/or modify
300
- it under the terms of the GNU General Public License as published by
301
- the Free Software Foundation; either version 2 of the License, or
302
- (at your option) any later version.
303
-
304
- This program is distributed in the hope that it will be useful,
305
- but WITHOUT ANY WARRANTY; without even the implied warranty of
306
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
307
- GNU General Public License for more details.
308
-
309
- You should have received a copy of the GNU General Public License along
310
- with this program; if not, write to the Free Software Foundation, Inc.,
311
- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
312
-
313
- Also add information on how to contact you by electronic and paper mail.
314
-
315
- If the program is interactive, make it output a short notice like this
316
- when it starts in an interactive mode:
317
-
318
- Gnomovision version 69, Copyright (C) year name of author
319
- Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
320
- This is free software, and you are welcome to redistribute it
321
- under certain conditions; type `show c' for details.
322
-
323
- The hypothetical commands `show w' and `show c' should show the appropriate
324
- parts of the General Public License. Of course, the commands you use may
325
- be called something other than `show w' and `show c'; they could even be
326
- mouse-clicks or menu items--whatever suits your program.
327
-
328
- You should also get your employer (if you work as a programmer) or your
329
- school, if any, to sign a "copyright disclaimer" for the program, if
330
- necessary. Here is a sample; alter the names:
331
-
332
- Yoyodyne, Inc., hereby disclaims all copyright interest in the program
333
- `Gnomovision' (which makes passes at compilers) written by James Hacker.
334
-
335
- {signature of Ty Coon}, 1 April 1989
336
- Ty Coon, President of Vice
337
-
338
- This General Public License does not permit incorporating your program into
339
- proprietary programs. If your program is a subroutine library, you may
340
- consider it more useful to permit linking proprietary applications with the
341
- library. If this is what you want to do, use the GNU Lesser General
342
- Public License instead of this License.
343
-