monk-ee / nhdh Goto Github PK
View Code? Open in Web Editor NEWAWS Billing Stats Daily Summary Tool
License: Apache License 2.0
AWS Billing Stats Daily Summary Tool
License: Apache License 2.0
aws_access_key : '' #user access key
aws_secret_key : '' #user secret key
no longer used?
sqlalchemy.exc.OperationalError
Should it generate initial/default users? Sqlite db seems empty by default.
Best bug ever?
from datetime import datetime
from dateutil import parser
files = 'XXXXXXXXXXX-aws-billing-detailed-line-items-with-resources-and-tags-2014-02.csv'
datetime.now()
datetime.datetime(2014, 3, 31, 12, 24, 19, 899074)
parser.parse('-'.join(files.split('.')[0].split('-')[-2:])).strftime('%B %Y')
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python2.7/dist-packages/dateutil/parser.py", line 720, in parse
return DEFAULTPARSER.parse(timestr, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/dateutil/parser.py", line 317, in parse
ret = default.replace(**repl)
ValueError: day is out of range for month
Set the system clock to April 1st... works again!
datetime.now()
datetime.datetime(2014, 4, 1, 12, 24, 4, 545817)
parser.parse('-'.join(files.split('.')[0].split('-')[-2:])).strftime('%B %Y')
'February 2014'
Looks to be some sort of bug in the way dateutil parser works that effects February but only on March 31st o_0
Investigating a fix now
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.