Coder Social home page Coder Social logo

fakturuj_pyco's Introduction

fakturuj_pyco

Generuje faktury z jsonu, pyco.

Vyhody:

  1. Muzes to editovat v oblibenem editoru.
  2. Je to zadarmo.
  3. Jestli se ti to nelibi tak ti furt zustane json soubor.

Jo a sorry za nazev, ale vzdycky kdyz jsem neco fakturoval tak jsem u toho hrozne nadaval.

Jak to nainstalovat?

$ pip3 install fakturuj_pyco --user
$ sudo apt-get install wkhtmltopdf

Jak to pouzivat?

$ fakturuj 2016_01.json 

Tohle vygeneruje pdfka s fakturama do aktualni slozky. Koukni se do slozky examples.

Priklad faktury:

{
      "number": "2016/01",
      "ico": "00029947",
      "due_days": 15,
      "date": "5.3.2016",
      "currency": "eur",
      "item_list": [
        {
          "title": "Fakturování v Excelu",
          "amount": 20,
          "cost": 150
        },
      ]
}

date je optional, lze pouzit libovolnej format ktery rozparsuje dateutil. ico parameter odkazuje na toho komu fakturujete, vsechny ostatni data se vytahnout z Aresu.

helf

usage: fakturuj [-h] [-o OUTPUT] [-t TEMPLATE] [-i INFO_FILE] json_file

Bleju faktury z jsonu.

positional arguments:
  json_file             jmeno souboru kde mas json

optional arguments:
  -h, --help            show this help message and exit
  -o OUTPUT, --output OUTPUT
                        kam to chces prdnout.
  -t TEMPLATE, --template TEMPLATE
                        vlastni jinja2 template na generovani faktury.
  -i INFO_FILE, --info_file INFO_FILE
                        soubor z informacema o tobe

fakturuj_pyco's People

Contributors

visgean avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

fakturuj_pyco's Issues

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.