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.

Files for pyteomics.cythonize, version 0.2.2
Filename, size File type Python version Upload date Hashes
Filename, size pyteomics.cythonize-0.2.2-cp36-cp36m-win_amd64.whl (314.4 kB) File type Wheel Python version cp36 Upload date Hashes View
Filename, size pyteomics.cythonize-0.2.2.tar.gz (181.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page