sequenzo 0.1.21__cp310-cp310-win_amd64.whl → 0.1.22__cp310-cp310-win_amd64.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 sequenzo might be problematic. Click here for more details.

@@ -131,7 +131,7 @@ def plot_transition_matrix(seqdata: SequenceData,
131
131
  fontsize: int = 12,
132
132
  save_as: Optional[str] = None,
133
133
  dpi: int = 200,
134
- format: str = "%.2f") -> None:
134
+ format: str = ".2f") -> None:
135
135
  """
136
136
  Plot state transition rate matrix as a heatmap.
137
137
 
@@ -157,6 +157,7 @@ def plot_transition_matrix(seqdata: SequenceData,
157
157
  # Generate heatmap using pre-formatted annotation strings
158
158
  ax = sns.heatmap(
159
159
  transition_matrix,
160
+ annot=True,
160
161
  fmt=format,
161
162
  cmap=cmap,
162
163
  xticklabels=seqdata.labels,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: sequenzo
3
- Version: 0.1.21
3
+ Version: 0.1.22
4
4
  Summary: A fast, scalable and intuitive Python package for social sequence analysis.
5
5
  Author-email: Yuqi Liang <yuqi.liang.1900@gmail.com>, Xinyi Li <1836724126@qq.com>, Jan Heinrich Ernst Meyerhoff-Liang <jan.meyerhoff1@gmail.com>
6
6
  License: BSD 3-Clause License
@@ -44,7 +44,7 @@ Classifier: Programming Language :: Python :: 3.12
44
44
  Requires-Python: <3.13,>=3.9
45
45
  Description-Content-Type: text/markdown
46
46
  License-File: LICENSE
47
- Requires-Dist: numpy>=2.0.0
47
+ Requires-Dist: numpy>=1.21.0
48
48
  Requires-Dist: pandas>=1.2.5
49
49
  Requires-Dist: matplotlib>=3.4.3
50
50
  Requires-Dist: seaborn>=0.11.2
@@ -70,7 +70,7 @@ Requires-Dist: flake8>=3.9.2; extra == "dev"
70
70
  Dynamic: license-file
71
71
 
72
72
  <p align="center">
73
- <img src="https://raw.githubusercontent.com/Liang-Team/Sequenzo/main/assets/logo/FullLogo_NoBuffer.jpg" alt="Sequenzo Logo" width="400">
73
+ <img src="https://raw.githubusercontent.com/Liang-Team/Sequenzo/main/assets/logo/FullLogo_NoBuffer.jpg" alt="Sequenzo Logo" width="300">
74
74
  </p>
75
75
 
76
76
  <p align="center">
@@ -134,17 +134,18 @@ Perfect for research, policy, and business, enabling seamless analysis of catego
134
134
 
135
135
  Sequenzo provides pre-built Python wheels for maximum compatibility — no need to compile from source.
136
136
 
137
- | Platform | Architecture | Python Versions | Status |
138
- |------------------|-------------------------------|-----------------------|-------------------|
139
- | **macOS** | `universal2` (Intel + Apple Silicon) | 3.9, 3.10, 3.11, 3.12 | ✅ Pre-built wheel |
140
- | **Windows** | `AMD64` (64-bit) | 3.9, 3.10, 3.11, 3.12 | ✅ Pre-built wheel |
141
- | **Linux (glibc)**| `x86_64` (standard Linux) | 3.9, 3.10, 3.11, 3.12 | ✅ Pre-built wheel |
142
- | **Linux (musl)** | `x86_64` (Alpine Linux) | 3.9, 3.10, 3.11, 3.12 | ✅ Pre-built wheel |
137
+ | Platform | Architecture | Python Versions | Status |
138
+ |------------------|---------------------------------|-----------------------|-------------------|
139
+ | **macOS** | Intel && Apple Silicon (64-bit) | 3.9, 3.10, 3.11, 3.12 | ✅ Pre-built wheel |
140
+ | **Windows** | `AMD64` (64-bit) | 3.9, 3.10, 3.11, 3.12 | ✅ Pre-built wheel |
141
+ | **Linux (glibc)**| `x86_64` (standard Linux) | 3.9, 3.10, 3.11, 3.12 | ✅ Pre-built wheel |
142
+ | **Linux (musl)** | `x86_64` (Alpine Linux) | 3.9, 3.10, 3.11, 3.12 | ✅ Pre-built wheel |
143
143
 
144
144
 
145
145
  What do these terms mean?
146
- - **universal2 (macOS)**: One wheel supports both Intel (x86_64) and Apple Silicon (arm64) Macs.
147
- - **manylinux2014 (glibc-based Linux)**: Compatible with most mainstream Linux distributions (e.g., Ubuntu, Debian, CentOS).
146
+ - **macosx_arm64 (macOS)**: One wheel supports Apple Silicon Macs.
147
+ - **macosx_x86_64 (macOS)**: One wheel supports Intel Macs.
148
+ - **manylinux2014_x86_64 (glibc-based Linux)**: Compatible with most mainstream Linux distributions (e.g., Ubuntu, Debian, CentOS).
148
149
  - **musllinux_1_2 (musl-based Linux)**: For lightweight Alpine Linux environments, common in Docker containers.
149
150
  - **AMD64 (Windows)**: Standard 64-bit Windows system architecture.
150
151
 
@@ -182,36 +183,6 @@ If you have some issues with the installation, it might because you have both Py
182
183
  pip3 install sequenzo
183
184
  ```
184
185
 
185
- ### ⚠️ Having Installation or Import Issues?
186
-
187
- **Error:** `ImportError: numpy.core.multiarray failed to import` or `ValueError: numpy.dtype size changed`
188
-
189
- **Cause:** NumPy version incompatibility. Sequenzo 0.1.21+ requires NumPy 2.x.
190
-
191
- **Quick Fix** (copy-paste these commands):
192
- ```bash
193
- # Check your NumPy version first
194
- python -c "import numpy; print(f'NumPy: {numpy.__version__}')"
195
-
196
- # If you see 1.x.x, upgrade to 2.x:
197
- pip install --upgrade "numpy>=2.0.0"
198
- pip uninstall sequenzo -y
199
- pip install --no-cache-dir sequenzo
200
- ```
201
-
202
- **Note:** NumPy 2.x is backward compatible with code written for NumPy 1.x, so upgrading is safe.
203
-
204
- 📖 **Still having issues?**
205
- 1. Run our diagnostic tool to identify the problem:
206
- ```bash
207
- curl -O https://raw.githubusercontent.com/Liang-Team/Sequenzo/main/diagnose.py
208
- python diagnose.py
209
- ```
210
- 2. See our detailed guides:
211
- - **[QUICK_FIX.md](QUICK_FIX.md)** - Simple step-by-step solutions
212
- - **[TROUBLESHOOTING.md](TROUBLESHOOTING.md)** - Comprehensive troubleshooting
213
- - **[docs/WHY_IMPORT_FAILS.md](docs/WHY_IMPORT_FAILS.md)** - Technical explanation
214
-
215
186
  ### Optional R Integration
216
187
 
217
188
  Sequenzo now checks the system environment variables before running ward.D hierarchical clustering.
@@ -8,12 +8,12 @@ sequenzo/big_data/clara/visualization.py,sha256=EpSmtAxRHVqcXlcXvSGiUuBjEETR7zK_
8
8
  sequenzo/big_data/clara/utils/__init__.py,sha256=2_o1tz8HFZVKFy8w8oJWdWlVKtwGjGY3z4PQylHKjt0,726
9
9
  sequenzo/big_data/clara/utils/aggregatecases.py,sha256=ul97pbnRlwxbFbX_0M4j-Bkyxkp7zMAKatSo4eanO24,2899
10
10
  sequenzo/big_data/clara/utils/davies_bouldin.py,sha256=4Y6VFjqopG3CaftQ8tDxQPjxxupJ6Hgv-yTXwCvgN7w,3037
11
- sequenzo/big_data/clara/utils/get_weighted_diss.c,sha256=S4XwrSrTZufe1GpZfna8uWIbCaWscNcEtA006ftvmq4,482906
12
- sequenzo/big_data/clara/utils/get_weighted_diss.cp310-win_amd64.pyd,sha256=Y9JE73-Ph7aR2PYnkDJ6oRGxvtiXpPgxYdUb3F_1lnQ,53248
11
+ sequenzo/big_data/clara/utils/get_weighted_diss.c,sha256=bpJbFE7Fqg1LGw_uRJllGEBVFi-t9FnM1a0GFBkgkA8,482865
12
+ sequenzo/big_data/clara/utils/get_weighted_diss.cp310-win_amd64.pyd,sha256=f0kJYWayHLQPC4XbSSm3Lw4xXiGmXJMMIFk-XWdQiiU,53248
13
13
  sequenzo/big_data/clara/utils/wfcmdd.py,sha256=-1H6CbTteTW-CeuQ_ehVDhnKH3ozcCkUobxoCSRIpYg,7074
14
14
  sequenzo/clustering/KMedoids.py,sha256=asktGP0KKgP4TsOH4bSYEWfE8yY5b9BfKa1d54KzaXI,7147
15
15
  sequenzo/clustering/__init__.py,sha256=duEY0Hq0-7Kc_lv0uFDK3D8IEXby-7Z0Rjff0EgO0KM,875
16
- sequenzo/clustering/clustering_c_code.cp310-win_amd64.pyd,sha256=4gbyUfiD46HVdNyEeIf3YS0WG98mnSXi-wtzF-AsTQg,247296
16
+ sequenzo/clustering/clustering_c_code.cp310-win_amd64.pyd,sha256=bnwO3yAtYuugrCgfLkBZGI6_OrzRzyXOz2CENo1ibS8,247296
17
17
  sequenzo/clustering/hierarchical_clustering.py,sha256=D4m3Wg3tPWBNXtPTsauxntD5ctx3hGXF9bjL-cB7VM0,61568
18
18
  sequenzo/clustering/src/KMedoid.cpp,sha256=Bb4LaRes004T9vyCmUknRS0NUaNr4ZoEpWvtkYGq-jw,9299
19
19
  sequenzo/clustering/src/PAM.cpp,sha256=UFXdTy1wMWheYa-fUoi8ASQPmn0Ew-AO7fqVQVxn_E8,8357
@@ -46,7 +46,7 @@ sequenzo/datasets/polyadic_samplep1.csv,sha256=-2HvKSmevfqe1rWFVJlbnjousEgJRU_PH
46
46
  sequenzo/datasets/polyadic_seqc1.csv,sha256=ydZ-U8NTszR4lNBN4hhsH_dHfq0w5VZSMM7t9C5Uado,7028
47
47
  sequenzo/datasets/polyadic_seqp1.csv,sha256=sydXCR0JBKJlbMxJyGa46cic9XQstUpYFOtHaLmkp_0,7681
48
48
  sequenzo/dissimilarity_measures/__init__.py,sha256=qkWAQ1sBpS2aayO-FSA8Zha7rQ_vjs0_KIHEB60bVg4,958
49
- sequenzo/dissimilarity_measures/c_code.cp310-win_amd64.pyd,sha256=_thacohYoaKhcM7XaJyX0G2A2NH_WUmXjPFcadLYnfw,217600
49
+ sequenzo/dissimilarity_measures/c_code.cp310-win_amd64.pyd,sha256=9oE3CrP6JBYaugyi8kUuPn5HFArgdYI7tiX55RUOWio,217600
50
50
  sequenzo/dissimilarity_measures/get_distance_matrix.py,sha256=dNZtqg0aN3vAz5r1sTgjS3jwLAzcXGbG4MGWeBEvhag,29886
51
51
  sequenzo/dissimilarity_measures/get_substitution_cost_matrix.py,sha256=Yed91VyNHkzeYxIduCTVF8hmJiAmltPH4R0lhvKQoKk,9533
52
52
  sequenzo/dissimilarity_measures/src/DHDdistance.cpp,sha256=RbWbSaELxlJiw5ST_JaD-wPx_sD7PGV2VdK4qEhOcxE,4714
@@ -211,16 +211,16 @@ sequenzo/dissimilarity_measures/src/xsimd/test/doc/writing_vectorized_code.cpp,s
211
211
  sequenzo/dissimilarity_measures/src/xsimd/test/test_wasm/test_wasm_playwright.py,sha256=9kcOfaW5dDqXs9AJBgmHoUx80tCHdGJ3d2Elr9dOkUo,3980
212
212
  sequenzo/dissimilarity_measures/utils/__init__.py,sha256=aZMQJGgJq4GsL1x-pQPLmL7KrJ78cHMH46GVmVE8pJ0,407
213
213
  sequenzo/dissimilarity_measures/utils/get_LCP_length_for_2_seq.py,sha256=bJjbEQcjENSAdLv2IMRUWJC4avldwCfHrtSEnlDEACY,1470
214
- sequenzo/dissimilarity_measures/utils/get_sm_trate_substitution_cost_matrix.c,sha256=KdR8UwojXAykYICH0ZP45b224TWsc6dPDknWSSW9CC8,597507
215
- sequenzo/dissimilarity_measures/utils/get_sm_trate_substitution_cost_matrix.cp310-win_amd64.pyd,sha256=ioAuJ6SUZGXnNimYiqZgG5p3yOkiOkQ63Fn7z90cTNc,74240
216
- sequenzo/dissimilarity_measures/utils/seqconc.c,sha256=N17Ig9IznoNmV7Qo3GbGBct4A839Jql8_JxQBYAD_8g,505013
217
- sequenzo/dissimilarity_measures/utils/seqconc.cp310-win_amd64.pyd,sha256=OP9Mt3Sgr7INOI6ZRPkzyd85l380G9p0aZGe5vLn-Rc,56832
218
- sequenzo/dissimilarity_measures/utils/seqdss.c,sha256=8vROmLgR42Tkwb8-3ue9qNQj1d3rIuSuMnLvG28sMN0,619077
219
- sequenzo/dissimilarity_measures/utils/seqdss.cp310-win_amd64.pyd,sha256=MxS1qGQoKW-UB1Aq6YCRgdI49whrJThl-QaLZ2Ofqd8,81408
220
- sequenzo/dissimilarity_measures/utils/seqdur.c,sha256=PO9LYSjwHbAnf5YbYTHMwAt6yVbGEWasK7CD6UOlh78,541374
221
- sequenzo/dissimilarity_measures/utils/seqdur.cp310-win_amd64.pyd,sha256=xTBJYzpyIQyfyrzb4wDU5Who8UmzpSNhvr1XJ19YGig,67072
222
- sequenzo/dissimilarity_measures/utils/seqlength.c,sha256=5HycfBW1ExaigSHlOcUAT3_9Bom8S-4vCFe3bHPlK9I,492619
223
- sequenzo/dissimilarity_measures/utils/seqlength.cp310-win_amd64.pyd,sha256=QzEK6ky6cjqgAHQUDI9eAdaStHBXAGt2Ha9cD29COkc,56832
214
+ sequenzo/dissimilarity_measures/utils/get_sm_trate_substitution_cost_matrix.c,sha256=XE6wzJpgEyCS5ytkNTLMRwxMQ0M4nVLG0ktbBx3esOI,597466
215
+ sequenzo/dissimilarity_measures/utils/get_sm_trate_substitution_cost_matrix.cp310-win_amd64.pyd,sha256=-Yo8E_mtfeRdMKb_kqgDu9iWQfn5c4h79LHKqKjBN0c,74240
216
+ sequenzo/dissimilarity_measures/utils/seqconc.c,sha256=6nQGbhAwcW9kpytb5Rpt6kQu4CszUE7EEb4OzooCzZ8,504972
217
+ sequenzo/dissimilarity_measures/utils/seqconc.cp310-win_amd64.pyd,sha256=MHtr5-hTwkIWaet357OUqCb6yNwtRCge07C4IjjgvLw,56832
218
+ sequenzo/dissimilarity_measures/utils/seqdss.c,sha256=2ZjFWfUT9S4aaqoejjWKcwmKRSZ0EO1FIDAsa-Gu-2o,619036
219
+ sequenzo/dissimilarity_measures/utils/seqdss.cp310-win_amd64.pyd,sha256=9Se6Shz8C6FsID7E23sSuxZoMPJdO0WUC5-V8VXbgu4,81408
220
+ sequenzo/dissimilarity_measures/utils/seqdur.c,sha256=GTC84952kLnPTWf879mo-xf_uqohOuth9EilWkT-Vks,541333
221
+ sequenzo/dissimilarity_measures/utils/seqdur.cp310-win_amd64.pyd,sha256=Uopa39cyW8LwKYFMhPmKQqBs8IIqDvN_VQpyJm2j3zY,67072
222
+ sequenzo/dissimilarity_measures/utils/seqlength.c,sha256=iYN2Qp9eNMuW5QzF3CPj2KbzfvJJP1_1tBKe4nz1p3w,492578
223
+ sequenzo/dissimilarity_measures/utils/seqlength.cp310-win_amd64.pyd,sha256=xc5dyNVSnh_8gkkKNvWW4HORIuOAMh3YIXH0ZGX_AfA,56832
224
224
  sequenzo/multidomain/__init__.py,sha256=bVnbkJXuXj8y5lHreRBQnL1JFcrmlsz2TSt-qFfmWm8,734
225
225
  sequenzo/multidomain/association_between_domains.py,sha256=tncMzsSn0yhRd9C37-GInHw7FlIucOGdb_affCAc_nk,10844
226
226
  sequenzo/multidomain/cat.py,sha256=7QqdEjZSiqDZnXGOWgkOoeRHg0USVAUKPlzXecJeMFQ,18022
@@ -253,14 +253,14 @@ sequenzo/visualization/plot_relative_frequency.py,sha256=tUNyIxc8C0SPjRJJYormBbT
253
253
  sequenzo/visualization/plot_sequence_index.py,sha256=qc4h6JzQrDeiBsGvK6Cdn3HwDZFLfNzPqyFOon1ZQ6Q,41079
254
254
  sequenzo/visualization/plot_single_medoid.py,sha256=K3d8feYV1S2PmjNdlRD961-bdt-An1-SWw8HKWDcBAc,5971
255
255
  sequenzo/visualization/plot_state_distribution.py,sha256=8uH533kwyqxIeGPM4eFJBWJ2eRgqEFPH3EiPJECzvS8,25978
256
- sequenzo/visualization/plot_transition_matrix.py,sha256=bzyL5OtLdVI1X3cxUgQfi96aORUjrBRjp0vO29kLe5U,6958
256
+ sequenzo/visualization/plot_transition_matrix.py,sha256=ZmLyKniHROsnp4Xp2fggpofaskja7wiQNjOUL-jfkFE,6977
257
257
  sequenzo/visualization/utils/__init__.py,sha256=brrYzeIQm_cEM_TgA8_eRdckzN9WP1pj9g-f1qBzRLY,734
258
258
  sequenzo/visualization/utils/utils.py,sha256=P33amescn1FLcfGwzxDrHpvaELzUHRKt06f3Iky23t0,10246
259
259
  sequenzo/with_event_history_analysis/__init__.py,sha256=B2EZhtJ7NEzO8piDwfSbh0l87fQ0ZuesPO5GNJEXKPo,730
260
260
  sequenzo/with_event_history_analysis/sequence_analysis_multi_state_model.py,sha256=DdNqx8MBaxdLu-n-9RH5q2cSr5sWr18LTNF9qdNaKbM,37300
261
261
  sequenzo/with_event_history_analysis/sequence_history_analysis.py,sha256=vv5y2u9cpzhmNJX_fSYgLmFOncPvB7DVhWujljII1vA,10902
262
- sequenzo-0.1.21.dist-info/licenses/LICENSE,sha256=URRMyLHVeGF2kyDLC1xbRKBBIjDHJyWqF4nWpzfBX10,1497
263
- sequenzo-0.1.21.dist-info/METADATA,sha256=69ceaJSYGwoteFyz26ns5frFC9y9Kms-0skyw6pXMrE,15674
264
- sequenzo-0.1.21.dist-info/WHEEL,sha256=KUuBC6lxAbHCKilKua8R9W_TM71_-9Sg5uEP3uDWcoU,101
265
- sequenzo-0.1.21.dist-info/top_level.txt,sha256=yM8eczbPzqB1bRHMYLptvjjQ3p5tYhY6VjgWHUIi9vw,9
266
- sequenzo-0.1.21.dist-info/RECORD,,
262
+ sequenzo-0.1.22.dist-info/licenses/LICENSE,sha256=URRMyLHVeGF2kyDLC1xbRKBBIjDHJyWqF4nWpzfBX10,1497
263
+ sequenzo-0.1.22.dist-info/METADATA,sha256=wpW8q_ogXcCkfVKqQsOJ1AOzgup4NerTa4Th6IH_UOM,14591
264
+ sequenzo-0.1.22.dist-info/WHEEL,sha256=KUuBC6lxAbHCKilKua8R9W_TM71_-9Sg5uEP3uDWcoU,101
265
+ sequenzo-0.1.22.dist-info/top_level.txt,sha256=yM8eczbPzqB1bRHMYLptvjjQ3p5tYhY6VjgWHUIi9vw,9
266
+ sequenzo-0.1.22.dist-info/RECORD,,