I suggest you to use the scikit-learn package provided by Python (see link below). It is very easy to use and provides a NaiveBayes object that implement Naive Bayes methods. Naive Bayes methods are a set of supervised learning algorithms based on applying Bayes’ rule with the "naive” assumption of independence between every pair of features. If you want to classify the data into two classes, Naive Bayes is perfect for your purpose.
At the second link you find a tutorial on scikit-learn, and at the third link you find a video series to learn machine learning with Python (including Naive Bayes).