scverse-misc 0.0.1__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 (38) hide show
  1. scverse_misc-0.0.1/.codecov.yaml +17 -0
  2. scverse_misc-0.0.1/.cruft.json +43 -0
  3. scverse_misc-0.0.1/.editorconfig +15 -0
  4. scverse_misc-0.0.1/.github/ISSUE_TEMPLATE/bug_report.yml +93 -0
  5. scverse_misc-0.0.1/.github/ISSUE_TEMPLATE/config.yml +5 -0
  6. scverse_misc-0.0.1/.github/ISSUE_TEMPLATE/feature_request.yml +11 -0
  7. scverse_misc-0.0.1/.github/workflows/build.yaml +26 -0
  8. scverse_misc-0.0.1/.github/workflows/release.yaml +29 -0
  9. scverse_misc-0.0.1/.github/workflows/test.yaml +107 -0
  10. scverse_misc-0.0.1/.gitignore +26 -0
  11. scverse_misc-0.0.1/.pre-commit-config.yaml +38 -0
  12. scverse_misc-0.0.1/.readthedocs.yaml +16 -0
  13. scverse_misc-0.0.1/CHANGELOG.md +15 -0
  14. scverse_misc-0.0.1/LICENSE +29 -0
  15. scverse_misc-0.0.1/PKG-INFO +106 -0
  16. scverse_misc-0.0.1/README.md +57 -0
  17. scverse_misc-0.0.1/biome.jsonc +17 -0
  18. scverse_misc-0.0.1/docs/Makefile +20 -0
  19. scverse_misc-0.0.1/docs/_static/.gitkeep +0 -0
  20. scverse_misc-0.0.1/docs/_static/css/custom.css +4 -0
  21. scverse_misc-0.0.1/docs/_templates/.gitkeep +0 -0
  22. scverse_misc-0.0.1/docs/_templates/autosummary/class.rst +61 -0
  23. scverse_misc-0.0.1/docs/api.md +32 -0
  24. scverse_misc-0.0.1/docs/changelog.md +3 -0
  25. scverse_misc-0.0.1/docs/conf.py +137 -0
  26. scverse_misc-0.0.1/docs/contributing.md +338 -0
  27. scverse_misc-0.0.1/docs/extensions/typed_returns.py +32 -0
  28. scverse_misc-0.0.1/docs/index.md +13 -0
  29. scverse_misc-0.0.1/docs/references.bib +10 -0
  30. scverse_misc-0.0.1/docs/references.md +5 -0
  31. scverse_misc-0.0.1/pyproject.toml +142 -0
  32. scverse_misc-0.0.1/src/scverse_misc/__init__.py +3 -0
  33. scverse_misc-0.0.1/src/scverse_misc/_extensions.py +265 -0
  34. scverse_misc-0.0.1/src/scverse_misc/_pandas_utils.py +38 -0
  35. scverse_misc-0.0.1/src/scverse_misc/_version.py +34 -0
  36. scverse_misc-0.0.1/tests/conftest.py +0 -0
  37. scverse_misc-0.0.1/tests/test_extensions.py +224 -0
  38. scverse_misc-0.0.1/tests/test_pandas_utils.py +47 -0
