Skip to content

A Python module for predicting transaction categorization

Notifications You must be signed in to change notification settings

web-slate/transactify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

transactify

A Python module for predicting transaction categorization

Step 1: Install Transactify

pip install transactify

Add Simple Transaction List.

from transactify import predict_categories


new_transactions = [
    "Book purchase from Bookstore ABC",
    "Lunch at Cafe XYZ",
    "Book movie ticket in website"
]

# Predict categories for new transactions
predicted_categories = predict_categories(new_transactions)

for transaction, category in zip(new_transactions, predicted_categories):
    print(f"Transaction: {transaction} --> Predicted Category: {category}")

Expected output

Transaction: Book purchase from Bookstore ABC --> Predicted Category: Online Payment
Transaction: Lunch at Cafe XYZ --> Predicted Category: Unknown
Transaction: Book movie ticket in website --> Predicted Category:  Online Payment

Demo

transactify-demo

About

A Python module for predicting transaction categorization

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages