Skip to content

arthru/pyash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyash

A simple tool to manage simple accounting from a plain text file.

Purpose

The purpose of this tool is to manage accounting for the French speaking Python User Group (www.afpy.org).

We just wanted to manage accounting in a plain text file (just like ledger does, but without double entry accounting).

This project is just a set of tool we use in order to achieve that.

Dependencies

Pyash is written for Python3.

The only dependency is Jinja2, used to format text output.

pip install jinja2

How to

To transform a csv export to pyash :

python csv2pyash.py myfile.csv

This will output data in our format to standard output.

python pyash.py myfile.dat

That will output a balance of the different categories.

Format

Our data file is made of money moves.

A money move is composed of a date, an amount, a category and a description.

Here is an example :

2013/07/04 -100.00€ Category
    Description

The first line is composed of a date (formatted with '%Y/%m/%d'), a space, an amount (signed float and an € symbol), and a category.

The description is a block beginning with 4 spaces, it can be on multiple lines.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages