Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Spendings overview for Swedbank SE

Project Description

Pengar is a work in progress.


  • Get the code:

    git clone && cd pengar
  • Install python-virtualenv:

    sudo apt-get install python-virtualenv
    virtualenv . && source bin/activate
  • Install dependencies:

    python develop


$ pengar debug
Social security number: 9010240000
INFO:pengar.swedbank:Requesting CSRF token...
INFO:pengar.swedbank:Submitting SSN login form...
INFO:pengar.swedbank:Submitting code...
INFO:pengar.swedbank:Requesting accounts...
{{ account data }}
INFO:pengar.swedbank:Requesting account 1, page 1
INFO:pengar.swedbank:Requesting account 1, page 2
INFO:pengar.swedbank:Requesting account 1, page 3
{{ transaction data }}

or if you want to put the results in a database for easy querying:

$ pengar update


sqlite3 pengar.sqlite

and then you can execute queries on the data:

SELECT note,
FROM transaction
ORDER BY SUM(amount);
note sum count
Överföring Spar, 3k -6000 2 -1712 1
Bankomatuttag -1500 1

Thank you

  • Björn Sällarp whose code I inspected to get the URLs to Swedbank’s mobile site
  • requests authors, without you my code would have been twice as unreadable
Release History

Release History

This version
History Node


History Node


Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
pengar-0.1.1.tar.gz (1.9 kB) Copy SHA256 Checksum SHA256 Source Feb 7, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting