Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Monzy

A Python data pipeline to fetch, transform, and process Monzo transactions and pot data from the Monzo API.

Table of Contents

Introduction

This project provides a data pipeline to interact with the Monzo API, retrieve transaction and pot data, transform it into a structured format, and process it for analysis or storage in a PostgreSQL database. It uses the monzo-API Python package developed by Peter MacDonald: https://github.com/petermcd/monzo-api

Features

  • Fetch Monzo transactions and pot data
  • Transform and normalize transaction data
  • Process transactions to prepare for analysis
  • Insert and query data in a PostgreSQL database
  • Environment configuration using .env files

Setup

Prerequisites

  • Python 3.8+
  • PostgreSQL database

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/monzy.git
    cd monzy
    
  2. Create and activate a virtual environment with Poetry:

    ./local-setup.sh
    
  3. Set up environment variables:

    Create a .env file in the root directory of the project and add your environment variables:

    DB_USERNAME=your_username
    DB_PASSWORD=your_password
    DB_HOST=your_host
    DB_NAME=your_database
    DB_PORT=your_port
    

Usage

Monzo API Token

...

Release files for monzy 0.2.7.dev0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for monzy 0.2.7.dev0
File Size Uploaded
monzy-0.2.7.dev0.tar.gz 10.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for monzy 0.2.7.dev0
File Interpreter ABI Platform
monzy-0.2.7.dev0-py3-none-any.whl Python 3 none any Details

Total release size: 21.9 kB

Release files / monzy-0.2.7.dev0.tar.gz

Download URL monzy-0.2.7.dev0.tar.gz
Size 10.4 kB
Tags Source
SHA-256 checksum
How to use checksums
d2f9741c80b39bf6e05a13fd66949f20502b8bc0a2d86ccb5c50f96432497785
BLAKE2b-256 checksum
How to use checksums
79aaace6c81514887e09dd7249607027f8c0f36c2521c7321bc75d77356bf4ed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.4 CPython/3.11.3 Darwin/24.0.0

Release files / monzy-0.2.7.dev0-py3-none-any.whl

Download URL monzy-0.2.7.dev0-py3-none-any.whl
Size 11.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
18e8daac849d7d770b7232568a4163064c0e6b4fd6681861b33c3e3dc225406f
BLAKE2b-256 checksum
How to use checksums
e1bbd8486a3f3e01816e5faf132119aa86a831107042ad4f8f33117acecf6676
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.4 CPython/3.11.3 Darwin/24.0.0
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page