rectanglepy 1.4.1__tar.gz → 1.4.2__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.
- {rectanglepy-1.4.1 → rectanglepy-1.4.2}/.bumpversion.cfg +1 -1
- {rectanglepy-1.4.1 → rectanglepy-1.4.2}/CHANGELOG.md +10 -4
- rectanglepy-1.4.2/CLA.md +38 -0
- rectanglepy-1.4.2/LICENSE +28 -0
- rectanglepy-1.4.2/LICENSE-Commercial.md +61 -0
- rectanglepy-1.4.2/PKG-INFO +110 -0
- {rectanglepy-1.4.1 → rectanglepy-1.4.2}/README.md +11 -6
- {rectanglepy-1.4.1 → rectanglepy-1.4.2}/docs/contributing.md +1 -1
- {rectanglepy-1.4.1 → rectanglepy-1.4.2}/pyproject.toml +3 -2
- {rectanglepy-1.4.1 → rectanglepy-1.4.2}/src/rectanglepy/pp/create_signature.py +2 -0
- {rectanglepy-1.4.1 → rectanglepy-1.4.2}/src/rectanglepy/pp/rectangle_signature.py +2 -0
- {rectanglepy-1.4.1 → rectanglepy-1.4.2}/src/rectanglepy/rectangle.py +2 -0
- {rectanglepy-1.4.1 → rectanglepy-1.4.2}/src/rectanglepy/tl/deconvolution.py +2 -0
- rectanglepy-1.4.1/LICENCE_COM +0 -203
- rectanglepy-1.4.1/LICENSE +0 -674
- rectanglepy-1.4.1/PKG-INFO +0 -778
- {rectanglepy-1.4.1 → rectanglepy-1.4.2}/.cruft.json +0 -0
- {rectanglepy-1.4.1 → rectanglepy-1.4.2}/.editorconfig +0 -0
- {rectanglepy-1.4.1 → rectanglepy-1.4.2}/.github/ISSUE_TEMPLATE/bug_report.yml +0 -0
- {rectanglepy-1.4.1 → rectanglepy-1.4.2}/.github/ISSUE_TEMPLATE/config.yml +0 -0
- {rectanglepy-1.4.1 → rectanglepy-1.4.2}/.github/ISSUE_TEMPLATE/feature_request.yml +0 -0
- {rectanglepy-1.4.1 → rectanglepy-1.4.2}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
- {rectanglepy-1.4.1 → rectanglepy-1.4.2}/.github/workflows/build.yaml +0 -0
- {rectanglepy-1.4.1 → rectanglepy-1.4.2}/.github/workflows/release.yaml +0 -0
- {rectanglepy-1.4.1 → rectanglepy-1.4.2}/.github/workflows/release_testpypi.yaml +0 -0
- {rectanglepy-1.4.1 → rectanglepy-1.4.2}/.github/workflows/test.yaml +0 -0
- {rectanglepy-1.4.1 → rectanglepy-1.4.2}/.gitignore +0 -0
- {rectanglepy-1.4.1 → rectanglepy-1.4.2}/.pre-commit-config.yaml +0 -0
- {rectanglepy-1.4.1 → rectanglepy-1.4.2}/.readthedocs.yaml +0 -0
- {rectanglepy-1.4.1 → rectanglepy-1.4.2}/docs/Makefile +0 -0
- {rectanglepy-1.4.1 → rectanglepy-1.4.2}/docs/_static/.gitkeep +0 -0
- {rectanglepy-1.4.1 → rectanglepy-1.4.2}/docs/_static/rec_logo.001.png +0 -0
- {rectanglepy-1.4.1 → rectanglepy-1.4.2}/docs/_templates/.gitkeep +0 -0
- {rectanglepy-1.4.1 → rectanglepy-1.4.2}/docs/_templates/autosummary/class.rst +0 -0
- {rectanglepy-1.4.1 → rectanglepy-1.4.2}/docs/api.md +0 -0
- {rectanglepy-1.4.1 → rectanglepy-1.4.2}/docs/changelog.md +0 -0
- {rectanglepy-1.4.1 → rectanglepy-1.4.2}/docs/conf.py +0 -0
- {rectanglepy-1.4.1 → rectanglepy-1.4.2}/docs/extensions/typed_returns.py +0 -0
- {rectanglepy-1.4.1 → rectanglepy-1.4.2}/docs/index.md +0 -0
- {rectanglepy-1.4.1 → rectanglepy-1.4.2}/docs/installation.md +0 -0
- {rectanglepy-1.4.1 → rectanglepy-1.4.2}/docs/make.bat +0 -0
- {rectanglepy-1.4.1 → rectanglepy-1.4.2}/docs/notebooks/example.ipynb +0 -0
- {rectanglepy-1.4.1 → rectanglepy-1.4.2}/docs/references.bib +0 -0
- {rectanglepy-1.4.1 → rectanglepy-1.4.2}/docs/references.md +0 -0
- {rectanglepy-1.4.1 → rectanglepy-1.4.2}/docs/tutorials.md +0 -0
- {rectanglepy-1.4.1 → rectanglepy-1.4.2}/src/rectanglepy/__init__.py +0 -0
- {rectanglepy-1.4.1 → rectanglepy-1.4.2}/src/rectanglepy/data/hao1_annotations_small.zip +0 -0
- {rectanglepy-1.4.1 → rectanglepy-1.4.2}/src/rectanglepy/data/hao1_counts_small.zip +0 -0
- {rectanglepy-1.4.1 → rectanglepy-1.4.2}/src/rectanglepy/data/small_fino_bulks.zip +0 -0
- {rectanglepy-1.4.1 → rectanglepy-1.4.2}/src/rectanglepy/pp/__init__.py +0 -0
- {rectanglepy-1.4.1 → rectanglepy-1.4.2}/src/rectanglepy/tl/__init__.py +0 -0
- {rectanglepy-1.4.1 → rectanglepy-1.4.2}/tests/data/TIL10_signature.txt +0 -0
- {rectanglepy-1.4.1 → rectanglepy-1.4.2}/tests/data/bulk_small.csv +0 -0
- {rectanglepy-1.4.1 → rectanglepy-1.4.2}/tests/data/cell_annotations_small.txt +0 -0
- {rectanglepy-1.4.1 → rectanglepy-1.4.2}/tests/data/quanTIseq_SimRNAseq_mixture_smaller.csv +0 -0
- {rectanglepy-1.4.1 → rectanglepy-1.4.2}/tests/data/quanTIseq_SimRNAseq_read_fractions_small.txt +0 -0
- {rectanglepy-1.4.1 → rectanglepy-1.4.2}/tests/data/sc_object_small.csv +0 -0
- {rectanglepy-1.4.1 → rectanglepy-1.4.2}/tests/data/signature_hao1.csv +0 -0
- {rectanglepy-1.4.1 → rectanglepy-1.4.2}/tests/test_pp.py +0 -0
- {rectanglepy-1.4.1 → rectanglepy-1.4.2}/tests/test_rectangle.py +0 -0
- {rectanglepy-1.4.1 → rectanglepy-1.4.2}/tests/test_tl.py +0 -0
|
@@ -10,6 +10,12 @@ and this project adheres to [Semantic Versioning][].
|
|
|
10
10
|
|
|
11
11
|
## [Unreleased]
|
|
12
12
|
|
|
13
|
+
## [1.4.2] - 2026-05-24
|
|
14
|
+
|
|
15
|
+
### Changed
|
|
16
|
+
|
|
17
|
+
- Changed the open-source license from GPLv3 to BSD-3-Clause while retaining the commercial licensing option.
|
|
18
|
+
|
|
13
19
|
## [1.4.1] - 2026-04-23
|
|
14
20
|
|
|
15
21
|
### Changed
|
|
@@ -20,10 +26,10 @@ and this project adheres to [Semantic Versioning][].
|
|
|
20
26
|
|
|
21
27
|
### Changed
|
|
22
28
|
|
|
23
|
-
- **Licensing: Rectangle is
|
|
24
|
-
- Non-commercial use: GNU General Public
|
|
25
|
-
- Commercial use: A proprietary
|
|
26
|
-
- See
|
|
29
|
+
- **Licensing: Rectangle is available under a dual license.**
|
|
30
|
+
- Non-commercial use: GNU General Public License v3 (GPLv3).
|
|
31
|
+
- Commercial use: A proprietary license is available for companies wishing to use Rectangle in closed-source or proprietary applications. For enquiries, contact innovation-psb@uibk.ac.at.
|
|
32
|
+
- See the commercial license terms for details.
|
|
27
33
|
- Added Contributor License Agreement (CLA) for external contributions.
|
|
28
34
|
|
|
29
35
|
## [1.2.0] - 2026-01-31
|
rectanglepy-1.4.2/CLA.md
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# Rectangle Contributor License Agreement (CLA)
|
|
2
|
+
|
|
3
|
+
## Purpose
|
|
4
|
+
|
|
5
|
+
Rectangle is dual-licensed: BSD-3-Clause open source OR a proprietary Commercial license. This CLA ensures Contributions can be used under the BSD-3-Clause license and also re-licensed under the Commercial license.
|
|
6
|
+
|
|
7
|
+
## Definitions
|
|
8
|
+
|
|
9
|
+
- **Contribution**: Any work submitted for inclusion, including code, documentation, tests, examples, or other materials.
|
|
10
|
+
- **Contributor**: The individual or entity submitting a Contribution.
|
|
11
|
+
- **Project Owners**: Francesca Finotello and Bernhard Eder.
|
|
12
|
+
|
|
13
|
+
## Grant of rights
|
|
14
|
+
|
|
15
|
+
The Contributor grants the Project Owners a perpetual, worldwide, irrevocable, non-exclusive, transferable license to use, reproduce, modify, create derivative works of, publicly display, perform, sublicense, and distribute the Contribution:
|
|
16
|
+
|
|
17
|
+
- under the BSD-3-Clause license; and
|
|
18
|
+
- under one or more proprietary licenses at the Project Owners’ discretion.
|
|
19
|
+
|
|
20
|
+
## Copyright
|
|
21
|
+
|
|
22
|
+
The Contributor retains copyright in their Contribution.
|
|
23
|
+
|
|
24
|
+
## Disclaimer
|
|
25
|
+
|
|
26
|
+
Contributions are provided “AS IS,” without warranties or conditions of any kind.
|
|
27
|
+
|
|
28
|
+
## Compensation
|
|
29
|
+
|
|
30
|
+
No compensation is owed for Contributions unless separately agreed in writing.
|
|
31
|
+
|
|
32
|
+
## Governing law
|
|
33
|
+
|
|
34
|
+
This CLA is governed by the laws of Austria, excluding conflict of law rules.
|
|
35
|
+
|
|
36
|
+
## Acceptance
|
|
37
|
+
|
|
38
|
+
By submitting a Contribution, for example via pull request, you agree to this CLA.
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
BSD 3-Clause License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026, Francesca Finotello and Bernhard Eder
|
|
4
|
+
|
|
5
|
+
Redistribution and use in source and binary forms, with or without
|
|
6
|
+
modification, are permitted provided that the following conditions are met:
|
|
7
|
+
|
|
8
|
+
1. Redistributions of source code must retain the above copyright notice, this
|
|
9
|
+
list of conditions and the following disclaimer.
|
|
10
|
+
|
|
11
|
+
2. Redistributions in binary form must reproduce the above copyright notice,
|
|
12
|
+
this list of conditions and the following disclaimer in the documentation
|
|
13
|
+
and/or other materials provided with the distribution.
|
|
14
|
+
|
|
15
|
+
3. Neither the names of the copyright holders nor the names of contributors may
|
|
16
|
+
be used to endorse or promote products derived from this software without
|
|
17
|
+
specific prior written permission.
|
|
18
|
+
|
|
19
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
|
20
|
+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
21
|
+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
22
|
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE
|
|
23
|
+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
24
|
+
DAMAGES, INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
25
|
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION HOWEVER
|
|
26
|
+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
|
|
27
|
+
TORT, INCLUDING NEGLIGENCE OR OTHERWISE ARISING IN ANY WAY OUT OF THE USE OF
|
|
28
|
+
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# Rectangle – Commercial License Terms
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Francesca Finotello and Bernhard Eder
|
|
4
|
+
Contact: innovation-psb@uibk.ac.at
|
|
5
|
+
|
|
6
|
+
These Commercial License Terms apply only if the Licensors and Licensee have entered into a written commercial license agreement, order form, or other written agreement that expressly incorporates these terms. Otherwise, Rectangle is available under the BSD-3-Clause license in the `LICENSE` file.
|
|
7
|
+
|
|
8
|
+
## Dual licensing
|
|
9
|
+
|
|
10
|
+
- Rectangle is dual-licensed: BSD-3-Clause OR Commercial.
|
|
11
|
+
- If you use Rectangle under the BSD-3-Clause license, the terms in `LICENSE` apply.
|
|
12
|
+
- If you require different terms, such as warranties, indemnities, dedicated support, or redistribution without BSD notices, you must obtain a commercial license from the copyright holders.
|
|
13
|
+
|
|
14
|
+
## Grant of rights Commercial
|
|
15
|
+
|
|
16
|
+
Subject to full payment of the agreed license fee, the applicable written agreement or order form, and compliance with these terms, the Licensee is granted a non-exclusive, non-transferable, worldwide license to:
|
|
17
|
+
|
|
18
|
+
- use Rectangle internally and in products/services;
|
|
19
|
+
- modify and create derivative works; and
|
|
20
|
+
- distribute Rectangle, in source or binary form, as part of proprietary applications, without any obligation to disclose source code and without attribution requirements beyond what is agreed here.
|
|
21
|
+
|
|
22
|
+
## Term and scope
|
|
23
|
+
|
|
24
|
+
- Perpetual term unless otherwise stated in the order form.
|
|
25
|
+
- License is limited to the legal entity named in the order form.
|
|
26
|
+
- Sub-licensing, assignment, or transfer requires prior written consent of the Licensors.
|
|
27
|
+
|
|
28
|
+
## Attribution and notices
|
|
29
|
+
|
|
30
|
+
- No attribution is required unless otherwise agreed in the order form.
|
|
31
|
+
- The Licensee may not use the Licensors’ or contributors’ names or trademarks to endorse or promote products without prior written permission.
|
|
32
|
+
|
|
33
|
+
## Support and updates
|
|
34
|
+
|
|
35
|
+
- Support, maintenance, and updates are not included unless purchased separately under a support agreement.
|
|
36
|
+
|
|
37
|
+
## Compliance
|
|
38
|
+
|
|
39
|
+
- The Licensee is responsible for ensuring that distribution and use comply with applicable laws and third-party licenses.
|
|
40
|
+
- Anyone who has not entered into a separate commercial license agreement may use Rectangle only under the BSD-3-Clause license.
|
|
41
|
+
|
|
42
|
+
## Liability and warranty
|
|
43
|
+
|
|
44
|
+
- Rectangle is provided “AS IS.” The Licensors disclaim all warranties unless explicitly provided in a separate support agreement or SLA.
|
|
45
|
+
- To the extent permitted by law, Licensors’ aggregate liability is limited to the amount paid by the Licensee for the commercial license during the 12 months preceding the claim.
|
|
46
|
+
- Licensors are not liable for indirect, incidental, special, or consequential damages.
|
|
47
|
+
|
|
48
|
+
## Termination
|
|
49
|
+
|
|
50
|
+
- Licensors may terminate this license for material breach if not cured within 30 days of written notice.
|
|
51
|
+
- Upon termination, Licensee shall cease use and destroy copies within a reasonable time.
|
|
52
|
+
|
|
53
|
+
## Governing law and venue
|
|
54
|
+
|
|
55
|
+
- This Agreement is governed by the laws of Austria, excluding conflict of law rules.
|
|
56
|
+
- Exclusive jurisdiction and venue are the competent courts at the Licensors’ registered seat, to the extent legally permissible.
|
|
57
|
+
|
|
58
|
+
## Entire agreement and amendments
|
|
59
|
+
|
|
60
|
+
- This constitutes the entire agreement for commercial use.
|
|
61
|
+
- Amendments must be in writing and signed by both parties.
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: rectanglepy
|
|
3
|
+
Version: 1.4.2
|
|
4
|
+
Summary: Hierarchical deconvolution of bulk transcriptomics
|
|
5
|
+
Project-URL: Documentation, https://rectanglepy.readthedocs.io/
|
|
6
|
+
Project-URL: Source, https://github.com/ComputationalBiomedicineGroup/Rectangle
|
|
7
|
+
Project-URL: Home-page, https://github.com/ComputationalBiomedicineGroup/Rectangle
|
|
8
|
+
Author: Bernhard Eder
|
|
9
|
+
Maintainer-email: Bernhard Eder <Bernhard.Eder@student.uibk.ac.at>
|
|
10
|
+
License-Expression: BSD-3-Clause OR LicenseRef-Rectangle-Commercial
|
|
11
|
+
License-File: LICENSE
|
|
12
|
+
License-File: LICENSE-Commercial.md
|
|
13
|
+
Requires-Python: >=3.10
|
|
14
|
+
Requires-Dist: anndata<0.10.9,>=0.8.0
|
|
15
|
+
Requires-Dist: loguru
|
|
16
|
+
Requires-Dist: numpy<2.0.0,>=1.0.0
|
|
17
|
+
Requires-Dist: osqp>=1.0.5
|
|
18
|
+
Requires-Dist: pandas<3.0.0,>=2.0.0
|
|
19
|
+
Requires-Dist: pydeseq2==0.4.11
|
|
20
|
+
Requires-Dist: scipy==1.13.0
|
|
21
|
+
Requires-Dist: statsmodels>=0.14.1
|
|
22
|
+
Provides-Extra: dev
|
|
23
|
+
Requires-Dist: bump2version; extra == 'dev'
|
|
24
|
+
Requires-Dist: pre-commit; extra == 'dev'
|
|
25
|
+
Requires-Dist: twine>=4.0.2; extra == 'dev'
|
|
26
|
+
Provides-Extra: doc
|
|
27
|
+
Requires-Dist: furo; extra == 'doc'
|
|
28
|
+
Requires-Dist: ipykernel; extra == 'doc'
|
|
29
|
+
Requires-Dist: ipython; extra == 'doc'
|
|
30
|
+
Requires-Dist: myst-nb; extra == 'doc'
|
|
31
|
+
Requires-Dist: sphinx; extra == 'doc'
|
|
32
|
+
Requires-Dist: sphinx-autodoc-typehints; extra == 'doc'
|
|
33
|
+
Requires-Dist: sphinx-book-theme; extra == 'doc'
|
|
34
|
+
Requires-Dist: sphinx-copybutton; extra == 'doc'
|
|
35
|
+
Requires-Dist: sphinxcontrib-bibtex; extra == 'doc'
|
|
36
|
+
Provides-Extra: test
|
|
37
|
+
Requires-Dist: pytest; extra == 'test'
|
|
38
|
+
Description-Content-Type: text/markdown
|
|
39
|
+
|
|
40
|
+
# Rectangle
|
|
41
|
+
|
|
42
|
+
[![Tests][badge-tests]][link-tests]
|
|
43
|
+
[![Documentation][badge-docs]][link-docs]
|
|
44
|
+
|
|
45
|
+
[badge-tests]: https://img.shields.io/github/actions/workflow/status/ComputationalBiomedicineGroup/Rectangle/build.yaml?branch=main
|
|
46
|
+
[link-tests]: https://github.com/ComputationalBiomedicineGroup/Rectangle/actions/workflows/build.yaml
|
|
47
|
+
[badge-docs]: https://img.shields.io/readthedocs/rectanglepy
|
|
48
|
+
|
|
49
|
+
Rectangle is an open-source Python package for single-cell-informed cell-type deconvolution of bulk and spatial transcriptomic data, which is part of the [scverse ecosystem](https://scverse.org/packages/).
|
|
50
|
+
|
|
51
|
+
Rectangle presents a novel approach to second-generation deconvolution, characterized by hierarchical signature building for fine-grained cell-type deconvolution, estimation and correction of unknown cellular content, and efficient handling of large-scale single-cell data during signature matrix computation.
|
|
52
|
+
|
|
53
|
+
Rectangle was developed to overcome the current challenges in cell-type deconvolution, providing a robust and accurate methodology while ensuring a low computational profile.
|
|
54
|
+
|
|
55
|
+
## Getting started
|
|
56
|
+
|
|
57
|
+
Please refer to the [documentation][link-docs]. In particular, the
|
|
58
|
+
|
|
59
|
+
- [Tutorials][link-docs/tutorials] for a step-by-step guide on how to use Rectangle, and the
|
|
60
|
+
|
|
61
|
+
- [API documentation][link-api].
|
|
62
|
+
|
|
63
|
+
## Installation
|
|
64
|
+
|
|
65
|
+
You need Python 3.10–3.12 installed on your system.
|
|
66
|
+
|
|
67
|
+
How to install Rectangle:
|
|
68
|
+
|
|
69
|
+
Install the latest release of `Rectangle` from `PyPI` <https://pypi.org/project/rectanglepy/>:
|
|
70
|
+
|
|
71
|
+
```bash
|
|
72
|
+
pip install rectanglepy
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
## License
|
|
76
|
+
|
|
77
|
+
Rectangle is dual-licensed: BSD-3-Clause OR Commercial.
|
|
78
|
+
|
|
79
|
+
### Open-source option: BSD-3-Clause
|
|
80
|
+
|
|
81
|
+
You may use, modify, and redistribute Rectangle, including in proprietary products, if you keep the copyright and license notices and do not use the authors’ names for endorsement.
|
|
82
|
+
|
|
83
|
+
See [LICENSE](LICENSE).
|
|
84
|
+
|
|
85
|
+
### Commercial option
|
|
86
|
+
|
|
87
|
+
For alternative terms, such as warranties, indemnities, dedicated support, SLAs, or redistribution without BSD notice requirements, contact innovation-psb@uibk.ac.at.
|
|
88
|
+
|
|
89
|
+
See [LICENSE-Commercial.md](LICENSE-Commercial.md).
|
|
90
|
+
|
|
91
|
+
## Release notes
|
|
92
|
+
|
|
93
|
+
See the [changelog][changelog].
|
|
94
|
+
|
|
95
|
+
## Contact
|
|
96
|
+
|
|
97
|
+
If you found a bug, please use the [issue tracker][issue-tracker].
|
|
98
|
+
|
|
99
|
+
For commercial licensing: **innovation-psb@uibk.ac.at**
|
|
100
|
+
|
|
101
|
+
## Citation
|
|
102
|
+
|
|
103
|
+
> If you use Rectangle in your project, please cite: (TBA)
|
|
104
|
+
|
|
105
|
+
[scverse-discourse]: https://discourse.scverse.org/
|
|
106
|
+
[issue-tracker]: https://github.com/ComputationalBiomedicineGroup/Rectangle/issues
|
|
107
|
+
[changelog]: https://rectanglepy.readthedocs.io/changelog.html
|
|
108
|
+
[link-docs]: https://Rectanglepy.readthedocs.io
|
|
109
|
+
[link-api]: https://rectanglepy.readthedocs.io/api.html
|
|
110
|
+
[link-docs/tutorials]: https://rectanglepy.readthedocs.io/notebooks/example.html
|
|
@@ -33,16 +33,21 @@ Install the latest release of `Rectangle` from `PyPI` <https://pypi.org/project/
|
|
|
33
33
|
pip install rectanglepy
|
|
34
34
|
```
|
|
35
35
|
|
|
36
|
-
##
|
|
36
|
+
## License
|
|
37
37
|
|
|
38
|
-
Rectangle is
|
|
38
|
+
Rectangle is dual-licensed: BSD-3-Clause OR Commercial.
|
|
39
39
|
|
|
40
|
-
|
|
41
|
-
→ Free to use, modify, and redistribute as long as modifications and redistributions are also under GPLv3.
|
|
40
|
+
### Open-source option: BSD-3-Clause
|
|
42
41
|
|
|
43
|
-
|
|
42
|
+
You may use, modify, and redistribute Rectangle, including in proprietary products, if you keep the copyright and license notices and do not use the authors’ names for endorsement.
|
|
44
43
|
|
|
45
|
-
|
|
44
|
+
See [LICENSE](LICENSE).
|
|
45
|
+
|
|
46
|
+
### Commercial option
|
|
47
|
+
|
|
48
|
+
For alternative terms, such as warranties, indemnities, dedicated support, SLAs, or redistribution without BSD notice requirements, contact innovation-psb@uibk.ac.at.
|
|
49
|
+
|
|
50
|
+
See [LICENSE-Commercial.md](LICENSE-Commercial.md).
|
|
46
51
|
|
|
47
52
|
## Release notes
|
|
48
53
|
|
|
@@ -4,7 +4,7 @@ We welcome contributions! The best way to contribute is by opening a pull reques
|
|
|
4
4
|
|
|
5
5
|
## Contributor License Agreement (CLA)
|
|
6
6
|
|
|
7
|
-
Rectangle uses a dual-licensing model (
|
|
7
|
+
Rectangle uses a dual-licensing model (BSD-3-Clause OR Commercial). By submitting a contribution (e.g., via pull request), you agree to the terms of our [Contributor License Agreement (CLA)](https://github.com/ComputationalBiomedicineGroup/Rectangle/blob/main/CLA.md). This ensures that contributions can be included in both the open-source and commercial versions of Rectangle.
|
|
8
8
|
|
|
9
9
|
## How to Contribute
|
|
10
10
|
|
|
@@ -4,11 +4,12 @@ requires = ["hatchling"]
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "rectanglepy"
|
|
7
|
-
version = "1.4.
|
|
7
|
+
version = "1.4.2"
|
|
8
8
|
description = "Hierarchical deconvolution of bulk transcriptomics"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.10"
|
|
11
|
-
license =
|
|
11
|
+
license = "BSD-3-Clause OR LicenseRef-Rectangle-Commercial"
|
|
12
|
+
license-files = ["LICENSE", "LICENSE-Commercial.md"]
|
|
12
13
|
authors = [
|
|
13
14
|
{name = "Bernhard Eder"},
|
|
14
15
|
]
|
rectanglepy-1.4.1/LICENCE_COM
DELETED
|
@@ -1,203 +0,0 @@
|
|
|
1
|
-
Rectangle - Open Source Version
|
|
2
|
-
|
|
3
|
-
Copyright (C) 2026 Francesca Finotello, Bernhard Eder
|
|
4
|
-
|
|
5
|
-
This programme is released under proprietary licence for commercial use
|
|
6
|
-
(for proprietary licences, contact: innovation-psb@uibk.ac.at), but can
|
|
7
|
-
be used for non commercial use under the following conditions:
|
|
8
|
-
|
|
9
|
-
For non commercial use open source licence GNU General Public Licence v3 (GPLv3)
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
Rectangle
|
|
13
|
-
|
|
14
|
-
Rectangle is an open-source Python package for single-cell-informed cell-type
|
|
15
|
-
deconvolution of bulk and spatial transcriptomic data.
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
## Licence
|
|
19
|
-
|
|
20
|
-
Rectangle is available under a **dual licence**:
|
|
21
|
-
|
|
22
|
-
- **Open source licence:** GNU General Public Licence v3 (GPLv3)
|
|
23
|
-
→ Free to use as long as modifications and redistributions are also under GPLv3.
|
|
24
|
-
|
|
25
|
-
- **Commercial licence:** For companies that want to use Rectangle in proprietary
|
|
26
|
-
or closed applications the following applies:
|
|
27
|
-
|
|
28
|
-
Rectangle - Commercial Licence Terms
|
|
29
|
-
|
|
30
|
-
Copyright (C) 2026 Francesca Finotello, Bernhard Eder
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
For all users who use Rectangle under GPL v3 the following shall apply:
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
Contributor License Agreement (CLA)
|
|
37
|
-
|
|
38
|
-
Purpose of this Agreement
|
|
39
|
-
|
|
40
|
-
The project is distributed under a dual-licensing model, consisting of:
|
|
41
|
-
an open source license (GNU General Public License, GPL), and
|
|
42
|
-
a proprietary license offered by the project owner.
|
|
43
|
-
The purpose of this Agreement is to ensure that contributions initially
|
|
44
|
-
submitted under the GPL can be lawfully reused, integrated, and distributed
|
|
45
|
-
under the proprietary license.
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
Definitions
|
|
49
|
-
|
|
50
|
-
"Contribution" means any source code, documentation, bug fix, enhancement,
|
|
51
|
-
or other work intentionally submitted by the Contributor for inclusion in
|
|
52
|
-
the project.
|
|
53
|
-
"Contributor" means the individual or legal entity submitting a Contribution.
|
|
54
|
-
"Project Owner" means Francesca Finotello and Bernhard Eder, who maintain
|
|
55
|
-
and license the project.
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
Authorship and Authority
|
|
59
|
-
|
|
60
|
-
The Contributor represents and warrants that:
|
|
61
|
-
they are the sole author of the Contribution or have all necessary rights
|
|
62
|
-
to submit it;
|
|
63
|
-
the Contribution does not infringe any third-party rights;
|
|
64
|
-
the Contribution is free of patents, licenses, or other restrictions that
|
|
65
|
-
would conflict with the rights granted under this Agreement.
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
Grant of Rights (Dual Licensing Grant)
|
|
69
|
-
|
|
70
|
-
The Contributor hereby grants the Project Owner a perpetual, worldwide,
|
|
71
|
-
irrevocable, non-exclusive, transferable license to:
|
|
72
|
-
use,
|
|
73
|
-
reproduce,
|
|
74
|
-
modify,
|
|
75
|
-
combine with other works,
|
|
76
|
-
publish,
|
|
77
|
-
sublicense,
|
|
78
|
-
and distribute
|
|
79
|
-
the Contribution, including but not limited to the right to license and
|
|
80
|
-
distribute the Contribution:
|
|
81
|
-
under the GNU General Public License (GPL), and
|
|
82
|
-
under one or more proprietary licenses, as determined at the sole discretion
|
|
83
|
-
of the Project Owner.
|
|
84
|
-
This grant explicitly includes the right to incorporate Contributions
|
|
85
|
-
originally submitted under the GPL version of the project into proprietary
|
|
86
|
-
versions of the project.
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
No Obligation to Disclose Proprietary Versions
|
|
90
|
-
|
|
91
|
-
The Contributor acknowledges that Contributions submitted under this
|
|
92
|
-
Agreement are not required to be disclosed, published, or distributed
|
|
93
|
-
under an open source license in the proprietary version of the project.
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
Retention of Copyright
|
|
97
|
-
|
|
98
|
-
The Contributor retains all copyrights in their Contribution. This Agreement
|
|
99
|
-
does not constitute a transfer of ownership, but rather a comprehensive
|
|
100
|
-
grant of rights.
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
Attribution
|
|
104
|
-
|
|
105
|
-
Unless otherwise agreed, the Project Owner may list the Contributor's name
|
|
106
|
-
in a list of contributors. There is no obligation to provide attribution.
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
No Compensation
|
|
110
|
-
|
|
111
|
-
Contributions are made voluntarily and without compensation. The Contributor
|
|
112
|
-
is not entitled to fees, royalties, or other remuneration.
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
Disclaimer of Warranty
|
|
116
|
-
|
|
117
|
-
The Contribution is provided "AS IS", without warranty of any kind, express
|
|
118
|
-
or implied, including but not limited to warranties of merchantability or
|
|
119
|
-
fitness for a particular purpose.
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
Governing Law
|
|
123
|
-
|
|
124
|
-
This Agreement shall be governed by the laws of Austria, excluding its
|
|
125
|
-
conflict of law provisions.
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
Entire Agreement
|
|
129
|
-
|
|
130
|
-
This Agreement constitutes the entire agreement between the Contributor
|
|
131
|
-
and the Project Owner regarding Contributions and supersedes all prior
|
|
132
|
-
agreements or understandings.
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
Acceptance
|
|
136
|
-
|
|
137
|
-
By submitting a Contribution, the Contributor confirms that they have read,
|
|
138
|
-
understood, and agreed to the terms of this Agreement.
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
This licence permits the use of Rectangle in proprietary or non-open projects
|
|
143
|
-
under the following conditions:
|
|
144
|
-
|
|
145
|
-
1. The licensee may use and distribute Rectangle in closed applications
|
|
146
|
-
without publishing the source code.
|
|
147
|
-
2. The licence is non-transferable and applies only to the licensed company.
|
|
148
|
-
3. Use is unlimited in time, provided that the licence fee has been paid in full.
|
|
149
|
-
4. Support and updates are optional and must be agreed separately.
|
|
150
|
-
5. Any use without a valid commercial licence is automatically subject to GPLv3.
|
|
151
|
-
|
|
152
|
-
For offers and pricing models: innovation-psb@uibk.ac.at
|
|
153
|
-
→ Please contact us at innovation-psb@uibk.ac.at to obtain a commercial licence.
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
For all users of rectangle the following applies:
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
Updates & Support
|
|
160
|
-
|
|
161
|
-
1. The copyright holder offers optional paid updates, maintenance and
|
|
162
|
-
technical support.
|
|
163
|
-
2. Without a support contract, there is no entitlement to future versions
|
|
164
|
-
or bug fixes.
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
Liability & Warranty
|
|
168
|
-
|
|
169
|
-
1. Rectangle is provided 'as is' without any express or implied warranty.
|
|
170
|
-
2. The rights holder is not liable for any damage, loss of data or
|
|
171
|
-
consequential damage resulting from use.
|
|
172
|
-
3. Liability is limited to a maximum of the licence fee paid.
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
Copyright & Ownership
|
|
176
|
-
|
|
177
|
-
1. Rectangle remains the intellectual property of the rights holder at
|
|
178
|
-
all times.
|
|
179
|
-
2. This licence does not transfer ownership, only rights of use.
|
|
180
|
-
3. Modifications or derivative works by the licensee remain the property
|
|
181
|
-
of the licensee, unless they are derived directly from Rectangle code.
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
Termination
|
|
185
|
-
|
|
186
|
-
1. This licence shall automatically expire if the licensee violates any
|
|
187
|
-
material terms of the agreement.
|
|
188
|
-
2. Upon termination, the licensee must delete all copies of the Rectangle
|
|
189
|
-
software and may no longer use it.
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
Miscellaneous
|
|
193
|
-
|
|
194
|
-
1. This licence is subject to the laws of Austria.
|
|
195
|
-
2. The place of jurisdiction is the registered office of the rights holder.
|
|
196
|
-
3. Amendments or additions must be made in writing.
|
|
197
|
-
4. Should any provision be invalid, the remaining provisions shall remain valid.
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
## Contact
|
|
201
|
-
|
|
202
|
-
**Authors:** Francesca Finotello, Bernhard Eder
|
|
203
|
-
**Email:** innovation-psb@uibk.ac.at
|