Skip to main content

A Python module for predicting transaction categorization

Project description

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

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

transactify-0.1.0.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

transactify-0.1.0-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file transactify-0.1.0.tar.gz.

File metadata

  • Download URL: transactify-0.1.0.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.6

File hashes

Hashes for transactify-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8e12a3bc022afb500bf0a8f8ca8c031fa56f41cba218df6d1a9ccbb89c448c07
MD5 9a388d671bb55a6fa071602b04e82345
BLAKE2b-256 6ca6010487c7dca64eb8addce18d80dbc6444369f2d18a9c2033abdff27e851d

See more details on using hashes here.

File details

Details for the file transactify-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: transactify-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.6

File hashes

Hashes for transactify-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f9c0e378fb236ebdef94d7c52f8edd8cf9624c7ad1ab90b69da2ec4c83c4a21d
MD5 30436d08f404506c1f1737a688b7e2cf
BLAKE2b-256 f84d17ca2f4efdac914374a659557219b72a6e7a148dfa2134577cfb77931500

See more details on using hashes here.

Supported by

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