@pikaa-ai/pikaa 0.3.23 → 0.3.24

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 (191) hide show
  1. package/assets/brand/orbit-logo-option4-whale.jpg +0 -0
  2. package/assets/brand/orbit-logo.jpg +0 -0
  3. package/assets/brand/orbit-logo.png +0 -0
  4. package/assets/brand/orbit-logo.svg +3 -0
  5. package/dist/cli.js +337 -162
  6. package/dist/index.js +1 -2
  7. package/package.json +1 -2
  8. package/skills/adaptyv/SKILL.md +0 -240
  9. package/skills/aeon/SKILL.md +0 -402
  10. package/skills/analytical-method-validation/SKILL.md +0 -299
  11. package/skills/anndata/SKILL.md +0 -431
  12. package/skills/arbor/SKILL.md +0 -152
  13. package/skills/arboreto/SKILL.md +0 -267
  14. package/skills/astropy/SKILL.md +0 -353
  15. package/skills/autoskill/SKILL.md +0 -233
  16. package/skills/benchling-integration/SKILL.md +0 -229
  17. package/skills/bgpt-paper-search/SKILL.md +0 -75
  18. package/skills/bids/SKILL.md +0 -237
  19. package/skills/biopython/SKILL.md +0 -472
  20. package/skills/bioservices/SKILL.md +0 -399
  21. package/skills/bulk-rnaseq/SKILL.md +0 -198
  22. package/skills/cellxgene-census/SKILL.md +0 -283
  23. package/skills/cirq/SKILL.md +0 -370
  24. package/skills/citation-management/SKILL.md +0 -329
  25. package/skills/clinical-decision-support/SKILL.md +0 -238
  26. package/skills/clinical-decision-support/references/README.md +0 -62
  27. package/skills/clinical-reports/SKILL.md +0 -248
  28. package/skills/clinical-reports/references/README.md +0 -34
  29. package/skills/cobrapy/SKILL.md +0 -496
  30. package/skills/consciousness-council/SKILL.md +0 -151
  31. package/skills/dask/SKILL.md +0 -482
  32. package/skills/database-lookup/SKILL.md +0 -386
  33. package/skills/datamol/SKILL.md +0 -200
  34. package/skills/deepchem/SKILL.md +0 -244
  35. package/skills/deepspot-m/SKILL.md +0 -175
  36. package/skills/deeptools/SKILL.md +0 -412
  37. package/skills/depmap/SKILL.md +0 -301
  38. package/skills/dhdna-profiler/SKILL.md +0 -184
  39. package/skills/diffdock/SKILL.md +0 -488
  40. package/skills/dnanexus-integration/SKILL.md +0 -325
  41. package/skills/docx/SKILL.md +0 -99
  42. package/skills/esm/SKILL.md +0 -334
  43. package/skills/etetoolkit/SKILL.md +0 -327
  44. package/skills/exa-search/SKILL.md +0 -102
  45. package/skills/executing-plans/SKILL.md +0 -14
  46. package/skills/experimental-design/SKILL.md +0 -234
  47. package/skills/exploratory-data-analysis/SKILL.md +0 -280
  48. package/skills/flowio/SKILL.md +0 -310
  49. package/skills/fluidsim/SKILL.md +0 -279
  50. package/skills/frontend-design/SKILL.md +0 -100
  51. package/skills/generate-image/SKILL.md +0 -304
  52. package/skills/geniml/SKILL.md +0 -310
  53. package/skills/genomic-coordinates/SKILL.md +0 -189
  54. package/skills/genomic-intelligence/SKILL.md +0 -243
  55. package/skills/geomaster/README.md +0 -105
  56. package/skills/geomaster/SKILL.md +0 -366
  57. package/skills/geopandas/SKILL.md +0 -250
  58. package/skills/get-available-resources/SKILL.md +0 -260
  59. package/skills/gget/SKILL.md +0 -153
  60. package/skills/ginkgo-cloud-lab/SKILL.md +0 -106
  61. package/skills/glycoengineering/SKILL.md +0 -339
  62. package/skills/gtars/SKILL.md +0 -282
  63. package/skills/guardian-rails/SKILL.md +0 -54
  64. package/skills/histolab/SKILL.md +0 -243
  65. package/skills/hugging-science/SKILL.md +0 -132
  66. package/skills/hypogenic/SKILL.md +0 -290
  67. package/skills/hypothesis-generation/SKILL.md +0 -264
  68. package/skills/imaging-data-commons/SKILL.md +0 -496
  69. package/skills/infographics/SKILL.md +0 -315
  70. package/skills/iso-standards-readiness/SKILL.md +0 -352
  71. package/skills/lab-hardware-cad/SKILL.md +0 -372
  72. package/skills/labarchive-integration/SKILL.md +0 -216
  73. package/skills/lamindb/SKILL.md +0 -408
  74. package/skills/latchbio-integration/SKILL.md +0 -227
  75. package/skills/latex-posters/SKILL.md +0 -369
  76. package/skills/latex-posters/references/README.md +0 -439
  77. package/skills/liteparse/SKILL.md +0 -295
  78. package/skills/literature-review/SKILL.md +0 -263
  79. package/skills/markdown-mermaid-writing/SKILL.md +0 -322
  80. package/skills/market-research-reports/SKILL.md +0 -337
  81. package/skills/markitdown/SKILL.md +0 -264
  82. package/skills/matchms/SKILL.md +0 -276
  83. package/skills/matlab/SKILL.md +0 -274
  84. package/skills/matplotlib/SKILL.md +0 -378
  85. package/skills/medchem/SKILL.md +0 -321
  86. package/skills/modal/SKILL.md +0 -468
  87. package/skills/molecular-dynamics/SKILL.md +0 -458
  88. package/skills/molfeat/SKILL.md +0 -348
  89. package/skills/ncats-arax/SKILL.md +0 -178
  90. package/skills/networkx/SKILL.md +0 -440
  91. package/skills/neurokit2/SKILL.md +0 -323
  92. package/skills/neuropixels-analysis/SKILL.md +0 -412
  93. package/skills/nextflow/SKILL.md +0 -195
  94. package/skills/omero-integration/SKILL.md +0 -222
  95. package/skills/onekgpd/SKILL.md +0 -371
  96. package/skills/ontology-term-resolution/SKILL.md +0 -147
  97. package/skills/open-notebook/SKILL.md +0 -297
  98. package/skills/openpiv/SKILL.md +0 -469
  99. package/skills/opentrons-integration/SKILL.md +0 -322
  100. package/skills/optimize-for-gpu/SKILL.md +0 -176
  101. package/skills/owasp-top10/SKILL.md +0 -48
  102. package/skills/pacsomatic/LICENSE +0 -21
  103. package/skills/pacsomatic/SKILL.md +0 -150
  104. package/skills/paper-lookup/SKILL.md +0 -263
  105. package/skills/paperclip/SKILL.md +0 -413
  106. package/skills/paperzilla/SKILL.md +0 -159
  107. package/skills/parallel-web/SKILL.md +0 -128
  108. package/skills/pathml/SKILL.md +0 -222
  109. package/skills/pathogen-variant-surveillance/SKILL.md +0 -208
  110. package/skills/pathway-enrichment/SKILL.md +0 -194
  111. package/skills/pdf/SKILL.md +0 -322
  112. package/skills/peer-review/SKILL.md +0 -288
  113. package/skills/penetration-testing/SKILL.md +0 -31
  114. package/skills/pennylane/SKILL.md +0 -240
  115. package/skills/phylogenetics/SKILL.md +0 -409
  116. package/skills/pi-agent/SKILL.md +0 -83
  117. package/skills/pkpd-modeling/SKILL.md +0 -381
  118. package/skills/polars/SKILL.md +0 -393
  119. package/skills/polars-bio/SKILL.md +0 -379
  120. package/skills/ponytail/SKILL.md +0 -31
  121. package/skills/ponytail-audit/SKILL.md +0 -18
  122. package/skills/pptx/SKILL.md +0 -246
  123. package/skills/pptx-posters/SKILL.md +0 -258
  124. package/skills/primekg/SKILL.md +0 -99
  125. package/skills/protocolsio-integration/SKILL.md +0 -236
  126. package/skills/pufferlib/SKILL.md +0 -328
  127. package/skills/pydeseq2/SKILL.md +0 -369
  128. package/skills/pydicom/SKILL.md +0 -381
  129. package/skills/pyhealth/SKILL.md +0 -124
  130. package/skills/pylabrobot/SKILL.md +0 -216
  131. package/skills/pymatgen/SKILL.md +0 -404
  132. package/skills/pymc/SKILL.md +0 -310
  133. package/skills/pymoo/SKILL.md +0 -276
  134. package/skills/pyopenms/SKILL.md +0 -179
  135. package/skills/pysam/SKILL.md +0 -330
  136. package/skills/pytdc/SKILL.md +0 -297
  137. package/skills/pytorch-lightning/SKILL.md +0 -191
  138. package/skills/pyzotero/SKILL.md +0 -137
  139. package/skills/qiskit/SKILL.md +0 -259
  140. package/skills/qutip/SKILL.md +0 -317
  141. package/skills/rdkit/SKILL.md +0 -94
  142. package/skills/relsa-severity-assessment/SKILL.md +0 -354
  143. package/skills/research-grants/SKILL.md +0 -296
  144. package/skills/research-grants/references/README.md +0 -287
  145. package/skills/research-lookup/README.md +0 -106
  146. package/skills/research-lookup/SKILL.md +0 -338
  147. package/skills/rowan/SKILL.md +0 -398
  148. package/skills/scanpy/SKILL.md +0 -303
  149. package/skills/scholar-evaluation/SKILL.md +0 -296
  150. package/skills/scientific-brainstorming/SKILL.md +0 -282
  151. package/skills/scientific-critical-thinking/SKILL.md +0 -180
  152. package/skills/scientific-schematics/SKILL.md +0 -370
  153. package/skills/scientific-slides/SKILL.md +0 -379
  154. package/skills/scientific-visualization/SKILL.md +0 -285
  155. package/skills/scientific-writing/SKILL.md +0 -356
  156. package/skills/scikit-bio/SKILL.md +0 -470
  157. package/skills/scikit-learn/SKILL.md +0 -324
  158. package/skills/scikit-survival/SKILL.md +0 -313
  159. package/skills/scvelo/SKILL.md +0 -328
  160. package/skills/scvi-tools/SKILL.md +0 -201
  161. package/skills/seaborn/SKILL.md +0 -254
  162. package/skills/security-auditor/SKILL.md +0 -37
  163. package/skills/shap/SKILL.md +0 -282
  164. package/skills/simpy/SKILL.md +0 -283
  165. package/skills/stable-baselines3/SKILL.md +0 -325
  166. package/skills/statistical-analysis/SKILL.md +0 -446
  167. package/skills/statistical-power/SKILL.md +0 -200
  168. package/skills/statsmodels/SKILL.md +0 -238
  169. package/skills/sympy/SKILL.md +0 -354
  170. package/skills/systematic-debugging/SKILL.md +0 -35
  171. package/skills/tamarind/SKILL.md +0 -285
  172. package/skills/tdd/SKILL.md +0 -26
  173. package/skills/tiledbvcf/SKILL.md +0 -456
  174. package/skills/timesfm-forecasting/SKILL.md +0 -408
  175. package/skills/timesfm-forecasting/examples/global-temperature/README.md +0 -178
  176. package/skills/torch-geometric/SKILL.md +0 -458
  177. package/skills/torchdrug/SKILL.md +0 -241
  178. package/skills/transformers/SKILL.md +0 -195
  179. package/skills/treatment-plans/SKILL.md +0 -174
  180. package/skills/treatment-plans/references/README.md +0 -19
  181. package/skills/umap-learn/SKILL.md +0 -488
  182. package/skills/uncertainty-and-units/SKILL.md +0 -384
  183. package/skills/usfiscaldata/SKILL.md +0 -171
  184. package/skills/vaex/SKILL.md +0 -204
  185. package/skills/venue-templates/SKILL.md +0 -269
  186. package/skills/verification-before-completion/SKILL.md +0 -22
  187. package/skills/waypoint-bio/SKILL.md +0 -273
  188. package/skills/what-if-oracle/SKILL.md +0 -184
  189. package/skills/writing-plans/SKILL.md +0 -15
  190. package/skills/xlsx/SKILL.md +0 -110
  191. package/skills/zarr-python/SKILL.md +0 -241
