Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details β†’
Socket
Book a DemoInstallSign in
Socket

scoring-matrices

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

scoring-matrices - npm Package Compare versions

Comparing version
0.2.0
to
0.2.1
+16
-4
PKG-INFO
Metadata-Version: 2.1
Name: scoring-matrices
Version: 0.2.0
Version: 0.2.1
Summary: Dependency free, Cython-compatible scoring matrices to use with biological sequences.

@@ -81,4 +81,16 @@ Home-page: https://github.com/althonos/score-matrices

`scoring-matrices` is available for all modern Python versions (3.6+).
`scoring-matrices` can be installed directly from [PyPI](https://pypi.org/project/scoring-matrices/),
which hosts some pre-built wheels for the x86-64 architecture (Linux/OSX/Windows)
and the Aarch64 architecture (Linux/OSX), as well as the code required to
compile from source with Cython:
```console
$ pip install scoring-matrices
```
Otherwise, `scoring-matrices` is also available as a [Bioconda](https://bioconda.github.io/)
package:
```console
$ conda install bioconda::scoring-matrices
```
## πŸ’‘ Usage

@@ -114,4 +126,4 @@

cdef ScoringMatrix blosum = ScoringMatrix.from_name("BLOSUM62")
cdef const float* data = blosum.data() # dense array
cdef const float** matrix = blosum.matrix() # array of pointers
cdef const float* data = blosum.data_ptr() # dense array
cdef const float** matrix = blosum.matrix_ptr() # array of pointers
```

@@ -118,0 +130,0 @@ - Access the `ScoringMatrix` weights as a [typed memoryview](https://cython.readthedocs.io/en/latest/src/userguide/memoryviews.html)

+15
-3

@@ -45,4 +45,16 @@ # πŸ§¬πŸ”  `scoring-matrices` [![Stars](https://img.shields.io/github/stars/althonos/scoring-matrices.svg?style=social&maxAge=3600&label=Star)](https://github.com/althonos/scoring-matrices/stargazers)

`scoring-matrices` is available for all modern Python versions (3.6+).
`scoring-matrices` can be installed directly from [PyPI](https://pypi.org/project/scoring-matrices/),
which hosts some pre-built wheels for the x86-64 architecture (Linux/OSX/Windows)
and the Aarch64 architecture (Linux/OSX), as well as the code required to
compile from source with Cython:
```console
$ pip install scoring-matrices
```
Otherwise, `scoring-matrices` is also available as a [Bioconda](https://bioconda.github.io/)
package:
```console
$ conda install bioconda::scoring-matrices
```
## πŸ’‘ Usage

@@ -78,4 +90,4 @@

cdef ScoringMatrix blosum = ScoringMatrix.from_name("BLOSUM62")
cdef const float* data = blosum.data() # dense array
cdef const float** matrix = blosum.matrix() # array of pointers
cdef const float* data = blosum.data_ptr() # dense array
cdef const float** matrix = blosum.matrix_ptr() # array of pointers
```

@@ -82,0 +94,0 @@ - Access the `ScoringMatrix` weights as a [typed memoryview](https://cython.readthedocs.io/en/latest/src/userguide/memoryviews.html)

Metadata-Version: 2.1
Name: scoring-matrices
Version: 0.2.0
Version: 0.2.1
Summary: Dependency free, Cython-compatible scoring matrices to use with biological sequences.

@@ -81,4 +81,16 @@ Home-page: https://github.com/althonos/score-matrices

`scoring-matrices` is available for all modern Python versions (3.6+).
`scoring-matrices` can be installed directly from [PyPI](https://pypi.org/project/scoring-matrices/),
which hosts some pre-built wheels for the x86-64 architecture (Linux/OSX/Windows)
and the Aarch64 architecture (Linux/OSX), as well as the code required to
compile from source with Cython:
```console
$ pip install scoring-matrices
```
Otherwise, `scoring-matrices` is also available as a [Bioconda](https://bioconda.github.io/)
package:
```console
$ conda install bioconda::scoring-matrices
```
## πŸ’‘ Usage

@@ -114,4 +126,4 @@

cdef ScoringMatrix blosum = ScoringMatrix.from_name("BLOSUM62")
cdef const float* data = blosum.data() # dense array
cdef const float** matrix = blosum.matrix() # array of pointers
cdef const float* data = blosum.data_ptr() # dense array
cdef const float** matrix = blosum.matrix_ptr() # array of pointers
```

@@ -118,0 +130,0 @@ - Access the `ScoringMatrix` weights as a [typed memoryview](https://cython.readthedocs.io/en/latest/src/userguide/memoryviews.html)

@@ -1,2 +0,2 @@

__version__ = "0.2.0"
__version__ = "0.2.1"
__author__ = "Martin Larralde <martin.larralde@embl.de>"

@@ -3,0 +3,0 @@ __license__ = "MIT"

@@ -41,2 +41,6 @@ import typing

def __eq__(self, other: object) -> bool: ...
@property
def alphabet(self) -> str: ...
@property
def name(self) -> Optional[str]: ...
@typing.overload

@@ -43,0 +47,0 @@ def __getitem__(self, item: int) -> List[float]: ...