chipstream 0.6.2__tar.gz → 0.6.4__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 (69) hide show
  1. chipstream-0.6.4/.github/workflows/deploy_pypi.yml +30 -0
  2. {chipstream-0.6.2 → chipstream-0.6.4}/CHANGELOG +5 -0
  3. {chipstream-0.6.2/chipstream.egg-info → chipstream-0.6.4}/PKG-INFO +3 -3
  4. {chipstream-0.6.2 → chipstream-0.6.4}/build-recipes/macos_build_requirements.txt +1 -0
  5. {chipstream-0.6.2 → chipstream-0.6.4}/build-recipes/win_build_requirements.txt +2 -1
  6. chipstream-0.6.4/chipstream/__init__.py +6 -0
  7. {chipstream-0.6.2 → chipstream-0.6.4}/chipstream/_version.py +2 -2
  8. {chipstream-0.6.2 → chipstream-0.6.4/chipstream.egg-info}/PKG-INFO +3 -3
  9. {chipstream-0.6.2 → chipstream-0.6.4}/chipstream.egg-info/requires.txt +1 -1
  10. {chipstream-0.6.2 → chipstream-0.6.4}/pyproject.toml +1 -1
  11. {chipstream-0.6.2 → chipstream-0.6.4}/tests/conftest.py +4 -0
  12. chipstream-0.6.2/.github/workflows/deploy_pypi.yml +0 -54
  13. chipstream-0.6.2/chipstream/__init__.py +0 -20
  14. {chipstream-0.6.2 → chipstream-0.6.4}/.github/workflows/check.yml +0 -0
  15. {chipstream-0.6.2 → chipstream-0.6.4}/.github/workflows/deploy_github.yml +0 -0
  16. {chipstream-0.6.2 → chipstream-0.6.4}/.gitignore +0 -0
  17. {chipstream-0.6.2 → chipstream-0.6.4}/.readthedocs.yml +0 -0
  18. {chipstream-0.6.2 → chipstream-0.6.4}/LICENSE +0 -0
  19. {chipstream-0.6.2 → chipstream-0.6.4}/README.rst +0 -0
  20. {chipstream-0.6.2 → chipstream-0.6.4}/build-recipes/ChipStream.icns +0 -0
  21. {chipstream-0.6.2 → chipstream-0.6.4}/build-recipes/ChipStream.ico +0 -0
  22. {chipstream-0.6.2 → chipstream-0.6.4}/build-recipes/ChipStreamLauncher.py +0 -0
  23. {chipstream-0.6.2 → chipstream-0.6.4}/build-recipes/ChipStreamLauncherCLI.py +0 -0
  24. {chipstream-0.6.2 → chipstream-0.6.4}/build-recipes/Readme.md +0 -0
  25. {chipstream-0.6.2 → chipstream-0.6.4}/build-recipes/hook-chipstream.py +0 -0
  26. {chipstream-0.6.2 → chipstream-0.6.4}/build-recipes/macos_ChipStream.spec +0 -0
  27. {chipstream-0.6.2 → chipstream-0.6.4}/build-recipes/macos_build_app.sh +0 -0
  28. {chipstream-0.6.2 → chipstream-0.6.4}/build-recipes/win_ChipStream.spec +0 -0
  29. {chipstream-0.6.2 → chipstream-0.6.4}/build-recipes/win_chipstream.iss_dummy +0 -0
  30. {chipstream-0.6.2 → chipstream-0.6.4}/build-recipes/win_make_iss.py +0 -0
  31. {chipstream-0.6.2 → chipstream-0.6.4}/chipstream/cli/__init__.py +0 -0
  32. {chipstream-0.6.2 → chipstream-0.6.4}/chipstream/cli/__main__.py +0 -0
  33. {chipstream-0.6.2 → chipstream-0.6.4}/chipstream/cli/_main.py +0 -0
  34. {chipstream-0.6.2 → chipstream-0.6.4}/chipstream/cli/cli_common.py +0 -0
  35. {chipstream-0.6.2 → chipstream-0.6.4}/chipstream/cli/cli_main.py +0 -0
  36. {chipstream-0.6.2 → chipstream-0.6.4}/chipstream/cli/cli_proc.py +0 -0
  37. {chipstream-0.6.2 → chipstream-0.6.4}/chipstream/cli/cli_valid.py +0 -0
  38. {chipstream-0.6.2 → chipstream-0.6.4}/chipstream/gui/__init__.py +0 -0
  39. {chipstream-0.6.2 → chipstream-0.6.4}/chipstream/gui/__main__.py +0 -0
  40. {chipstream-0.6.2 → chipstream-0.6.4}/chipstream/gui/_main.py +0 -0
  41. {chipstream-0.6.2 → chipstream-0.6.4}/chipstream/gui/dlg_model_props.py +0 -0
  42. {chipstream-0.6.2 → chipstream-0.6.4}/chipstream/gui/dlg_model_props.ui +0 -0
  43. {chipstream-0.6.2 → chipstream-0.6.4}/chipstream/gui/img/chipstream_icon.png +0 -0
  44. {chipstream-0.6.2 → chipstream-0.6.4}/chipstream/gui/main_window.py +0 -0
  45. {chipstream-0.6.2 → chipstream-0.6.4}/chipstream/gui/main_window.ui +0 -0
  46. {chipstream-0.6.2 → chipstream-0.6.4}/chipstream/gui/manager.py +0 -0
  47. {chipstream-0.6.2 → chipstream-0.6.4}/chipstream/gui/splash.py +0 -0
  48. {chipstream-0.6.2 → chipstream-0.6.4}/chipstream/gui/table_progress.py +0 -0
  49. {chipstream-0.6.2 → chipstream-0.6.4}/chipstream/path_cache.py +0 -0
  50. {chipstream-0.6.2 → chipstream-0.6.4}/chipstream.egg-info/SOURCES.txt +0 -0
  51. {chipstream-0.6.2 → chipstream-0.6.4}/chipstream.egg-info/dependency_links.txt +0 -0
  52. {chipstream-0.6.2 → chipstream-0.6.4}/chipstream.egg-info/entry_points.txt +0 -0
  53. {chipstream-0.6.2 → chipstream-0.6.4}/chipstream.egg-info/top_level.txt +0 -0
  54. {chipstream-0.6.2 → chipstream-0.6.4}/docs/artwork/chipstream_icon.svg +0 -0
  55. {chipstream-0.6.2 → chipstream-0.6.4}/docs/artwork/chipstream_splash.png +0 -0
  56. {chipstream-0.6.2 → chipstream-0.6.4}/docs/artwork/chipstream_splash.svg +0 -0
  57. {chipstream-0.6.2 → chipstream-0.6.4}/docs/conf.py +0 -0
  58. {chipstream-0.6.2 → chipstream-0.6.4}/docs/index.rst +0 -0
  59. {chipstream-0.6.2 → chipstream-0.6.4}/docs/requirements.txt +0 -0
  60. {chipstream-0.6.2 → chipstream-0.6.4}/setup.cfg +0 -0
  61. {chipstream-0.6.2 → chipstream-0.6.4}/tests/data/fmt-hdf5_cytoshot_full-features_legacy_allev_2023.zip +0 -0
  62. {chipstream-0.6.2 → chipstream-0.6.4}/tests/data/segm-torch-model_unet-dcnum-test_g1_910c2.zip +0 -0
  63. {chipstream-0.6.2 → chipstream-0.6.4}/tests/helper_methods.py +0 -0
  64. {chipstream-0.6.2 → chipstream-0.6.4}/tests/requirements-full.txt +0 -0
  65. {chipstream-0.6.2 → chipstream-0.6.4}/tests/requirements.txt +0 -0
  66. {chipstream-0.6.2 → chipstream-0.6.4}/tests/test_cli.py +0 -0
  67. {chipstream-0.6.2 → chipstream-0.6.4}/tests/test_gui.py +0 -0
  68. {chipstream-0.6.2 → chipstream-0.6.4}/tests/test_gui_manager.py +0 -0
  69. {chipstream-0.6.2 → chipstream-0.6.4}/tests/test_path_cache.py +0 -0