@@ -0,0 +1,17 @@
1
+ # Based on pydata/xarray
2
+ codecov:
3
+ require_ci_to_pass: no
4
+
5
+ coverage:
6
+ status:
7
+ project:
8
+ default:
9
+ # Require 1% coverage, i.e., always succeed
10
+ target: 1
11
+ patch: false
12
+ changes: false
13
+
14
+ comment:
15
+ layout: diff, flags, files
16
+ behavior: once
17
+ require_base: no
@@ -0,0 +1,43 @@
1
+ {
2
+ "template": "https://github.com/scverse/cookiecutter-scverse",
3
+ "commit": "ade99079c9508247bb14e9aa52af847a991675a5",
4
+ "checkout": null,
5
+ "context": {
6
+ "cookiecutter": {
7
+ "project_name": "scverse-misc",
8
+ "package_name": "scverse_misc",
9
+ "project_description": "Miscellaneous utility code used by scverse packages",
10
+ "author_full_name": "Ilia Kats",
11
+ "author_email": "i.kats@dkfz.de",
12
+ "github_user": "scverse",
13
+ "github_repo": "scverse-misc",
14
+ "license": "BSD 3-Clause License",
15
+ "ide_integration": false,
16
+ "_copy_without_render": [
17
+ ".github/workflows/build.yaml",
18
+ ".github/workflows/test.yaml",
19
+ "docs/_templates/autosummary/**.rst"
20
+ ],
21
+ "_exclude_on_template_update": [
22
+ "CHANGELOG.md",
23
+ "LICENSE",
24
+ "README.md",
25
+ "docs/api.md",
26
+ "docs/index.md",
27
+ "docs/notebooks/example.ipynb",
28
+ "docs/references.bib",
29
+ "docs/references.md",
30
+ "src/**",
31
+ "tests/**"
32
+ ],
33
+ "_render_devdocs": false,
34
+ "_jinja2_env_vars": {
35
+ "lstrip_blocks": true,
36
+ "trim_blocks": true
37
+ },
38
+ "_template": "https://github.com/scverse/cookiecutter-scverse",
39
+ "_commit": "ade99079c9508247bb14e9aa52af847a991675a5"
40
+ }
41
+ },
42
+ "directory": null
43
+ }
@@ -0,0 +1,15 @@
1
+ root = true
2
+
3
+ [*]
4
+ indent_style = space
5
+ indent_size = 4
6
+ end_of_line = lf
7
+ charset = utf-8
8
+ trim_trailing_whitespace = true
9
+ insert_final_newline = true
10
+
11
+ [{*.{yml,yaml,toml},.cruft.json}]
12
+ indent_size = 2
13
+
14
+ [Makefile]
15
+ indent_style = tab
@@ -0,0 +1,93 @@
1
+ name: Bug report
2
+ description: Report something that is broken or incorrect
3
+ type: Bug
4
+ body:
5
+ - type: markdown
6
+ attributes:
7
+ value: |
8
+ **Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports)
9
+ detailing how to provide the necessary information for us to reproduce your bug. In brief:
10
+ * Please provide exact steps how to reproduce the bug in a clean Python environment.
11
+ * In case it's not clear what's causing this bug, please provide the data or the data generation procedure.
12
+ * Replicate problems on public datasets or share data subsets when full sharing isn't possible.
13
+
14
+ - type: textarea
15
+ id: report
16
+ attributes:
17
+ label: Report
18
+ description: A clear and concise description of what the bug is.
19
+ validations:
20
+ required: true
21
+
22
+ - type: textarea
23
+ id: versions
24
+ attributes:
25
+ label: Versions
26
+ description: |
27
+ Which version of packages.
28
+
29
+ Please install `session-info2`, run the following command in a notebook,
30
+ click the “Copy as Markdown” button, then paste the results into the text box below.
31
+
32
+ ```python
33
+ In[1]: import session_info2; session_info2.session_info(dependencies=True)
34
+ ```
35
+
36
+ Alternatively, run this in a console:
37
+
38
+ ```python
39
+ >>> import session_info2; print(session_info2.session_info(dependencies=True)._repr_mimebundle_()["text/markdown"])
40
+ ```
41
+ render: python
42
+ placeholder: |
43
+ anndata 0.11.3
44
+ ---- ----
45
+ charset-normalizer 3.4.1
46
+ coverage 7.7.0
47
+ psutil 7.0.0
48
+ dask 2024.7.1
49
+ jaraco.context 5.3.0
50
+ numcodecs 0.15.1
51
+ jaraco.functools 4.0.1
52
+ Jinja2 3.1.6
53
+ sphinxcontrib-jsmath 1.0.1
54
+ sphinxcontrib-htmlhelp 2.1.0
55
+ toolz 1.0.0
56
+ session-info2 0.1.2
57
+ PyYAML 6.0.2
58
+ llvmlite 0.44.0
59
+ scipy 1.15.2
60
+ pandas 2.2.3
61
+ sphinxcontrib-devhelp 2.0.0
62
+ h5py 3.13.0
63
+ tblib 3.0.0
64
+ setuptools-scm 8.2.0
65
+ more-itertools 10.3.0
66
+ msgpack 1.1.0
67
+ sparse 0.15.5
68
+ wrapt 1.17.2
69
+ jaraco.collections 5.1.0
70
+ numba 0.61.0
71
+ pyarrow 19.0.1
72
+ pytz 2025.1
73
+ MarkupSafe 3.0.2
74
+ crc32c 2.7.1
75
+ sphinxcontrib-qthelp 2.0.0
76
+ sphinxcontrib-serializinghtml 2.0.0
77
+ zarr 2.18.4
78
+ asciitree 0.3.3
79
+ six 1.17.0
80
+ sphinxcontrib-applehelp 2.0.0
81
+ numpy 2.1.3
82
+ cloudpickle 3.1.1
83
+ sphinxcontrib-bibtex 2.6.3
84
+ natsort 8.4.0
85
+ jaraco.text 3.12.1
86
+ setuptools 76.1.0
87
+ Deprecated 1.2.18
88
+ packaging 24.2
89
+ python-dateutil 2.9.0.post0
90
+ ---- ----
91
+ Python 3.13.2 | packaged by conda-forge | (main, Feb 17 2025, 14:10:22) [GCC 13.3.0]
92
+ OS Linux-6.11.0-109019-tuxedo-x86_64-with-glibc2.39
93
+ Updated 2025-03-18 15:47
@@ -0,0 +1,5 @@
1
+ blank_issues_enabled: false
2
+ contact_links:
3
+ - name: Scverse Community Forum
4
+ url: https://discourse.scverse.org/
5
+ about: If you have questions about “How to do X”, please ask them here.
@@ -0,0 +1,11 @@
1
+ name: Feature request
2
+ description: Propose a new feature for scverse-misc
3
+ type: Enhancement
4
+ body:
5
+ - type: textarea
6
+ id: description
7
+ attributes:
8
+ label: Description of feature
9
+ description: Please describe your suggestion for a new feature. It might help to describe a problem or use case, plus any alternatives that you have considered.
10
+ validations:
11
+ required: true
@@ -0,0 +1,26 @@
1
+ name: Check Build
2
+
3
+ on:
4
+ push:
5
+ branches: [main]
6
+ pull_request:
7
+ branches: [main]
8
+
9
+ concurrency:
10
+ group: ${{ github.workflow }}-${{ github.ref }}
11
+ cancel-in-progress: true
12
+
13
+ jobs:
14
+ package:
15
+ runs-on: ubuntu-latest
16
+ steps:
17
+ - uses: actions/checkout@v6
18
+ with:
19
+ filter: blob:none
20
+ fetch-depth: 0
21
+ - name: Install uv
22
+ uses: astral-sh/setup-uv@v7
23
+ - name: Build package
24
+ run: uv build
25
+ - name: Check package
26
+ run: uvx twine check --strict dist/*.whl
@@ -0,0 +1,29 @@
1
+ name: Release
2
+
3
+ on:
4
+ push:
5
+ tags:
6
+ - "v[0-9]+.[0-9]+.[0-9]+**"
7
+ workflow_dispatch:
8
+
9
+ # Use "trusted publishing", see https://docs.pypi.org/trusted-publishers/
10
+ jobs:
11
+ release:
12
+ name: Upload release to PyPI
13
+ runs-on: ubuntu-latest
14
+ environment:
15
+ name: pypi
16
+ url: https://pypi.org/p/mofaflex
17
+ permissions:
18
+ id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
19
+ steps:
20
+ - uses: actions/checkout@v5
21
+ with:
22
+ filter: blob:none
23
+ fetch-depth: 0
24
+ - name: Install uv
25
+ uses: astral-sh/setup-uv@v7
26
+ - name: Build package
27
+ run: uv build
28
+ - name: Publish package distributions to PyPI
29
+ uses: pypa/gh-action-pypi-publish@release/v1
@@ -0,0 +1,107 @@
1
+ name: Test
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+ - "v[0-9]+.[0-9]+.x"
8
+ pull_request:
9
+ branches:
10
+ - main
11
+ - "v[0-9]+.[0-9]+.x"
12
+ schedule:
13
+ - cron: "0 5 1,15 * *"
14
+
15
+ concurrency:
16
+ group: ${{ github.workflow }}-${{ github.ref }}
17
+ cancel-in-progress: true
18
+
19
+ jobs:
20
+ # Get the test environment from hatch as defined in pyproject.toml.
21
+ # This ensures that the pyproject.toml is the single point of truth for test definitions and the same tests are
22
+ # run locally and on continuous integration.
23
+ # Check [[tool.hatch.envs.hatch-test.matrix]] in pyproject.toml and https://hatch.pypa.io/latest/environment/ for
24
+ # more details.
25
+ get-environments:
26
+ runs-on: ubuntu-latest
27
+ outputs:
28
+ envs: ${{ steps.get-envs.outputs.envs }}
29
+ steps:
30
+ - uses: actions/checkout@v5
31
+ with:
32
+ filter: blob:none
33
+ fetch-depth: 0
34
+ - name: Install uv
35
+ uses: astral-sh/setup-uv@v7
36
+ - name: Get test environments
37
+ id: get-envs
38
+ run: |
39
+ ENVS_JSON=$(uvx hatch env show --json | jq -c 'to_entries
40
+ | map(
41
+ select(.key | startswith("hatch-test"))
42
+ | {
43
+ name: .key,
44
+ label: (if (.key | contains("pre")) then .key + " (PRE-RELEASE DEPENDENCIES)" else .key end),
45
+ python: .value.python
46
+ }
47
+ )')
48
+ echo "envs=${ENVS_JSON}" | tee $GITHUB_OUTPUT
49
+
50
+ # Run tests through hatch. Spawns a separate runner for each environment defined in the hatch matrix obtained above.
51
+ test:
52
+ needs: get-environments
53
+ permissions:
54
+ id-token: write # for codecov OIDC
55
+
56
+ strategy:
57
+ fail-fast: false
58
+ matrix:
59
+ os: [ubuntu-latest]
60
+ env: ${{ fromJSON(needs.get-environments.outputs.envs) }}
61
+
62
+ name: ${{ matrix.env.label }}
63
+ runs-on: ${{ matrix.os }}
64
+ continue-on-error: ${{ contains(matrix.env.name, 'pre') }} # make "all-green" pass even if pre-release job fails
65
+
66
+ steps:
67
+ - uses: actions/checkout@v5
68
+ with:
69
+ filter: blob:none
70
+ fetch-depth: 0
71
+ - name: Install uv
72
+ uses: astral-sh/setup-uv@v7
73
+ with:
74
+ python-version: ${{ matrix.env.python }}
75
+ - name: create hatch environment
76
+ run: uvx hatch env create ${{ matrix.env.name }}
77
+ - name: run tests using hatch
78
+ env:
79
+ MPLBACKEND: agg
80
+ PLATFORM: ${{ matrix.os }}
81
+ DISPLAY: :42
82
+ run: uvx hatch run ${{ matrix.env.name }}:run-cov -v --color=yes -n auto
83
+ - name: generate coverage report
84
+ run: |
85
+ # See https://coverage.readthedocs.io/en/latest/config.html#run-patch
86
+ test -f .coverage || uvx hatch run ${{ matrix.env.name }}:cov-combine
87
+ uvx hatch run ${{ matrix.env.name }}:cov-report # report visibly
88
+ uvx hatch run ${{ matrix.env.name }}:coverage xml # create report for upload
89
+ - name: Upload coverage
90
+ uses: codecov/codecov-action@v5
91
+ with:
92
+ fail_ci_if_error: true
93
+ use_oidc: true
94
+
95
+ # Check that all tests defined above pass. This makes it easy to set a single "required" test in branch
96
+ # protection instead of having to update it frequently. See https://github.com/re-actors/alls-green#why.
97
+ check:
98
+ name: Tests pass in all hatch environments
99
+ if: always()
100
+ needs:
101
+ - get-environments
102
+ - test
103
+ runs-on: ubuntu-latest
104
+ steps:
105
+ - uses: re-actors/alls-green@release/v1
106
+ with:
107
+ jobs: ${{ toJSON(needs) }}
@@ -0,0 +1,26 @@
1
+ # Temp files
2
+ .DS_Store
3
+ *~
4
+ buck-out/
5
+
6
+ # IDEs
7
+ /.idea/
8
+ /.vscode/
9
+
10
+ # Compiled files
11
+ .venv/
12
+ __pycache__/
13
+ .*cache/
14
+ /src/scverse_misc/_version.py
15
+
16
+ # Distribution / packaging
17
+ /dist/
18
+
19
+ # Tests and coverage
20
+ /data/
21
+ /node_modules/
22
+ /.coverage*
23
+
24
+ # docs
25
+ /docs/generated/
26
+ /docs/_build/
@@ -0,0 +1,38 @@
1
+ fail_fast: false
2
+ default_language_version:
3
+ python: python3
4
+ default_stages:
5
+ - pre-commit
6
+ - pre-push
7
+ minimum_pre_commit_version: 2.16.0
8
+ repos:
9
+ - repo: https://github.com/biomejs/pre-commit
10
+ rev: v2.4.6
11
+ hooks:
12
+ - id: biome-format
13
+ exclude: ^\.cruft\.json$ # inconsistent indentation with cruft - file never to be modified manually.
14
+ - repo: https://github.com/tox-dev/pyproject-fmt
15
+ rev: v2.16.2
16
+ hooks:
17
+ - id: pyproject-fmt
18
+ - repo: https://github.com/astral-sh/ruff-pre-commit
19
+ rev: v0.15.5
20
+ hooks:
21
+ - id: ruff-check
22
+ types_or: [python, pyi, jupyter]
23
+ args: [--fix, --exit-non-zero-on-fix]
24
+ - id: ruff-format
25
+ types_or: [python, pyi, jupyter]
26
+ - repo: https://github.com/pre-commit/pre-commit-hooks
27
+ rev: v6.0.0
28
+ hooks:
29
+ - id: detect-private-key
30
+ - id: check-ast
31
+ - id: end-of-file-fixer
32
+ - id: mixed-line-ending
33
+ args: [--fix=lf]
34
+ - id: trailing-whitespace
35
+ - id: check-case-conflict
36
+ # Check that there are no merge conflicts (could be generated by template sync)
37
+ - id: check-merge-conflict
38
+ args: [--assume-in-merge]
@@ -0,0 +1,16 @@
1
+ # https://docs.readthedocs.io/en/stable/config-file/v2.html
2
+ version: 2
3
+ build:
4
+ os: ubuntu-24.04
5
+ tools:
6
+ python: "3.14"
7
+ nodejs: latest
8
+ jobs:
9
+ create_environment:
10
+ - asdf plugin add uv
11
+ - asdf install uv latest
12
+ - asdf global uv latest
13
+ build:
14
+ html:
15
+ - uvx hatch run docs:build
16
+ - mv docs/_build $READTHEDOCS_OUTPUT
@@ -0,0 +1,15 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog][],
6
+ and this project adheres to [Semantic Versioning][].
7
+
8
+ [keep a changelog]: https://keepachangelog.com/en/1.0.0/
9
+ [semantic versioning]: https://semver.org/spec/v2.0.0.html
10
+
11
+ ## [Unreleased]
12
+
13
+ ### Added
14
+
15
+ - Basic tool, preprocessing and plotting functions
@@ -0,0 +1,29 @@
1
+ BSD 3-Clause License
2
+
3
+ Copyright (c) 2026, Ilia Kats
4
+ All rights reserved.
5
+
6
+ Redistribution and use in source and binary forms, with or without
7
+ modification, are permitted provided that the following conditions are met:
8
+
9
+ 1. Redistributions of source code must retain the above copyright notice, this
10
+ list of conditions and the following disclaimer.
11
+
12
+ 2. Redistributions in binary form must reproduce the above copyright notice,
13
+ this list of conditions and the following disclaimer in the documentation
14
+ and/or other materials provided with the distribution.
15
+
16
+ 3. Neither the name of the copyright holder nor the names of its
17
+ contributors may be used to endorse or promote products derived from
18
+ this software without specific prior written permission.
19
+
20
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
23
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
24
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
26
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
27
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
28
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -0,0 +1,106 @@
1
+ Metadata-Version: 2.4
2
+ Name: scverse-misc
3
+ Version: 0.0.1
4
+ Summary: Miscellaneous utility code used by scverse packages
5
+ Project-URL: Documentation, https://scverse-misc.readthedocs.io/
6
+ Project-URL: Homepage, https://github.com/scverse/scverse-misc
7
+ Project-URL: Source, https://github.com/scverse/scverse-misc
8
+ Author: Ilia Kats
9
+ Maintainer-email: Ilia Kats <i.kats@dkfz.de>
10
+ License: BSD 3-Clause License
11
+
12
+ Copyright (c) 2026, Ilia Kats
13
+ All rights reserved.
14
+
15
+ Redistribution and use in source and binary forms, with or without
16
+ modification, are permitted provided that the following conditions are met:
17
+
18
+ 1. Redistributions of source code must retain the above copyright notice, this
19
+ list of conditions and the following disclaimer.
20
+
21
+ 2. Redistributions in binary form must reproduce the above copyright notice,
22
+ this list of conditions and the following disclaimer in the documentation
23
+ and/or other materials provided with the distribution.
24
+
25
+ 3. Neither the name of the copyright holder nor the names of its
26
+ contributors may be used to endorse or promote products derived from
27
+ this software without specific prior written permission.
28
+
29
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
30
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
31
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
32
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
33
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
34
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
35
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
36
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
37
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
38
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
39
+ License-File: LICENSE
40
+ Classifier: Programming Language :: Python :: 3 :: Only
41
+ Classifier: Programming Language :: Python :: 3.11
42
+ Classifier: Programming Language :: Python :: 3.12
43
+ Classifier: Programming Language :: Python :: 3.13
44
+ Classifier: Programming Language :: Python :: 3.14
45
+ Requires-Python: >=3.11
46
+ Requires-Dist: pandas>=1
47
+ Requires-Dist: session-info2
48
+ Description-Content-Type: text/markdown
49
+
50
+ # scverse-misc
51
+
52
+ [![Tests][badge-tests]][tests]
53
+ [![codecov][badge-codecov]][codecov]
54
+ [![Documentation][badge-docs]][documentation]
55
+
56
+ [badge-tests]: https://github.com/scverse/scverse-misc/actions/workflows/test.yaml/badge.svg
57
+ [badge-codecov]: https://codecov.io/gh/scverse/scverse-misc/graph/badge.svg?token=EUH9BZZK7T
58
+ [badge-docs]: https://img.shields.io/readthedocs/scverse-misc
59
+
60
+ Miscellaneous utility code used by scverse packages
61
+
62
+ ## Getting started
63
+
64
+ Please refer to the [documentation][],
65
+ in particular, the [API documentation][].
66
+
67
+ ## Installation
68
+
69
+ You need to have Python 3.11 or newer installed on your system.
70
+ If you don't have Python installed, we recommend installing [uv][].
71
+
72
+ There are several alternative options to install scverse-misc:
73
+
74
+ <!--
75
+ 1) Install the latest release of `scverse-misc` from [PyPI][]:
76
+
77
+ ```bash
78
+ pip install scverse-misc
79
+ ```
80
+ -->
81
+
82
+ 1. Install the latest development version:
83
+
84
+ ```bash
85
+ pip install git+https://github.com/scverse/scverse-misc.git@main
86
+ ```
87
+
88
+ ## Release notes
89
+
90
+ See the [changelog][].
91
+
92
+ ## Contact
93
+
94
+ For questions and help requests, you can reach out in the [scverse discourse][].
95
+ If you found a bug, please use the [issue tracker][].
96
+
97
+
98
+ [uv]: https://github.com/astral-sh/uv
99
+ [scverse discourse]: https://discourse.scverse.org/
100
+ [issue tracker]: https://github.com/scverse/scverse-misc/issues
101
+ [tests]: https://github.com/scverse/scverse-misc/actions/workflows/test.yaml
102
+ [codecov]: https://codecov.io/gh/bioFAM/mofaflex
103
+ [documentation]: https://scverse-misc.readthedocs.io
104
+ [changelog]: https://scverse-misc.readthedocs.io/en/latest/changelog.html
105
+ [api documentation]: https://scverse-misc.readthedocs.io/latest/api.html
106
+ [pypi]: https://pypi.org/project/scverse-misc
@@ -0,0 +1,57 @@
1
+ # scverse-misc
2
+
3
+ [![Tests][badge-tests]][tests]
4
+ [![codecov][badge-codecov]][codecov]
5
+ [![Documentation][badge-docs]][documentation]
6
+
7
+ [badge-tests]: https://github.com/scverse/scverse-misc/actions/workflows/test.yaml/badge.svg
8
+ [badge-codecov]: https://codecov.io/gh/scverse/scverse-misc/graph/badge.svg?token=EUH9BZZK7T
9
+ [badge-docs]: https://img.shields.io/readthedocs/scverse-misc
10
+
11
+ Miscellaneous utility code used by scverse packages
12
+
13
+ ## Getting started
14
+
15
+ Please refer to the [documentation][],
16
+ in particular, the [API documentation][].
17
+
18
+ ## Installation
19
+
20
+ You need to have Python 3.11 or newer installed on your system.
21
+ If you don't have Python installed, we recommend installing [uv][].
22
+
23
+ There are several alternative options to install scverse-misc:
24
+
25
+ <!--
26
+ 1) Install the latest release of `scverse-misc` from [PyPI][]:
27
+
28
+ ```bash
29
+ pip install scverse-misc
30
+ ```
31
+ -->
32
+
33
+ 1. Install the latest development version:
34
+
35
+ ```bash
36
+ pip install git+https://github.com/scverse/scverse-misc.git@main
37
+ ```
38
+
39
+ ## Release notes
40
+
41
+ See the [changelog][].
42
+
43
+ ## Contact
44
+
45
+ For questions and help requests, you can reach out in the [scverse discourse][].
46
+ If you found a bug, please use the [issue tracker][].
47
+
48
+
49
+ [uv]: https://github.com/astral-sh/uv
50
+ [scverse discourse]: https://discourse.scverse.org/
51
+ [issue tracker]: https://github.com/scverse/scverse-misc/issues
52
+ [tests]: https://github.com/scverse/scverse-misc/actions/workflows/test.yaml
53
+ [codecov]: https://codecov.io/gh/bioFAM/mofaflex
54
+ [documentation]: https://scverse-misc.readthedocs.io
55
+ [changelog]: https://scverse-misc.readthedocs.io/en/latest/changelog.html
56
+ [api documentation]: https://scverse-misc.readthedocs.io/latest/api.html
57
+ [pypi]: https://pypi.org/project/scverse-misc
@@ -0,0 +1,17 @@
1
+ {
2
+ "$schema": "https://biomejs.dev/schemas/2.2.0/schema.json",
3
+ "vcs": { "enabled": true, "clientKind": "git", "useIgnoreFile": true },
4
+ "formatter": { "useEditorconfig": true },
5
+ "overrides": [
6
+ {
7
+ "includes": ["./.vscode/*.json", "**/*.jsonc"],
8
+ "json": {
9
+ "formatter": { "trailingCommas": "all" },
10
+ "parser": {
11
+ "allowComments": true,
12
+ "allowTrailingCommas": true,
13
+ },
14
+ },
15
+ },
16
+ ],
17
+ }