Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython

pengar is unavailable in PyPM, because there aren't any builds for it in the package repositories. Click the linked icons to find out why.

 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
Windows (64-bit)
Mac OS X (10.5+)
Linux (32-bit)
Linux (64-bit)
0.1.1 Failed View build log
 
Links
Author
Lastest release
version 0.1.1 on Jan 9th, 2014

Pengar is a work in progress.

Installation

  • Get the code:

    System Message: ERROR/3 (<string>, line 19)

    Unknown directive type "code-block".

    .. code-block:: bash
    
        git clone https://github.com/joar/pengar.git && cd pengar
    
    
  • Install python-virtualenv:

    System Message: ERROR/3 (<string>, line 25)

    Unknown directive type "code-block".

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

    System Message: ERROR/3 (<string>, line 32)

    Unknown directive type "code-block".

    .. code-block:: bash
    
        python setup.py develop
    
    
    

Usage

System Message: ERROR/3 (<string>, line 41)

Unknown directive type "code-block".

.. code-block:: bash

    $ pengar debug
    Social security number: 9010240000
    Passcode:
    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:

System Message: ERROR/3 (<string>, line 58)

Unknown directive type "code-block".

.. code-block:: bash

    $ pengar update
    [...]

then

System Message: ERROR/3 (<string>, line 65)

Unknown directive type "code-block".

.. code-block:: bash

    sqlite3 pengar.sqlite

and then you can execute queries on the data:

System Message: ERROR/3 (<string>, line 71)

Unknown directive type "code-block".

.. code-block:: sql

    SELECT note,
        SUM(amount),
        COUNT(amount)
    FROM transaction
    GROUP BY note
    ORDER BY SUM(amount);

note sum count
ICA SUPERMARKET -6948 28
Överföring Spar, 3k -6000 2
Dalpay.is -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

Subscribe to package updates

Last updated Jan 9th, 2014

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.