@@ -0,0 +1,30 @@
1
+ name: Deploy to PyPI
2
+
3
+ on:
4
+ push:
5
+ tags:
6
+ - '*'
7
+
8
+ jobs:
9
+ deploy:
10
+
11
+ runs-on: ubuntu-latest
12
+
13
+ steps:
14
+ - uses: actions/checkout@main
15
+ - name: Set up Python
16
+ uses: actions/setup-python@main
17
+ with:
18
+ python-version: "3.10"
19
+ - name: Install dependencies
20
+ run: |
21
+ python -m pip install --upgrade pip
22
+ pip install setuptools wheel twine pipx
23
+ pip install .
24
+ - name: Build and publish
25
+ env:
26
+ TWINE_USERNAME: __token__
27
+ TWINE_PASSWORD: ${{ secrets.PYPI_PWD }}
28
+ run: |
29
+ pipx run build --sdist --wheel
30
+ twine upload --skip-existing dist/*
@@ -1,3 +1,8 @@
1
+ 0.6.4
2
+ - setup: bump dcnum from 0.25.3 to 0.25.5
3
+ 0.6.3
4
+ - ref: use dcnum methods to set environment variables for single threads
5
+ - setup: bump dcnum from 0.25.2 to 0.25.3
1
6
  0.6.2
2
7
  - docs: fix typo in CLI help page
3
8
  - setup: bump dcnum from 0.25.0 to 0.25.2 (minor speed-up)
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: chipstream
3
- Version: 0.6.2
3
+ Version: 0.6.4
4
4
  Summary: GUI and CLI for DC data postprocessing
5
5
  Author: Paul Müller
6
6
  Maintainer-email: Paul Müller <dev@craban.de>
@@ -17,7 +17,7 @@ Classifier: Intended Audience :: Science/Research
17
17
  Requires-Python: <4,>=3.10
18
18
  Description-Content-Type: text/x-rst
19
19
  License-File: LICENSE
20
- Requires-Dist: dcnum>=0.25.2
20
+ Requires-Dist: dcnum>=0.25.5
21
21
  Requires-Dist: h5py<4,>=3.0.0
22
22
  Requires-Dist: numpy<3,>=1.21
23
23
  Provides-Extra: cli
@@ -1,3 +1,4 @@
1
1
  # Any additional requirements for building the application
2
2
  pyinstaller>=4.7
3
3
  scipy==1.11.4 # had problems with pyinstaller (scipy.special._cdflib not found)
4
+ numba<=0.60.0 # not required after pyinstaller-hooks contrib 2025.1
@@ -1,3 +1,4 @@
1
1
  # Any additional requirements for building the application
2
2
  pyinstaller>=4.7
3
- scipy==1.11.4 # had problems with pyinstaller (scipy.special._cdflib not found)
3
+ scipy==1.11.4 # had problems with pyinstaller (scipy.special._cdflib not found)
4
+ numba<=0.60.0 # not required after pyinstaller-hooks contrib 2025.1
@@ -0,0 +1,6 @@
1
+ from dcnum.os_env_st import request_single_threaded
2
+
3
+ from ._version import __version__, __version_tuple__ # noqa: F401
4
+
5
+
6
+ request_single_threaded()
@@ -12,5 +12,5 @@ __version__: str
12
12
  __version_tuple__: VERSION_TUPLE
13
13
  version_tuple: VERSION_TUPLE
14
14
 
15
- __version__ = version = '0.6.2'
16
- __version_tuple__ = version_tuple = (0, 6, 2)
15
+ __version__ = version = '0.6.4'
16
+ __version_tuple__ = version_tuple = (0, 6, 4)
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: chipstream
3
- Version: 0.6.2
3
+ Version: 0.6.4
4
4
  Summary: GUI and CLI for DC data postprocessing
5
5
  Author: Paul Müller
6
6
  Maintainer-email: Paul Müller <dev@craban.de>
@@ -17,7 +17,7 @@ Classifier: Intended Audience :: Science/Research
17
17
  Requires-Python: <4,>=3.10
18
18
  Description-Content-Type: text/x-rst
19
19
  License-File: LICENSE
20
- Requires-Dist: dcnum>=0.25.2
20
+ Requires-Dist: dcnum>=0.25.5
21
21
  Requires-Dist: h5py<4,>=3.0.0
22
22
  Requires-Dist: numpy<3,>=1.21
23
23
  Provides-Extra: cli
@@ -1,4 +1,4 @@
1
- dcnum>=0.25.2
1
+ dcnum>=0.25.5
2
2
  h5py<4,>=3.0.0
3
3
  numpy<3,>=1.21
4
4
 
@@ -27,7 +27,7 @@ classifiers = [
27
27
  ]
28
28
  license = {text = "GPL version 3.0 or later"}
29
29
  dependencies = [
30
- "dcnum>=0.25.2",
30
+ "dcnum>=0.25.5",
31
31
  "h5py>=3.0.0, <4",
32
32
  "numpy>=1.21, <3", # CVE-2021-33430
33
33
  ]
@@ -3,6 +3,10 @@ import shutil
3
3
  import tempfile
4
4
  import time
5
5
 
6
+ from dcnum.os_env_st import request_single_threaded
7
+
8
+
9
+ request_single_threaded()
6
10
 
7
11
  TMPDIR = tempfile.mkdtemp(prefix=time.strftime(
8
12
  "chipstream_test_%H.%M_"))
@@ -1,54 +0,0 @@
1
- name: Release to PyPI
2
-
3
- on:
4
- push:
5
- tags:
6
- - '*'
7
-
8
- jobs:
9
- build_wheels:
10
- name: Build wheels on ${{ matrix.os }}
11
- runs-on: ${{ matrix.os }}
12
- strategy:
13
- matrix:
14
- os: [ubuntu-latest]
15
-
16
- steps:
17
- - uses: actions/checkout@main
18
- with:
19
- fetch-depth: 0
20
-
21
- # Used to host cibuildwheel
22
- - uses: actions/setup-python@main
23
-
24
- - name: Build wheels
25
- run: |
26
- pip install wheel
27
- python -m pip wheel --no-deps -w dist .
28
-
29
- - name: publish
30
- env:
31
- TWINE_USERNAME: __token__
32
- TWINE_PASSWORD: ${{ secrets.PYPI_PWD }}
33
- run: |
34
- pipx install twine
35
- twine upload --skip-existing dist/*
36
-
37
- build_sdist:
38
- name: Build source distribution
39
- runs-on: ubuntu-latest
40
- steps:
41
- - uses: actions/checkout@main
42
- with:
43
- fetch-depth: 0
44
-
45
- - name: Build sdist
46
- run: pipx run build --sdist
47
-
48
- - name: publish
49
- env:
50
- TWINE_USERNAME: __token__
51
- TWINE_PASSWORD: ${{ secrets.PYPI_PWD }}
52
- run: |
53
- pipx install twine
54
- twine upload --skip-existing dist/*
@@ -1,20 +0,0 @@
1
- # flake8: noqa: F401
2
- import os
3
-
4
- from ._version import __version__, __version_tuple__
5
-
6
- # Disable multithreading for all major tools that could somehow
7
- # parallelize our code. We don't want that, because we have linear
8
- # code and rely on multiprocessing for parallelization. This has
9
- # to be done before importing numpy or any other library affected.
10
- # If someone uses chipstream in a script, they either have to import
11
- # chipstream first, or set the environment variables manually.
12
- # We use `setdefault` to honor any other variables set by the
13
- # user for whatever reason.
14
- os.environ.setdefault("MKL_NUM_THREADS", "1")
15
- os.environ.setdefault("NUMBA_NUM_THREADS", "1")
16
- os.environ.setdefault("NUMEXPR_NUM_THREADS", "1")
17
- os.environ.setdefault("NUMPY_NUM_THREADS", "1")
18
- os.environ.setdefault("OPENBLAS_NUM_THREADS", "1")
19
- os.environ.setdefault("OMP_NUM_THREADS", "1")
20
- os.environ.setdefault("VECLIB_MAXIMUM_THREADS", "1")
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes