Skip to content

Linkid/rst2accounts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ReST to accounts

Build Status

Calculate totals per operations in your accounts using a ReST table.

Example

Your accounts look like that:

Month
-----

+======+===============+========+========+=============+
| Date |   Operation   | Debit  | Credit | Total month |
+======+===============+========+========+=============+
|  01  | A             |   1    |   /    |             |
|  02  | B             |  11    |   /    |             |
|  03  | C             | 111.1  |   /    |             |
|  04  | D             |   /    | 1111.11|             |
|  05  | E             |1111.01 |   /    |             |
+------+---------------+--------+--------+-------------+
|   /  | Total month   | 000.00 |  000.00|    000.00   |
+------+---------------+--------+--------+-------------+

and you would like to complete the last column and the last line. So, put it in a file and do:

>>> rst2accounts my_accounts.rst

Month
-----

+======+===============+========+========+=============+
| Date |   Operation   | Debit  | Credit | Total month |
+======+===============+========+========+=============+
|  01  | A             |   1    |   /    |     -1.0    |
|  02  | B             |  11    |   /    |    -12.0    |
|  03  | C             | 111.1  |   /    |   -123.1    |
|  04  | D             |   /    | 1111.11|    988.01   |
|  05  | E             |1111.01 |   /    |   -123.0    |
+------+---------------+--------+--------+-------------+
|   /  | Total month   |1234.11 | 1111.11|   -123.0    |
+------+---------------+--------+--------+-------------+

Easy, right?

About

Make operations in your ReST table accounts

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages