Skip to main content

An Cython-accelerated version of common pyteomics functions

Project description

This package re-implements several of Pyteomics functions in C using Cython and the Python-C API. Currently, only commonly used functions in pyteomics.mass and pyteomics.parser are implemented, providing faster sequence manipulation and mass calculations. Every effort has been made to make the user-facing interfaces identical to their pure Python counterparts.

These functions are also exposed in the package’s C-API so that other C-Extensions can make use of them.

This package also re-implements the pyteomics.mass.Composition type in C using Python’s dict as a base.

API

This package provides two modules, pyteomics.cmass and pyteomics.cparser, which mimic a subset of the APIs of pyteomics.mass and pyteomics.parser respectively. For example:

from pyteomics import cmass, mass

assert cmass.fast_mass("PEPTIDE") == mass.fast_mass("PEPTIDE")

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyteomics.cythonize-0.2.4.tar.gz (289.8 kB view hashes)

Uploaded Source

Built Distributions

pyteomics.cythonize-0.2.4-cp39-cp39-win_amd64.whl (485.3 kB view hashes)

Uploaded CPython 3.9 Windows x86-64

pyteomics.cythonize-0.2.4-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (1.5 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.12+ x86-64 manylinux: glibc 2.5+ x86-64

pyteomics.cythonize-0.2.4-cp38-cp38-win_amd64.whl (485.8 kB view hashes)

Uploaded CPython 3.8 Windows x86-64

pyteomics.cythonize-0.2.4-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (1.6 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.12+ x86-64 manylinux: glibc 2.5+ x86-64

pyteomics.cythonize-0.2.4-cp37-cp37m-win_amd64.whl (479.6 kB view hashes)

Uploaded CPython 3.7m Windows x86-64

pyteomics.cythonize-0.2.4-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (1.3 MB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.12+ x86-64 manylinux: glibc 2.5+ x86-64

pyteomics.cythonize-0.2.4-cp36-cp36m-win_amd64.whl (479.4 kB view hashes)

Uploaded CPython 3.6m Windows x86-64

pyteomics.cythonize-0.2.4-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (1.4 MB view hashes)

Uploaded CPython 3.6m manylinux: glibc 2.12+ x86-64 manylinux: glibc 2.5+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page