eccLib 1.3.0
Python library for bioinformatics written in C
Loading...
Searching...
No Matches
eccLib.c File Reference

Main library file. More...

Include dependency graph for eccLib.c:

Functions

int main (int argc, char *argv[])
 Main function that initializes the Python interpreter and imports the eccLib module.
 

Variables

static PyMethodDef eccLibMethods []
 
struct PyModuleDef eccLibModule
 The eccLib module definition.
 

Detailed Description

Main library file.

This file initializes all the features according to the Python ABI.

Function Documentation

◆ main()

int main ( int argc,
char * argv[] )

Main function that initializes the Python interpreter and imports the eccLib module.

Parameters
argcthe number of arguments
argvthe arguments
Returns
0 on success

Variable Documentation

◆ eccLibMethods

PyMethodDef eccLibMethods[]
static
Initial value:
= {
{"parseFASTA", (PyCFunction)parseFasta, METH_KEYWORDS | METH_VARARGS,
parseFASTAdoc},
{"parseGTF", (PyCFunction)parseGTF, METH_KEYWORDS | METH_VARARGS,
parseGTFdoc},
{NULL}
}
PyObject * parseFasta(PyObject *self, PyObject *args, PyObject *restrict kwargs)
Python function that parses provided raw FASTA content.
Definition functions.c:352
PyObject * parseGTF(PyObject *restrict self, PyObject *restrict args, PyObject *restrict kwargs)
Python function for parsing raw GTF file contents.
Definition functions.c:457

◆ eccLibModule

struct PyModuleDef eccLibModule
Initial value:
= {
PyModuleDef_HEAD_INIT,
"eccLib",
moduledoc,
sizeof(struct eccLib_state),
.m_slots = NULL}
static PyMethodDef eccLibMethods[]
Definition eccLib.c:40
The state struct, returned by calling PyModule_GetState on the eccLib module.
Definition eccLib.h:33

The eccLib module definition.

This struct defines the eccLib module, including its name, version, and state initialization function.