imclab / report-ligatel Goto Github PK
View Code? Open in Web Editor NEWThis project forked from alexksikes/report-ligatel
Some code which features a nice CGI python pattern.
License: GNU Affero General Public License v3.0
This project forked from alexksikes/report-ligatel
Some code which features a nice CGI python pattern.
License: GNU Affero General Public License v3.0
Old code (back July 2007) I wrote to fix the invoices at Ligatel. Could be usefull to see how to nicely write CGIs in Python. The CGI interface simply wraps a command line version of the program. The command line supports the following options: Usage: python report.py [options] month_num year Description: Monthly invoices report sorted by reseller, transaction type and dates. Display Options: -p, --period [from_date,to_date] : flexible time period -t, --totals : output totals -e, --header : output header -c, --csv : csv output format for exel -l, --html : html output -h, --help : this help message Filter Options: --credit_cards : paid by credit cards only --cash : paid by cash only --bradesco : paid by brandesco --paid : paid only --due : due only --over_due : over due invoices only Database Options: --columbia (default) : invoices from Columbia --brazil : invoices from Brazil --honduras : invoices from Honduras Exotic Options: -m, --email [email_1,...,email_n] : email report -s, --mini_search 'keywords' : filter results by keywords Examples: '1) python report.py 2 2007' * List all invoices from 01/02/2007 till 31/02/2007 '2) python report.py -p 12/03/2006,17/05/2007' * List all invoices from 12/03/2006 till 17/05/2007 '3) python report.py --email [email protected],[email protected] 2 2007 * Email invoices from 01/02/2007 till 31/02/2007 to mighel and alex
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.