@@ -1,241 +0,0 @@
1
- ---
2
- name: zarr-python
3
- description: Chunked N-D arrays for cloud storage (Zarr-Python 3). Compressed arrays, parallel I/O, S3/GCS via fsspec, NumPy/Dask/Xarray compatible, for large-scale scientific computing pipelines.
4
- allowed-tools: Read Write Edit Bash
5
- license: MIT license
6
- compatibility: Requires Python 3.12+ and zarr 3.x. Cloud I/O needs zarr[remote] plus pinned s3fs or gcsfs. Legacy Zarr v2 workflows need exact 2.x pins on older Python.
7
- metadata:
8
- version: "1.2"
9
- skill-author: K-Dense Inc.
10
- ---
11
-
12
- # Zarr Python
13
-
14
- ## Overview
15
-
16
- Zarr is a Python library for storing large N-dimensional arrays with chunking and compression. Apply this skill for efficient parallel I/O, cloud-native workflows, and seamless integration with NumPy, Dask, and Xarray.
17
-
18
- **Current upstream:** zarr **3.2.1** (released 2026-05-05). Docs: [zarr.readthedocs.io](https://zarr.readthedocs.io/en/stable/). New arrays default to **Zarr format 3**; set `zarr_format=2` for legacy interop. Zarr 3.2 adds rectilinear chunks and continues to refine the v3 codec pipeline. This skill is a **community guide** maintained by K-Dense Inc., not an official zarr-developers package.
19
-
20
- ## Quick Start
21
-
22
- ### Installation
23
-
24
- ```bash
25
- uv pip install "zarr==3.2.1"
26
- ```
27
-
28
- Requires **Python 3.12+** and NumPy 2.0+ for current stable Zarr-Python. For remote stores (S3, GCS, HTTP), pin the optional extras/backends in your project lockfile:
29
-
30
- ```bash
31
- uv pip install "zarr[remote]==3.2.1" "s3fs==2026.4.0" "gcsfs==2026.5.0"
32
- ```
33
-
34
- Use a version range such as `zarr>=3,<4` only when your project has a committed lockfile and compatibility tests. For Zarr-Python 2 / Python 3.10–3.11 workflows, choose an exact `zarr==2.x.y` patch version from the support-v2 release notes and commit the resulting lockfile.
35
-
36
- ### Basic Array Creation
37
-
38
- ```python
39
- import zarr
40
- import numpy as np
41
-
42
- # Create a 2D array with chunking and compression
43
- z = zarr.create_array(
44
- store="data/my_array.zarr",
45
- shape=(10000, 10000),
46
- chunks=(1000, 1000),
47
- dtype="f4"
48
- )
49
-
50
- # Write data using NumPy-style indexing
51
- z[:, :] = np.random.random((10000, 10000))
52
-
53
- # Read data
54
- data = z[0:100, 0:100] # Returns NumPy array
55
- ```
56
-
57
- ## Core Operations
58
-
59
- ### Creating Arrays
60
-
61
- Zarr provides multiple convenience functions for array creation:
62
-
63
- ```python
64
- # Create empty array
65
- z = zarr.zeros(shape=(10000, 10000), chunks=(1000, 1000), dtype='f4',
66
- store='data.zarr')
67
-
68
- # Create filled arrays
69
- z = zarr.ones((5000, 5000), chunks=(500, 500))
70
- z = zarr.full((1000, 1000), fill_value=42, chunks=(100, 100))
71
-
72
- # Create from existing data
73
- data = np.arange(10000).reshape(100, 100)
74
- z = zarr.array(data, chunks=(10, 10), store='data.zarr')
75
-
76
- # Create like another array
77
- z2 = zarr.zeros_like(z) # Matches shape, chunks, dtype of z
78
- ```
79
-
80
- ### Opening Existing Arrays
81
-
82
- ```python
83
- # Open array (read/write mode by default)
84
- z = zarr.open_array('data.zarr', mode='r+')
85
-
86
- # Read-only mode
87
- z = zarr.open_array('data.zarr', mode='r')
88
-
89
- # The open() function auto-detects arrays vs groups
90
- z = zarr.open('data.zarr') # Returns Array or Group
91
- ```
92
-
93
- ### Reading and Writing Data
94
-
95
- Zarr arrays support NumPy-like indexing:
96
-
97
- ```python
98
- # Write entire array
99
- z[:] = 42
100
-
101
- # Write slices
102
- z[0, :] = np.arange(100)
103
- z[10:20, 50:60] = np.random.random((10, 10))
104
-
105
- # Read data (returns NumPy array)
106
- data = z[0:100, 0:100]
107
- row = z[5, :]
108
-
109
- # Advanced indexing
110
- z.vindex[[0, 5, 10], [2, 8, 15]] # Coordinate indexing
111
- z.oindex[0:10, [5, 10, 15]] # Orthogonal indexing
112
- z.blocks[0, 0] # Block/chunk indexing
113
- ```
114
-
115
- ### Resizing and Appending
116
-
117
- ```python
118
- # Resize array (v3: pass shape as a tuple)
119
- z.resize((15000, 15000))
120
-
121
- # Append data along an axis
122
- z.append(np.random.random((1000, 10000)), axis=0) # Adds rows
123
- ```
124
-
125
- ## Groups and Hierarchies
126
-
127
- Groups organize multiple arrays hierarchically, similar to directories or HDF5 groups.
128
-
129
- ### Creating and Using Groups
130
-
131
- ```python
132
- # Create root group
133
- root = zarr.group(store='data/hierarchy.zarr')
134
-
135
- # Create sub-groups
136
- temperature = root.create_group('temperature')
137
- precipitation = root.create_group('precipitation')
138
-
139
- # Create arrays within groups
140
- temp_array = temperature.create_array(
141
- name='t2m',
142
- shape=(365, 720, 1440),
143
- chunks=(1, 720, 1440),
144
- dtype='f4'
145
- )
146
-
147
- precip_array = precipitation.create_array(
148
- name='prcp',
149
- shape=(365, 720, 1440),
150
- chunks=(1, 720, 1440),
151
- dtype='f4'
152
- )
153
-
154
- # Access using paths
155
- array = root['temperature/t2m']
156
-
157
- # Visualize hierarchy
158
- print(root.tree())
159
- # Output:
160
- # /
161
- # ├── temperature
162
- # │ └── t2m (365, 720, 1440) f4
163
- # └── precipitation
164
- # └── prcp (365, 720, 1440) f4
165
- ```
166
-
167
- ### Group API (v3)
168
-
169
- Use `create_array` / `require_array` (h5py-style `create_dataset` / `require_dataset` were removed in v3):
170
-
171
- ```python
172
- root = zarr.group('data.zarr')
173
- arr = root.create_array('my_data', shape=(1000, 1000), chunks=(100, 100), dtype='f4')
174
-
175
- grp = root.require_group('subgroup')
176
- arr2 = grp.require_array('array', shape=(500, 500), chunks=(50, 50), dtype='i4')
177
- ```
178
-
179
- ## Attributes and Metadata
180
-
181
- Attach custom metadata to arrays and groups using attributes:
182
-
183
- ```python
184
- # Add attributes to array
185
- z = zarr.zeros((1000, 1000), chunks=(100, 100))
186
- z.attrs['description'] = 'Temperature data in Kelvin'
187
- z.attrs['units'] = 'K'
188
- z.attrs['created'] = '2024-01-15'
189
- z.attrs['processing_version'] = 2.1
190
-
191
- # Attributes are stored as JSON
192
- print(z.attrs['units']) # Output: K
193
-
194
- # Add attributes to groups
195
- root = zarr.group('data.zarr')
196
- root.attrs['project'] = 'Climate Analysis'
197
- root.attrs['institution'] = 'Research Institute'
198
-
199
- # Attributes persist with the array/group
200
- z2 = zarr.open('data.zarr')
201
- print(z2.attrs['description'])
202
- ```
203
-
204
- **Important**: Attributes must be JSON-serializable (strings, numbers, lists, dicts, booleans, null).
205
-
206
- ## Chunking, Compression, Storage, and Performance
207
-
208
- - [references/chunking_and_compression.md](references/chunking_and_compression.md):
209
- sizing chunks to the access pattern (aim for ~1 MB, 5-100 MB on cloud), sharding, and
210
- codec choice.
211
- - [references/storage_backends.md](references/storage_backends.md): local, memory, ZIP,
212
- and fsspec remote stores (S3, GCS), with credential guidance — prefer IAM roles or
213
- workload identity, and never print credential values.
214
- - [references/integration.md](references/integration.md): NumPy, Dask, and Xarray
215
- integration, thread safety, and consolidated metadata.
216
- - [references/performance_and_patterns.md](references/performance_and_patterns.md):
217
- optimization, appendable time-series and large-matrix patterns, format conversion, and
218
- troubleshooting.
219
- - [references/api_reference.md](references/api_reference.md) and
220
- [references/v3_migration.md](references/v3_migration.md): full API and the v2-to-v3
221
- migration notes.
222
-
223
- ## Additional Resources
224
-
225
- ### Bundled references
226
-
227
- | File | Contents |
228
- |------|----------|
229
- | `references/api_reference.md` | Function signatures, stores, codecs, indexing |
230
- | `references/v3_migration.md` | Zarr-Python 2→3 breaking changes and WIP features |
231
-
232
- ### Official upstream
233
-
234
- - **Documentation**: https://zarr.readthedocs.io/en/stable/
235
- - **3.0 migration guide**: https://zarr.readthedocs.io/en/stable/user-guide/v3_migration/
236
- - **Storage backends**: https://zarr.readthedocs.io/en/stable/user-guide/storage/
237
- - **Zarr specifications**: https://zarr-specs.readthedocs.io/
238
- - **GitHub**: https://github.com/zarr-developers/zarr-python
239
- - **Developer chat**: https://ossci.zulipchat.com/#narrow/channel/423692-Zarr-Python
240
-
241
- **Related libraries:** [Xarray](https://docs.xarray.dev/), [Dask](https://docs.dask.org/), [NumCodecs](https://numcodecs.readthedocs.io/)