Skip to content

AFPy/pyash

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyash

A 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 tools we use in order to achieve that.

How to

The easiest way to use Pyash is to install it in a virtual environment using Pipenv.

$ pipenv install -e .
$ pipenv run pyash -h

Dependencies

Pyash is written for Python3.

The only dependencies are Jinja2 used to format text output, and chut used to build the CLI.

Format

Our data file is made of money moves.

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

Here is an example :

2013/07/04 -100.00€ Check Category X
    Description
    Comment

The first line is composed of a date (formatted with '%Y/%m/%d'), an amount (signed float and an € symbol), a move kind (check, order, etc.), a category (used as a grouper in reports) and a status (X for executed, P for pending).

The description is a single line.

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

Tests

$ pipenv run python setup.py test

About

Outil de gestion de la comptabilité de l'AFPy

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%