Giter Club home page Giter Club logo

pyash's Introduction

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.

pyash's People

Contributors

arthru avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.