From 79c40d1d2867334fe49d727b8e483742d2cf0ef5 Mon Sep 17 00:00:00 2001 From: Lukas Ferreira Date: Tue, 16 Aug 2016 21:15:44 -0300 Subject: [PATCH] Adicionando Notebook sigi --- .DS_Store | Bin 0 -> 8196 bytes .../sigi-notebook-checkpoint.ipynb | 5792 +++++++++++++++++ .manage.py.swp | Bin 0 -> 12288 bytes dev.py | 113 + locale/.DS_Store | Bin 0 -> 6148 bytes output.xlsx | Bin 0 -> 12533 bytes sigi-notebook.ipynb | 2265 +++++++ sigi/.DS_Store | Bin 0 -> 8196 bytes sigi/settings/.DS_Store | Bin 0 -> 6148 bytes style-notebook.css | 5 + style-table.css | 30 + 11 files changed, 8205 insertions(+) create mode 100644 .DS_Store create mode 100644 .ipynb_checkpoints/sigi-notebook-checkpoint.ipynb create mode 100644 .manage.py.swp create mode 100644 dev.py create mode 100644 locale/.DS_Store create mode 100644 output.xlsx create mode 100644 sigi-notebook.ipynb create mode 100644 sigi/.DS_Store create mode 100644 sigi/settings/.DS_Store create mode 100644 style-notebook.css create mode 100644 style-table.css diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..b5ca9c4f218e93c12790a55318c2b9061c841759 GIT binary patch literal 8196 zcmeHMPfrs;6n{f2Y+DmnQA6Uv9yLJ%iqT^!U_v5FEJBPZcDn^um)+WK`4d9Yv!B4T z|G$ROBOgHTegJPC@%LtzW@o!_B9VldX6DV#yx)5>@4cDX*%FZ`x9xGFVIne+nVJO@ zDT(_z_oTk4Y< z;7nS8_lF`f(^5n`A(dMP3V8(p&7xT*)aA=RXptL0OA+ma6fH<1go1`p5nVAvbaxOT z9Q~z;zZ23BPC{yioJg~XZYUzUdWfQACs7KiF0}=;1$r&OclQigsY{w39&XCr~C$(Ia|D3-p*~sZ38$dxUxg=zz8l1KCIIYwI%tb;6_Hs0Qs;x!QatpB%exMfLe=uzpxy zKoEE9Rcq0yZ>^Y@rhG4`I$pgQgDx*Qp6zdy{kCVfmMfvWCC3idSIo=v&H5&w^Hs0D z=(HTmah+ht$mMcIZpFN^yE`^goEYC5DejKnx`+DR+Y@_x=DuNEy>Vx9?rCH1?fVZO zKYjl4_1kwjVG_~H0}X}G-SS7=9Pw4ywb3eCd1*4F+qhY2dam!Sp^YUE9U7EwA`E;P zeio=tui-d$_72(;i!y_tQrwsCN~u6X71>E!8VcqjFaf0V!cWs(Lw{OOZpVUhP?5o! zt!N`jLvxVE(K$KW4b0J%W5x-gE&^Vn%9snZC^xqzN?tUpm}l>PiM>@pvHf*A84F}W zF~fZSpE>&b|H&xRQnUrM1x}>}M0UC|UB=K3kH_RF`L10=eu>P9`8pw$5ESw{4w^+X m_jms=M7requirejs.config({paths: { 'plotly': ['https://cdn.plot.ly/plotly-latest.min']},});if(!window.Plotly) {{require(['plotly'],function(plotly) {window.Plotly=plotly;});}}" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/html": [ + "" + ], + "text/plain": [ + "" + ] + }, + "execution_count": 219, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "# Plots'offline and notebook's style configs\n", + "from IPython.core.display import HTML\n", + "from sigi.apps.servicos.models import Servico\n", + "from django.db import connection\n", + "from django.core.urlresolvers import reverse\n", + "from django.db.models import Q, Count\n", + "from django.core.urlresolvers import reverse\n", + "from django_pandas.io import read_frame\n", + "from plotly.offline import download_plotlyjs, init_notebook_mode, plot, iplot\n", + "import plotly \n", + "import plotly.plotly as py\n", + "import plotly.graph_objs as go\n", + "import pandas as pd\n", + "import numpy as np\n", + "import datetime\n", + "import calendar\n", + "import sys;\n", + "\n", + "sys.setdefaultencoding(\"utf8\")\n", + "init_notebook_mode(connected=True)\n", + "css = open('style-table.css').read() + open('style-notebook.css').read()\n", + "HTML(''.format(css))" + ] + }, + { + "cell_type": "code", + "execution_count": 237, + "metadata": { + "collapsed": false + }, + "outputs": [], + "source": [ + "''' Function defined on sigi/sigi/sigi/apps/home/views.py line 322 to line 364\n", + " All rights reserved.\n", + " Obs.: Added number of deactivated types of services per month/year.\n", + "'''\n", + "def busca_informacoes_seit(mes_atual=None):\n", + " if mes_atual is None:\n", + " mes_atual = datetime.date.today().replace(day=1)\n", + " mes_anterior = mes_atual - datetime.timedelta(days=1)\n", + " proximo_mes = mes_atual + datetime.timedelta(days=calendar.monthrange(mes_atual.year, mes_atual.month)[1])\n", + " \n", + " meses = []\n", + " mes = mes_atual\n", + " for i in range(1, 13):\n", + " meses.append(mes)\n", + " mes = (mes - datetime.timedelta(days=1)).replace(day=1)\n", + " \n", + " result = {\n", + " 'mes_atual': mes_atual,\n", + " 'mes_anterior': mes_anterior,\n", + " 'proximo_mes': proximo_mes,\n", + " 'servicos': [],\n", + " } \n", + "\n", + " for tipo_servico in TipoServico.objects.all():\n", + " result['servicos'].append(\n", + " {'nome': tipo_servico.nome,\n", + " 'total_desativados': tipo_servico.servico_set.filter(data_desativacao__year=mes_atual.year, data_desativacao__month=mes_atual.month).count(),\n", + " 'total': tipo_servico.servico_set.filter(Q(data_ativacao__lt=proximo_mes)&(Q(data_desativacao=None)|Q(data_desativacao__gt=proximo_mes))).count(),\n", + " 'novos_mes_anterior': tipo_servico.servico_set.filter(data_ativacao__year=mes_anterior.year, data_ativacao__month=mes_anterior.month).count(),\n", + " 'novos_mes_atual': tipo_servico.servico_set.filter(data_ativacao__year=mes_atual.year, data_ativacao__month=mes_atual.month).count(),\n", + " }\n", + " )\n", + "\n", + " return result" + ] + }, + { + "cell_type": "code", + "execution_count": 238, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "data": { + "text/plain": [ + "[{'mes_anterior': datetime.date(2008, 10, 31),\n", + " 'mes_atual': datetime.date(2008, 11, 1),\n", + " 'proximo_mes': datetime.date(2008, 12, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 1,\n", + " 'total': 1,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2008, 11, 30),\n", + " 'mes_atual': datetime.date(2008, 12, 1),\n", + " 'proximo_mes': datetime.date(2009, 1, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 1,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 1,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2008, 12, 31),\n", + " 'mes_atual': datetime.date(2009, 1, 1),\n", + " 'proximo_mes': datetime.date(2009, 2, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 2,\n", + " 'total': 3,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2009, 1, 31),\n", + " 'mes_atual': datetime.date(2009, 2, 1),\n", + " 'proximo_mes': datetime.date(2009, 3, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 2,\n", + " 'novos_mes_atual': 2,\n", + " 'total': 5,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2009, 2, 28),\n", + " 'mes_atual': datetime.date(2009, 3, 1),\n", + " 'proximo_mes': datetime.date(2009, 4, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 2,\n", + " 'novos_mes_atual': 6,\n", + " 'total': 11,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2009, 3, 31),\n", + " 'mes_atual': datetime.date(2009, 4, 1),\n", + " 'proximo_mes': datetime.date(2009, 5, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 6,\n", + " 'novos_mes_atual': 4,\n", + " 'total': 15,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2009, 4, 30),\n", + " 'mes_atual': datetime.date(2009, 5, 1),\n", + " 'proximo_mes': datetime.date(2009, 6, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 4,\n", + " 'novos_mes_atual': 8,\n", + " 'total': 23,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2009, 5, 31),\n", + " 'mes_atual': datetime.date(2009, 6, 1),\n", + " 'proximo_mes': datetime.date(2009, 7, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 8,\n", + " 'novos_mes_atual': 2,\n", + " 'total': 25,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2009, 6, 30),\n", + " 'mes_atual': datetime.date(2009, 7, 1),\n", + " 'proximo_mes': datetime.date(2009, 8, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 2,\n", + " 'novos_mes_atual': 6,\n", + " 'total': 31,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2009, 7, 31),\n", + " 'mes_atual': datetime.date(2009, 8, 1),\n", + " 'proximo_mes': datetime.date(2009, 9, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 6,\n", + " 'novos_mes_atual': 10,\n", + " 'total': 41,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2009, 8, 31),\n", + " 'mes_atual': datetime.date(2009, 9, 1),\n", + " 'proximo_mes': datetime.date(2009, 10, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 10,\n", + " 'novos_mes_atual': 2,\n", + " 'total': 43,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2009, 9, 30),\n", + " 'mes_atual': datetime.date(2009, 10, 1),\n", + " 'proximo_mes': datetime.date(2009, 11, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 2,\n", + " 'novos_mes_atual': 1,\n", + " 'total': 44,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2009, 10, 31),\n", + " 'mes_atual': datetime.date(2009, 11, 1),\n", + " 'proximo_mes': datetime.date(2009, 12, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 1,\n", + " 'novos_mes_atual': 3,\n", + " 'total': 47,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2009, 11, 30),\n", + " 'mes_atual': datetime.date(2009, 12, 1),\n", + " 'proximo_mes': datetime.date(2010, 1, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 3,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 47,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2009, 12, 31),\n", + " 'mes_atual': datetime.date(2010, 1, 1),\n", + " 'proximo_mes': datetime.date(2010, 2, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 1,\n", + " 'total': 48,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2010, 1, 31),\n", + " 'mes_atual': datetime.date(2010, 2, 1),\n", + " 'proximo_mes': datetime.date(2010, 3, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 1,\n", + " 'novos_mes_atual': 3,\n", + " 'total': 51,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2010, 2, 28),\n", + " 'mes_atual': datetime.date(2010, 3, 1),\n", + " 'proximo_mes': datetime.date(2010, 4, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 3,\n", + " 'novos_mes_atual': 2,\n", + " 'total': 53,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2010, 3, 31),\n", + " 'mes_atual': datetime.date(2010, 4, 1),\n", + " 'proximo_mes': datetime.date(2010, 5, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 2,\n", + " 'novos_mes_atual': 1,\n", + " 'total': 54,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2010, 4, 30),\n", + " 'mes_atual': datetime.date(2010, 5, 1),\n", + " 'proximo_mes': datetime.date(2010, 6, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 1,\n", + " 'novos_mes_atual': 3,\n", + " 'total': 57,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2010, 5, 31),\n", + " 'mes_atual': datetime.date(2010, 6, 1),\n", + " 'proximo_mes': datetime.date(2010, 7, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 3,\n", + " 'novos_mes_atual': 3,\n", + " 'total': 60,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2010, 6, 30),\n", + " 'mes_atual': datetime.date(2010, 7, 1),\n", + " 'proximo_mes': datetime.date(2010, 8, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 3,\n", + " 'novos_mes_atual': 1,\n", + " 'total': 61,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2010, 7, 31),\n", + " 'mes_atual': datetime.date(2010, 8, 1),\n", + " 'proximo_mes': datetime.date(2010, 9, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 1,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 61,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2010, 8, 31),\n", + " 'mes_atual': datetime.date(2010, 9, 1),\n", + " 'proximo_mes': datetime.date(2010, 10, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 61,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 3,\n", + " 'total': 3,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2010, 9, 30),\n", + " 'mes_atual': datetime.date(2010, 10, 1),\n", + " 'proximo_mes': datetime.date(2010, 11, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 1,\n", + " 'total': 62,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 3,\n", + " 'novos_mes_atual': 3,\n", + " 'total': 6,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2010, 10, 31),\n", + " 'mes_atual': datetime.date(2010, 11, 1),\n", + " 'proximo_mes': datetime.date(2010, 12, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 1,\n", + " 'novos_mes_atual': 4,\n", + " 'total': 66,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 3,\n", + " 'novos_mes_atual': 8,\n", + " 'total': 14,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2010, 11, 30),\n", + " 'mes_atual': datetime.date(2010, 12, 1),\n", + " 'proximo_mes': datetime.date(2011, 1, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 4,\n", + " 'novos_mes_atual': 4,\n", + " 'total': 70,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 8,\n", + " 'novos_mes_atual': 4,\n", + " 'total': 18,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2010, 12, 31),\n", + " 'mes_atual': datetime.date(2011, 1, 1),\n", + " 'proximo_mes': datetime.date(2011, 2, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 4,\n", + " 'novos_mes_atual': 3,\n", + " 'total': 73,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 4,\n", + " 'novos_mes_atual': 2,\n", + " 'total': 20,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2011, 1, 31),\n", + " 'mes_atual': datetime.date(2011, 2, 1),\n", + " 'proximo_mes': datetime.date(2011, 3, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 3,\n", + " 'novos_mes_atual': 4,\n", + " 'total': 77,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 2,\n", + " 'novos_mes_atual': 3,\n", + " 'total': 23,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2011, 2, 28),\n", + " 'mes_atual': datetime.date(2011, 3, 1),\n", + " 'proximo_mes': datetime.date(2011, 4, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 4,\n", + " 'novos_mes_atual': 3,\n", + " 'total': 80,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 3,\n", + " 'novos_mes_atual': 5,\n", + " 'total': 28,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2011, 3, 31),\n", + " 'mes_atual': datetime.date(2011, 4, 1),\n", + " 'proximo_mes': datetime.date(2011, 5, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 3,\n", + " 'novos_mes_atual': 1,\n", + " 'total': 81,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 5,\n", + " 'novos_mes_atual': 1,\n", + " 'total': 29,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2011, 4, 30),\n", + " 'mes_atual': datetime.date(2011, 5, 1),\n", + " 'proximo_mes': datetime.date(2011, 6, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 1,\n", + " 'novos_mes_atual': 30,\n", + " 'total': 111,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 1,\n", + " 'novos_mes_atual': 2,\n", + " 'total': 31,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2011, 5, 31),\n", + " 'mes_atual': datetime.date(2011, 6, 1),\n", + " 'proximo_mes': datetime.date(2011, 7, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 30,\n", + " 'novos_mes_atual': 21,\n", + " 'total': 132,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 2,\n", + " 'novos_mes_atual': 42,\n", + " 'total': 73,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2011, 6, 30),\n", + " 'mes_atual': datetime.date(2011, 7, 1),\n", + " 'proximo_mes': datetime.date(2011, 8, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 21,\n", + " 'novos_mes_atual': 18,\n", + " 'total': 150,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 42,\n", + " 'novos_mes_atual': 12,\n", + " 'total': 85,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2011, 7, 31),\n", + " 'mes_atual': datetime.date(2011, 8, 1),\n", + " 'proximo_mes': datetime.date(2011, 9, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 18,\n", + " 'novos_mes_atual': 13,\n", + " 'total': 163,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 12,\n", + " 'novos_mes_atual': 15,\n", + " 'total': 100,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2011, 8, 31),\n", + " 'mes_atual': datetime.date(2011, 9, 1),\n", + " 'proximo_mes': datetime.date(2011, 10, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 13,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 163,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 15,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 100,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2011, 9, 30),\n", + " 'mes_atual': datetime.date(2011, 10, 1),\n", + " 'proximo_mes': datetime.date(2011, 11, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 14,\n", + " 'total': 177,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 1,\n", + " 'total': 101,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2011, 10, 31),\n", + " 'mes_atual': datetime.date(2011, 11, 1),\n", + " 'proximo_mes': datetime.date(2011, 12, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 14,\n", + " 'novos_mes_atual': 7,\n", + " 'total': 184,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 1,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 101,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2011, 11, 30),\n", + " 'mes_atual': datetime.date(2011, 12, 1),\n", + " 'proximo_mes': datetime.date(2012, 1, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 7,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 184,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 2,\n", + " 'total': 103,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2011, 12, 31),\n", + " 'mes_atual': datetime.date(2012, 1, 1),\n", + " 'proximo_mes': datetime.date(2012, 2, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 3,\n", + " 'total': 187,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 2,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 103,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2012, 1, 31),\n", + " 'mes_atual': datetime.date(2012, 2, 1),\n", + " 'proximo_mes': datetime.date(2012, 3, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 3,\n", + " 'novos_mes_atual': 1,\n", + " 'total': 188,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 103,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2012, 2, 29),\n", + " 'mes_atual': datetime.date(2012, 3, 1),\n", + " 'proximo_mes': datetime.date(2012, 4, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 1,\n", + " 'novos_mes_atual': 1,\n", + " 'total': 189,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 1,\n", + " 'total': 104,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2012, 3, 31),\n", + " 'mes_atual': datetime.date(2012, 4, 1),\n", + " 'proximo_mes': datetime.date(2012, 5, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 1,\n", + " 'novos_mes_atual': 2,\n", + " 'total': 191,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 1,\n", + " 'novos_mes_atual': 6,\n", + " 'total': 110,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2012, 4, 30),\n", + " 'mes_atual': datetime.date(2012, 5, 1),\n", + " 'proximo_mes': datetime.date(2012, 6, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 2,\n", + " 'novos_mes_atual': 16,\n", + " 'total': 207,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 6,\n", + " 'novos_mes_atual': 6,\n", + " 'total': 116,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2012, 5, 31),\n", + " 'mes_atual': datetime.date(2012, 6, 1),\n", + " 'proximo_mes': datetime.date(2012, 7, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 16,\n", + " 'novos_mes_atual': 29,\n", + " 'total': 236,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 6,\n", + " 'novos_mes_atual': 2,\n", + " 'total': 118,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2012, 6, 30),\n", + " 'mes_atual': datetime.date(2012, 7, 1),\n", + " 'proximo_mes': datetime.date(2012, 8, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 29,\n", + " 'novos_mes_atual': 1,\n", + " 'total': 237,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 2,\n", + " 'novos_mes_atual': 2,\n", + " 'total': 120,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2012, 7, 31),\n", + " 'mes_atual': datetime.date(2012, 8, 1),\n", + " 'proximo_mes': datetime.date(2012, 9, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 1,\n", + " 'novos_mes_atual': 5,\n", + " 'total': 242,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 2,\n", + " 'novos_mes_atual': 51,\n", + " 'total': 171,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2012, 8, 31),\n", + " 'mes_atual': datetime.date(2012, 9, 1),\n", + " 'proximo_mes': datetime.date(2012, 10, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 5,\n", + " 'novos_mes_atual': 21,\n", + " 'total': 263,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 51,\n", + " 'novos_mes_atual': 23,\n", + " 'total': 194,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 1,\n", + " 'total': 1,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 6,\n", + " 'total': 6,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2012, 9, 30),\n", + " 'mes_atual': datetime.date(2012, 10, 1),\n", + " 'proximo_mes': datetime.date(2012, 11, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 21,\n", + " 'novos_mes_atual': 4,\n", + " 'total': 267,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 23,\n", + " 'novos_mes_atual': 2,\n", + " 'total': 196,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 1,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 1,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 6,\n", + " 'novos_mes_atual': 182,\n", + " 'total': 188,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2012, 10, 31),\n", + " 'mes_atual': datetime.date(2012, 11, 1),\n", + " 'proximo_mes': datetime.date(2012, 12, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 4,\n", + " 'novos_mes_atual': 4,\n", + " 'total': 271,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 2,\n", + " 'novos_mes_atual': 7,\n", + " 'total': 203,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 1,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 182,\n", + " 'novos_mes_atual': 6,\n", + " 'total': 194,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 5,\n", + " 'total': 5,\n", + " 'total_desativados': 0},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2012, 11, 30),\n", + " 'mes_atual': datetime.date(2012, 12, 1),\n", + " 'proximo_mes': datetime.date(2013, 1, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 4,\n", + " 'novos_mes_atual': 16,\n", + " 'total': 287,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 7,\n", + " 'novos_mes_atual': 31,\n", + " 'total': 234,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 1,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 6,\n", + " 'novos_mes_atual': 14,\n", + " 'total': 208,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 5,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 5,\n", + " 'total_desativados': 0},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2012, 12, 31),\n", + " 'mes_atual': datetime.date(2013, 1, 1),\n", + " 'proximo_mes': datetime.date(2013, 2, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 16,\n", + " 'novos_mes_atual': 9,\n", + " 'total': 296,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 31,\n", + " 'novos_mes_atual': 7,\n", + " 'total': 241,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 1,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 14,\n", + " 'novos_mes_atual': 8,\n", + " 'total': 216,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 5,\n", + " 'total_desativados': 0},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2013, 1, 31),\n", + " 'mes_atual': datetime.date(2013, 2, 1),\n", + " 'proximo_mes': datetime.date(2013, 3, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 9,\n", + " 'novos_mes_atual': 18,\n", + " 'total': 314,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 7,\n", + " 'novos_mes_atual': 11,\n", + " 'total': 252,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 1,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 8,\n", + " 'novos_mes_atual': 46,\n", + " 'total': 262,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 5,\n", + " 'total_desativados': 0},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2013, 2, 28),\n", + " 'mes_atual': datetime.date(2013, 3, 1),\n", + " 'proximo_mes': datetime.date(2013, 4, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 18,\n", + " 'novos_mes_atual': 15,\n", + " 'total': 329,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 11,\n", + " 'novos_mes_atual': 13,\n", + " 'total': 265,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 6,\n", + " 'total': 7,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 46,\n", + " 'novos_mes_atual': 31,\n", + " 'total': 293,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 151,\n", + " 'total': 149,\n", + " 'total_desativados': 7},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2013, 3, 31),\n", + " 'mes_atual': datetime.date(2013, 4, 1),\n", + " 'proximo_mes': datetime.date(2013, 5, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 15,\n", + " 'novos_mes_atual': 23,\n", + " 'total': 352,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 13,\n", + " 'novos_mes_atual': 15,\n", + " 'total': 280,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 6,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 7,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 31,\n", + " 'novos_mes_atual': 29,\n", + " 'total': 322,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 151,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 149,\n", + " 'total_desativados': 0},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2013, 4, 30),\n", + " 'mes_atual': datetime.date(2013, 5, 1),\n", + " 'proximo_mes': datetime.date(2013, 6, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 23,\n", + " 'novos_mes_atual': 21,\n", + " 'total': 371,\n", + " 'total_desativados': 2},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 15,\n", + " 'novos_mes_atual': 16,\n", + " 'total': 296,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 7,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 29,\n", + " 'novos_mes_atual': 41,\n", + " 'total': 363,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 149,\n", + " 'total_desativados': 0},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2013, 5, 31),\n", + " 'mes_atual': datetime.date(2013, 6, 1),\n", + " 'proximo_mes': datetime.date(2013, 7, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 21,\n", + " 'novos_mes_atual': 11,\n", + " 'total': 382,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 16,\n", + " 'novos_mes_atual': 11,\n", + " 'total': 307,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 5,\n", + " 'total': 12,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 41,\n", + " 'novos_mes_atual': 20,\n", + " 'total': 383,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 149,\n", + " 'total_desativados': 0},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2013, 6, 30),\n", + " 'mes_atual': datetime.date(2013, 7, 1),\n", + " 'proximo_mes': datetime.date(2013, 8, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 11,\n", + " 'novos_mes_atual': 14,\n", + " 'total': 393,\n", + " 'total_desativados': 4},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 11,\n", + " 'novos_mes_atual': 17,\n", + " 'total': 324,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 5,\n", + " 'novos_mes_atual': 7,\n", + " 'total': 19,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 20,\n", + " 'novos_mes_atual': 29,\n", + " 'total': 412,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 149,\n", + " 'total_desativados': 0},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2013, 7, 31),\n", + " 'mes_atual': datetime.date(2013, 8, 1),\n", + " 'proximo_mes': datetime.date(2013, 9, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 14,\n", + " 'novos_mes_atual': 11,\n", + " 'total': 401,\n", + " 'total_desativados': 2},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 17,\n", + " 'novos_mes_atual': 12,\n", + " 'total': 336,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 7,\n", + " 'novos_mes_atual': 2,\n", + " 'total': 21,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 29,\n", + " 'novos_mes_atual': 34,\n", + " 'total': 446,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 1,\n", + " 'total': 145,\n", + " 'total_desativados': 5},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2013, 8, 31),\n", + " 'mes_atual': datetime.date(2013, 9, 1),\n", + " 'proximo_mes': datetime.date(2013, 10, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 11,\n", + " 'novos_mes_atual': 9,\n", + " 'total': 410,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 12,\n", + " 'novos_mes_atual': 5,\n", + " 'total': 341,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 2,\n", + " 'novos_mes_atual': 1,\n", + " 'total': 22,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 34,\n", + " 'novos_mes_atual': 22,\n", + " 'total': 468,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 1,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 145,\n", + " 'total_desativados': 0},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2013, 9, 30),\n", + " 'mes_atual': datetime.date(2013, 10, 1),\n", + " 'proximo_mes': datetime.date(2013, 11, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 9,\n", + " 'novos_mes_atual': 12,\n", + " 'total': 421,\n", + " 'total_desativados': 1},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 5,\n", + " 'novos_mes_atual': 3,\n", + " 'total': 344,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 1,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 22,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 22,\n", + " 'novos_mes_atual': 13,\n", + " 'total': 481,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 2,\n", + " 'total': 146,\n", + " 'total_desativados': 1},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2013, 10, 31),\n", + " 'mes_atual': datetime.date(2013, 11, 1),\n", + " 'proximo_mes': datetime.date(2013, 12, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 12,\n", + " 'novos_mes_atual': 18,\n", + " 'total': 431,\n", + " 'total_desativados': 8},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 3,\n", + " 'novos_mes_atual': 11,\n", + " 'total': 355,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 2,\n", + " 'total': 24,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 13,\n", + " 'novos_mes_atual': 26,\n", + " 'total': 507,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 2,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 139,\n", + " 'total_desativados': 7},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2013, 11, 30),\n", + " 'mes_atual': datetime.date(2013, 12, 1),\n", + " 'proximo_mes': datetime.date(2014, 1, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 18,\n", + " 'novos_mes_atual': 5,\n", + " 'total': 436,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 11,\n", + " 'novos_mes_atual': 3,\n", + " 'total': 358,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 2,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 24,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 26,\n", + " 'novos_mes_atual': 10,\n", + " 'total': 517,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 139,\n", + " 'total_desativados': 0},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2013, 12, 31),\n", + " 'mes_atual': datetime.date(2014, 1, 1),\n", + " 'proximo_mes': datetime.date(2014, 2, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 5,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 436,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 3,\n", + " 'novos_mes_atual': 1,\n", + " 'total': 359,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 24,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 10,\n", + " 'novos_mes_atual': 1,\n", + " 'total': 518,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 139,\n", + " 'total_desativados': 0},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2014, 1, 31),\n", + " 'mes_atual': datetime.date(2014, 2, 1),\n", + " 'proximo_mes': datetime.date(2014, 3, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 13,\n", + " 'total': 449,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 1,\n", + " 'novos_mes_atual': 10,\n", + " 'total': 369,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 3,\n", + " 'total': 27,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 1,\n", + " 'novos_mes_atual': 20,\n", + " 'total': 538,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 139,\n", + " 'total_desativados': 0},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2014, 2, 28),\n", + " 'mes_atual': datetime.date(2014, 3, 1),\n", + " 'proximo_mes': datetime.date(2014, 4, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 13,\n", + " 'novos_mes_atual': 8,\n", + " 'total': 457,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 10,\n", + " 'novos_mes_atual': 5,\n", + " 'total': 374,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 3,\n", + " 'novos_mes_atual': 1,\n", + " 'total': 28,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 20,\n", + " 'novos_mes_atual': 13,\n", + " 'total': 551,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 1,\n", + " 'total': 140,\n", + " 'total_desativados': 0},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2014, 3, 31),\n", + " 'mes_atual': datetime.date(2014, 4, 1),\n", + " 'proximo_mes': datetime.date(2014, 5, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 8,\n", + " 'novos_mes_atual': 11,\n", + " 'total': 468,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 5,\n", + " 'novos_mes_atual': 12,\n", + " 'total': 386,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 1,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 28,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 13,\n", + " 'novos_mes_atual': 11,\n", + " 'total': 562,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 1,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 140,\n", + " 'total_desativados': 0},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2014, 4, 30),\n", + " 'mes_atual': datetime.date(2014, 5, 1),\n", + " 'proximo_mes': datetime.date(2014, 6, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 11,\n", + " 'novos_mes_atual': 5,\n", + " 'total': 473,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 12,\n", + " 'novos_mes_atual': 4,\n", + " 'total': 390,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 28,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 11,\n", + " 'novos_mes_atual': 4,\n", + " 'total': 566,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 140,\n", + " 'total_desativados': 0},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2014, 5, 31),\n", + " 'mes_atual': datetime.date(2014, 6, 1),\n", + " 'proximo_mes': datetime.date(2014, 7, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 5,\n", + " 'novos_mes_atual': 3,\n", + " 'total': 476,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 4,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 390,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 28,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 4,\n", + " 'novos_mes_atual': 1,\n", + " 'total': 567,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 140,\n", + " 'total_desativados': 0},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2014, 6, 30),\n", + " 'mes_atual': datetime.date(2014, 7, 1),\n", + " 'proximo_mes': datetime.date(2014, 8, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 3,\n", + " 'novos_mes_atual': 4,\n", + " 'total': 480,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 390,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 1,\n", + " 'total': 29,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 1,\n", + " 'novos_mes_atual': 5,\n", + " 'total': 572,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 140,\n", + " 'total_desativados': 0},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2014, 7, 31),\n", + " 'mes_atual': datetime.date(2014, 8, 1),\n", + " 'proximo_mes': datetime.date(2014, 9, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 4,\n", + " 'novos_mes_atual': 8,\n", + " 'total': 488,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 7,\n", + " 'total': 397,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 1,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 29,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 5,\n", + " 'novos_mes_atual': 10,\n", + " 'total': 582,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 140,\n", + " 'total_desativados': 0},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2014, 8, 31),\n", + " 'mes_atual': datetime.date(2014, 9, 1),\n", + " 'proximo_mes': datetime.date(2014, 10, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 8,\n", + " 'novos_mes_atual': 132,\n", + " 'total': 620,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 7,\n", + " 'novos_mes_atual': 5,\n", + " 'total': 402,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 29,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 10,\n", + " 'novos_mes_atual': 1,\n", + " 'total': 583,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 140,\n", + " 'total_desativados': 0},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2014, 9, 30),\n", + " 'mes_atual': datetime.date(2014, 10, 1),\n", + " 'proximo_mes': datetime.date(2014, 11, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 132,\n", + " 'novos_mes_atual': 65,\n", + " 'total': 683,\n", + " 'total_desativados': 2},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 5,\n", + " 'novos_mes_atual': 7,\n", + " 'total': 409,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 1,\n", + " 'total': 30,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 1,\n", + " 'novos_mes_atual': 50,\n", + " 'total': 633,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 140,\n", + " 'total_desativados': 0},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2014, 10, 31),\n", + " 'mes_atual': datetime.date(2014, 11, 1),\n", + " 'proximo_mes': datetime.date(2014, 12, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 65,\n", + " 'novos_mes_atual': 66,\n", + " 'total': 747,\n", + " 'total_desativados': 2},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 7,\n", + " 'novos_mes_atual': 31,\n", + " 'total': 439,\n", + " 'total_desativados': 1},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 1,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 30,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 50,\n", + " 'novos_mes_atual': 220,\n", + " 'total': 853,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 140,\n", + " 'total_desativados': 0},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2014, 11, 30),\n", + " 'mes_atual': datetime.date(2014, 12, 1),\n", + " 'proximo_mes': datetime.date(2015, 1, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 66,\n", + " 'novos_mes_atual': 28,\n", + " 'total': 775,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 31,\n", + " 'novos_mes_atual': 17,\n", + " 'total': 455,\n", + " 'total_desativados': 1},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 2,\n", + " 'total': 32,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 220,\n", + " 'novos_mes_atual': 27,\n", + " 'total': 880,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 140,\n", + " 'total_desativados': 0},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2014, 12, 31),\n", + " 'mes_atual': datetime.date(2015, 1, 1),\n", + " 'proximo_mes': datetime.date(2015, 2, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 28,\n", + " 'novos_mes_atual': 38,\n", + " 'total': 811,\n", + " 'total_desativados': 2},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 17,\n", + " 'novos_mes_atual': 10,\n", + " 'total': 464,\n", + " 'total_desativados': 1},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 2,\n", + " 'novos_mes_atual': 1,\n", + " 'total': 33,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 27,\n", + " 'novos_mes_atual': 41,\n", + " 'total': 921,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 140,\n", + " 'total_desativados': 0},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2015, 1, 31),\n", + " 'mes_atual': datetime.date(2015, 2, 1),\n", + " 'proximo_mes': datetime.date(2015, 3, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 38,\n", + " 'novos_mes_atual': 61,\n", + " 'total': 871,\n", + " 'total_desativados': 1},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 10,\n", + " 'novos_mes_atual': 8,\n", + " 'total': 471,\n", + " 'total_desativados': 1},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 1,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 33,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 41,\n", + " 'novos_mes_atual': 53,\n", + " 'total': 974,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 140,\n", + " 'total_desativados': 0},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2015, 2, 28),\n", + " 'mes_atual': datetime.date(2015, 3, 1),\n", + " 'proximo_mes': datetime.date(2015, 4, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 61,\n", + " 'novos_mes_atual': 47,\n", + " 'total': 918,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 8,\n", + " 'novos_mes_atual': 9,\n", + " 'total': 480,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 4,\n", + " 'total': 37,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 53,\n", + " 'novos_mes_atual': 34,\n", + " 'total': 1008,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 140,\n", + " 'total_desativados': 0},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2015, 3, 31),\n", + " 'mes_atual': datetime.date(2015, 4, 1),\n", + " 'proximo_mes': datetime.date(2015, 5, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 47,\n", + " 'novos_mes_atual': 54,\n", + " 'total': 969,\n", + " 'total_desativados': 3},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 9,\n", + " 'novos_mes_atual': 21,\n", + " 'total': 500,\n", + " 'total_desativados': 1},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 4,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 37,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 34,\n", + " 'novos_mes_atual': 37,\n", + " 'total': 1045,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 140,\n", + " 'total_desativados': 0},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2015, 4, 30),\n", + " 'mes_atual': datetime.date(2015, 5, 1),\n", + " 'proximo_mes': datetime.date(2015, 6, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 54,\n", + " 'novos_mes_atual': 62,\n", + " 'total': 1029,\n", + " 'total_desativados': 2},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 21,\n", + " 'novos_mes_atual': 40,\n", + " 'total': 540,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 2,\n", + " 'total': 39,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 37,\n", + " 'novos_mes_atual': 53,\n", + " 'total': 1098,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 140,\n", + " 'total_desativados': 0},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2015, 5, 31),\n", + " 'mes_atual': datetime.date(2015, 6, 1),\n", + " 'proximo_mes': datetime.date(2015, 7, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 62,\n", + " 'novos_mes_atual': 47,\n", + " 'total': 1075,\n", + " 'total_desativados': 1},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 40,\n", + " 'novos_mes_atual': 41,\n", + " 'total': 581,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 2,\n", + " 'novos_mes_atual': 2,\n", + " 'total': 41,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 53,\n", + " 'novos_mes_atual': 36,\n", + " 'total': 1134,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 140,\n", + " 'total_desativados': 0},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2015, 6, 30),\n", + " 'mes_atual': datetime.date(2015, 7, 1),\n", + " 'proximo_mes': datetime.date(2015, 8, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 47,\n", + " 'novos_mes_atual': 22,\n", + " 'total': 1095,\n", + " 'total_desativados': 2},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 41,\n", + " 'novos_mes_atual': 15,\n", + " 'total': 596,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 2,\n", + " 'novos_mes_atual': 1,\n", + " 'total': 42,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 36,\n", + " 'novos_mes_atual': 17,\n", + " 'total': 1151,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 140,\n", + " 'total_desativados': 0},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2015, 7, 31),\n", + " 'mes_atual': datetime.date(2015, 8, 1),\n", + " 'proximo_mes': datetime.date(2015, 9, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 22,\n", + " 'novos_mes_atual': 114,\n", + " 'total': 1205,\n", + " 'total_desativados': 4},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 15,\n", + " 'novos_mes_atual': 37,\n", + " 'total': 633,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 1,\n", + " 'novos_mes_atual': 1,\n", + " 'total': 43,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 17,\n", + " 'novos_mes_atual': 105,\n", + " 'total': 1256,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 140,\n", + " 'total_desativados': 0},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2015, 8, 31),\n", + " 'mes_atual': datetime.date(2015, 9, 1),\n", + " 'proximo_mes': datetime.date(2015, 10, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 114,\n", + " 'novos_mes_atual': 33,\n", + " 'total': 1238,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 37,\n", + " 'novos_mes_atual': 17,\n", + " 'total': 650,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 1,\n", + " 'novos_mes_atual': 5,\n", + " 'total': 48,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 105,\n", + " 'novos_mes_atual': 42,\n", + " 'total': 1297,\n", + " 'total_desativados': 1},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 140,\n", + " 'total_desativados': 0},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2015, 9, 30),\n", + " 'mes_atual': datetime.date(2015, 10, 1),\n", + " 'proximo_mes': datetime.date(2015, 11, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 33,\n", + " 'novos_mes_atual': 62,\n", + " 'total': 1299,\n", + " 'total_desativados': 1},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 17,\n", + " 'novos_mes_atual': 19,\n", + " 'total': 669,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 5,\n", + " 'novos_mes_atual': 3,\n", + " 'total': 51,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 42,\n", + " 'novos_mes_atual': 62,\n", + " 'total': 1358,\n", + " 'total_desativados': 1},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 140,\n", + " 'total_desativados': 0},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 2,\n", + " 'total': 2,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2015, 10, 31),\n", + " 'mes_atual': datetime.date(2015, 11, 1),\n", + " 'proximo_mes': datetime.date(2015, 12, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 62,\n", + " 'novos_mes_atual': 28,\n", + " 'total': 1327,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 19,\n", + " 'novos_mes_atual': 8,\n", + " 'total': 677,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 3,\n", + " 'novos_mes_atual': 2,\n", + " 'total': 53,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 62,\n", + " 'novos_mes_atual': 41,\n", + " 'total': 1399,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 140,\n", + " 'total_desativados': 0},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 2,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 2,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2015, 11, 30),\n", + " 'mes_atual': datetime.date(2015, 12, 1),\n", + " 'proximo_mes': datetime.date(2016, 1, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 28,\n", + " 'novos_mes_atual': 15,\n", + " 'total': 1339,\n", + " 'total_desativados': 3},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 8,\n", + " 'novos_mes_atual': 8,\n", + " 'total': 685,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 2,\n", + " 'novos_mes_atual': 1,\n", + " 'total': 54,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 41,\n", + " 'novos_mes_atual': 17,\n", + " 'total': 1415,\n", + " 'total_desativados': 1},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 140,\n", + " 'total_desativados': 0},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 2,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2015, 12, 31),\n", + " 'mes_atual': datetime.date(2016, 1, 1),\n", + " 'proximo_mes': datetime.date(2016, 2, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 15,\n", + " 'novos_mes_atual': 15,\n", + " 'total': 1353,\n", + " 'total_desativados': 1},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 8,\n", + " 'novos_mes_atual': 2,\n", + " 'total': 687,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 1,\n", + " 'novos_mes_atual': 1,\n", + " 'total': 55,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 17,\n", + " 'novos_mes_atual': 15,\n", + " 'total': 1430,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 140,\n", + " 'total_desativados': 0},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 2,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2016, 1, 31),\n", + " 'mes_atual': datetime.date(2016, 2, 1),\n", + " 'proximo_mes': datetime.date(2016, 3, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 15,\n", + " 'novos_mes_atual': 22,\n", + " 'total': 1374,\n", + " 'total_desativados': 1},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 2,\n", + " 'novos_mes_atual': 8,\n", + " 'total': 695,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 1,\n", + " 'novos_mes_atual': 1,\n", + " 'total': 56,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 15,\n", + " 'novos_mes_atual': 23,\n", + " 'total': 1453,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 140,\n", + " 'total_desativados': 0},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 2,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2016, 2, 29),\n", + " 'mes_atual': datetime.date(2016, 3, 1),\n", + " 'proximo_mes': datetime.date(2016, 4, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 22,\n", + " 'novos_mes_atual': 27,\n", + " 'total': 1398,\n", + " 'total_desativados': 3},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 8,\n", + " 'novos_mes_atual': 8,\n", + " 'total': 703,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 1,\n", + " 'novos_mes_atual': 1,\n", + " 'total': 57,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 23,\n", + " 'novos_mes_atual': 28,\n", + " 'total': 1481,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 140,\n", + " 'total_desativados': 0},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 2,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2016, 3, 31),\n", + " 'mes_atual': datetime.date(2016, 4, 1),\n", + " 'proximo_mes': datetime.date(2016, 5, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 27,\n", + " 'novos_mes_atual': 16,\n", + " 'total': 1412,\n", + " 'total_desativados': 2},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 8,\n", + " 'novos_mes_atual': 10,\n", + " 'total': 712,\n", + " 'total_desativados': 1},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 1,\n", + " 'novos_mes_atual': 1,\n", + " 'total': 58,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 28,\n", + " 'novos_mes_atual': 21,\n", + " 'total': 1501,\n", + " 'total_desativados': 1},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 140,\n", + " 'total_desativados': 0},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 2,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2016, 4, 30),\n", + " 'mes_atual': datetime.date(2016, 5, 1),\n", + " 'proximo_mes': datetime.date(2016, 6, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 16,\n", + " 'novos_mes_atual': 21,\n", + " 'total': 1433,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 10,\n", + " 'novos_mes_atual': 85,\n", + " 'total': 797,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 1,\n", + " 'novos_mes_atual': 1,\n", + " 'total': 59,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 21,\n", + " 'novos_mes_atual': 32,\n", + " 'total': 1533,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 140,\n", + " 'total_desativados': 0},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 2,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2016, 5, 31),\n", + " 'mes_atual': datetime.date(2016, 6, 1),\n", + " 'proximo_mes': datetime.date(2016, 7, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 21,\n", + " 'novos_mes_atual': 28,\n", + " 'total': 1460,\n", + " 'total_desativados': 1},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 85,\n", + " 'novos_mes_atual': 13,\n", + " 'total': 810,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 1,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 59,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 32,\n", + " 'novos_mes_atual': 44,\n", + " 'total': 1576,\n", + " 'total_desativados': 1},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 140,\n", + " 'total_desativados': 0},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 2,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2016, 6, 30),\n", + " 'mes_atual': datetime.date(2016, 7, 1),\n", + " 'proximo_mes': datetime.date(2016, 8, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 28,\n", + " 'novos_mes_atual': 37,\n", + " 'total': 1497,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 13,\n", + " 'novos_mes_atual': 30,\n", + " 'total': 840,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 59,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 44,\n", + " 'novos_mes_atual': 31,\n", + " 'total': 1607,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 140,\n", + " 'total_desativados': 0},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 2,\n", + " 'total_desativados': 0}]},\n", + " {'mes_anterior': datetime.date(2016, 7, 31),\n", + " 'mes_atual': datetime.date(2016, 8, 1),\n", + " 'proximo_mes': datetime.date(2016, 9, 1),\n", + " 'servicos': [{'nome': u'Portal Modelo',\n", + " 'novos_mes_anterior': 37,\n", + " 'novos_mes_atual': 2,\n", + " 'total': 1498,\n", + " 'total_desativados': 1},\n", + " {'nome': u'SAPL',\n", + " 'novos_mes_anterior': 30,\n", + " 'novos_mes_atual': 9,\n", + " 'total': 849,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SAAP',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 59,\n", + " 'total_desativados': 0},\n", + " {'nome': u'SPDO',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 0,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dom\\xednio .LEG.br',\n", + " 'novos_mes_anterior': 31,\n", + " 'novos_mes_atual': 3,\n", + " 'total': 1610,\n", + " 'total_desativados': 0},\n", + " {'nome': u'Dominio .GOV.br',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 140,\n", + " 'total_desativados': 0},\n", + " {'nome': u'DNS Reverso',\n", + " 'novos_mes_anterior': 0,\n", + " 'novos_mes_atual': 0,\n", + " 'total': 2,\n", + " 'total_desativados': 0}]}]" + ] + }, + "execution_count": 238, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "# Define periods for data frame's indexes and variables\n", + "di = pd.date_range('2008-11', periods=((datetime.date.today().year - datetime.date(2008,11, 30).year) * 12) - (12 - datetime.date.today().month - 2), freq='M')\n", + "period = {}\n", + "period_formated = []\n", + "tabela_resumo_seit = []\n", + "services_names = []\n", + "services_names = []\n", + "period['year'] = di.year\n", + "period['month'] = di.month\n", + "dataframe_data = []\n", + "# Build of the data frame's data as a dictionary\n", + "for i in range(0, len(period['year'])):\n", + " period_formated.append('{year}/{month}'.format(year = str(period['year'][i]), month = str(period['month'][i])))\n", + " try:\n", + " mes = datetime.date(year=period['year'][i], month=period['month'][i], day=1)\n", + " tabela_resumo_seit.append(busca_informacoes_seit(mes))\n", + " except:\n", + " tabela_resumo_seit.append(busca_informacoes_seit())\n", + "# Build of services_names\n", + "for i in range (0,6):\n", + " services_names.append(str(tabela_resumo_seit[0]['servicos'][i]['nome']))\n", + "services_names[4] = 'Dominio .LEG.br'\n", + " \n", + "tabela_resumo_seit " + ] + }, + { + "cell_type": "code", + "execution_count": 369, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
Dominio.GOV.br(Ativados)Dominio.GOV.br(Ativos)Dominio.GOV.br(Desativados)Dominio.Leg.br(Ativados)Dominio.Leg.br(Ativos)Dominio.Leg.br(Desativados)PortalModelo(Ativados)PortalModelo(Ativos)PortalModelo(Desativados)SAAP(Ativados)SAAP(Ativos)SAAP(Desativados)SAPL(Ativados)SAPL(Ativos)SAPL(Desativados)SPDO(Ativados)SPDO(Ativos)SPDO(Desativados)
2008/11000000110000000000
2008/12000000010000000000
2009/1000000230000000000
2009/2000000250000000000
2009/30000006110000000000
2009/40000004150000000000
2009/50000008230000000000
2009/60000002250000000000
2009/70000006310000000000
2009/800000010410000000000
2009/90000002430000000000
2009/100000001440000000000
2009/110000003470000000000
2009/120000000470000000000
2010/10000001480000000000
2010/20000003510000000000
2010/30000002530000000000
2010/40000001540000000000
2010/50000003570000000000
2010/60000003600000000000
2010/70000001610000000000
2010/80000000610000000000
2010/90000000610000330000
2010/100000001620000360000
2010/1100000046600008140000
2010/1200000047000004180000
2011/100000037300002200000
2011/200000047700003230000
2011/300000038000005280000
2011/400000018100001290000
.........................................................
2014/31140013551084570128053740000
2014/4014001156201146800280123860000
2014/5014004566054730028043900000
2014/6014001567034760028003900000
2014/7014005572044800129003900000
2014/80140010582084880029073970000
2014/901400158301326200029054020000
2014/1001400506330656832130074090000
2014/110140022085306674720300314391000
2014/12014002788002877502320174551000
2015/1014004192103881121330104641000
2015/201400539740618711033084711000
2015/3014003410080479180437094800000
2015/40140037104505496930370215001000
2015/501400531098062102922390405400000
2015/601400361134047107512410415810000
2015/701400171151022109521420155960000
2015/80140010512560114120541430376330000
2015/901400421297133123805480176500000
2015/1001400621358162129913510196690000
2015/110140041139902813270253086770000
2015/120140017141511513393154086850000
2016/10140015143001513531155026870000
2016/20140023145302213741156086950000
2016/30140028148102713983157087030000
2016/401400211501116141221580107121000
2016/501400321533021143301590857970000
2016/601400441576128146010590138100000
2016/701400311607037149700590308400000
2016/801400316100214981059098490000
\n", + "

94 rows × 18 columns

\n", + "
" + ], + "text/plain": [ + " Dominio.GOV.br(Ativados) Dominio.GOV.br(Ativos) \\\n", + "2008/11 0 0 \n", + "2008/12 0 0 \n", + "2009/1 0 0 \n", + "2009/2 0 0 \n", + "2009/3 0 0 \n", + "2009/4 0 0 \n", + "2009/5 0 0 \n", + "2009/6 0 0 \n", + "2009/7 0 0 \n", + "2009/8 0 0 \n", + "2009/9 0 0 \n", + "2009/10 0 0 \n", + "2009/11 0 0 \n", + "2009/12 0 0 \n", + "2010/1 0 0 \n", + "2010/2 0 0 \n", + "2010/3 0 0 \n", + "2010/4 0 0 \n", + "2010/5 0 0 \n", + "2010/6 0 0 \n", + "2010/7 0 0 \n", + "2010/8 0 0 \n", + "2010/9 0 0 \n", + "2010/10 0 0 \n", + "2010/11 0 0 \n", + "2010/12 0 0 \n", + "2011/1 0 0 \n", + "2011/2 0 0 \n", + "2011/3 0 0 \n", + "2011/4 0 0 \n", + "... ... ... \n", + "2014/3 1 140 \n", + "2014/4 0 140 \n", + "2014/5 0 140 \n", + "2014/6 0 140 \n", + "2014/7 0 140 \n", + "2014/8 0 140 \n", + "2014/9 0 140 \n", + "2014/10 0 140 \n", + "2014/11 0 140 \n", + "2014/12 0 140 \n", + "2015/1 0 140 \n", + "2015/2 0 140 \n", + "2015/3 0 140 \n", + "2015/4 0 140 \n", + "2015/5 0 140 \n", + "2015/6 0 140 \n", + "2015/7 0 140 \n", + "2015/8 0 140 \n", + "2015/9 0 140 \n", + "2015/10 0 140 \n", + "2015/11 0 140 \n", + "2015/12 0 140 \n", + "2016/1 0 140 \n", + "2016/2 0 140 \n", + "2016/3 0 140 \n", + "2016/4 0 140 \n", + "2016/5 0 140 \n", + "2016/6 0 140 \n", + "2016/7 0 140 \n", + "2016/8 0 140 \n", + "\n", + " Dominio.GOV.br(Desativados) Dominio.Leg.br(Ativados) \\\n", + "2008/11 0 0 \n", + "2008/12 0 0 \n", + "2009/1 0 0 \n", + "2009/2 0 0 \n", + "2009/3 0 0 \n", + "2009/4 0 0 \n", + "2009/5 0 0 \n", + "2009/6 0 0 \n", + "2009/7 0 0 \n", + "2009/8 0 0 \n", + "2009/9 0 0 \n", + "2009/10 0 0 \n", + "2009/11 0 0 \n", + "2009/12 0 0 \n", + "2010/1 0 0 \n", + "2010/2 0 0 \n", + "2010/3 0 0 \n", + "2010/4 0 0 \n", + "2010/5 0 0 \n", + "2010/6 0 0 \n", + "2010/7 0 0 \n", + "2010/8 0 0 \n", + "2010/9 0 0 \n", + "2010/10 0 0 \n", + "2010/11 0 0 \n", + "2010/12 0 0 \n", + "2011/1 0 0 \n", + "2011/2 0 0 \n", + "2011/3 0 0 \n", + "2011/4 0 0 \n", + "... ... ... \n", + "2014/3 0 13 \n", + "2014/4 0 11 \n", + "2014/5 0 4 \n", + "2014/6 0 1 \n", + "2014/7 0 5 \n", + "2014/8 0 10 \n", + "2014/9 0 1 \n", + "2014/10 0 50 \n", + "2014/11 0 220 \n", + "2014/12 0 27 \n", + "2015/1 0 41 \n", + "2015/2 0 53 \n", + "2015/3 0 34 \n", + "2015/4 0 37 \n", + "2015/5 0 53 \n", + "2015/6 0 36 \n", + "2015/7 0 17 \n", + "2015/8 0 105 \n", + "2015/9 0 42 \n", + "2015/10 0 62 \n", + "2015/11 0 41 \n", + "2015/12 0 17 \n", + "2016/1 0 15 \n", + "2016/2 0 23 \n", + "2016/3 0 28 \n", + "2016/4 0 21 \n", + "2016/5 0 32 \n", + "2016/6 0 44 \n", + "2016/7 0 31 \n", + "2016/8 0 3 \n", + "\n", + " Dominio.Leg.br(Ativos) Dominio.Leg.br(Desativados) \\\n", + "2008/11 0 0 \n", + "2008/12 0 0 \n", + "2009/1 0 0 \n", + "2009/2 0 0 \n", + "2009/3 0 0 \n", + "2009/4 0 0 \n", + "2009/5 0 0 \n", + "2009/6 0 0 \n", + "2009/7 0 0 \n", + "2009/8 0 0 \n", + "2009/9 0 0 \n", + "2009/10 0 0 \n", + "2009/11 0 0 \n", + "2009/12 0 0 \n", + "2010/1 0 0 \n", + "2010/2 0 0 \n", + "2010/3 0 0 \n", + "2010/4 0 0 \n", + "2010/5 0 0 \n", + "2010/6 0 0 \n", + "2010/7 0 0 \n", + "2010/8 0 0 \n", + "2010/9 0 0 \n", + "2010/10 0 0 \n", + "2010/11 0 0 \n", + "2010/12 0 0 \n", + "2011/1 0 0 \n", + "2011/2 0 0 \n", + "2011/3 0 0 \n", + "2011/4 0 0 \n", + "... ... ... \n", + "2014/3 551 0 \n", + "2014/4 562 0 \n", + "2014/5 566 0 \n", + "2014/6 567 0 \n", + "2014/7 572 0 \n", + "2014/8 582 0 \n", + "2014/9 583 0 \n", + "2014/10 633 0 \n", + "2014/11 853 0 \n", + "2014/12 880 0 \n", + "2015/1 921 0 \n", + "2015/2 974 0 \n", + "2015/3 1008 0 \n", + "2015/4 1045 0 \n", + "2015/5 1098 0 \n", + "2015/6 1134 0 \n", + "2015/7 1151 0 \n", + "2015/8 1256 0 \n", + "2015/9 1297 1 \n", + "2015/10 1358 1 \n", + "2015/11 1399 0 \n", + "2015/12 1415 1 \n", + "2016/1 1430 0 \n", + "2016/2 1453 0 \n", + "2016/3 1481 0 \n", + "2016/4 1501 1 \n", + "2016/5 1533 0 \n", + "2016/6 1576 1 \n", + "2016/7 1607 0 \n", + "2016/8 1610 0 \n", + "\n", + " PortalModelo(Ativados) PortalModelo(Ativos) \\\n", + "2008/11 1 1 \n", + "2008/12 0 1 \n", + "2009/1 2 3 \n", + "2009/2 2 5 \n", + "2009/3 6 11 \n", + "2009/4 4 15 \n", + "2009/5 8 23 \n", + "2009/6 2 25 \n", + "2009/7 6 31 \n", + "2009/8 10 41 \n", + "2009/9 2 43 \n", + "2009/10 1 44 \n", + "2009/11 3 47 \n", + "2009/12 0 47 \n", + "2010/1 1 48 \n", + "2010/2 3 51 \n", + "2010/3 2 53 \n", + "2010/4 1 54 \n", + "2010/5 3 57 \n", + "2010/6 3 60 \n", + "2010/7 1 61 \n", + "2010/8 0 61 \n", + "2010/9 0 61 \n", + "2010/10 1 62 \n", + "2010/11 4 66 \n", + "2010/12 4 70 \n", + "2011/1 3 73 \n", + "2011/2 4 77 \n", + "2011/3 3 80 \n", + "2011/4 1 81 \n", + "... ... ... \n", + "2014/3 8 457 \n", + "2014/4 11 468 \n", + "2014/5 5 473 \n", + "2014/6 3 476 \n", + "2014/7 4 480 \n", + "2014/8 8 488 \n", + "2014/9 132 620 \n", + "2014/10 65 683 \n", + "2014/11 66 747 \n", + "2014/12 28 775 \n", + "2015/1 38 811 \n", + "2015/2 61 871 \n", + "2015/3 47 918 \n", + "2015/4 54 969 \n", + "2015/5 62 1029 \n", + "2015/6 47 1075 \n", + "2015/7 22 1095 \n", + "2015/8 114 1205 \n", + "2015/9 33 1238 \n", + "2015/10 62 1299 \n", + "2015/11 28 1327 \n", + "2015/12 15 1339 \n", + "2016/1 15 1353 \n", + "2016/2 22 1374 \n", + "2016/3 27 1398 \n", + "2016/4 16 1412 \n", + "2016/5 21 1433 \n", + "2016/6 28 1460 \n", + "2016/7 37 1497 \n", + "2016/8 2 1498 \n", + "\n", + " PortalModelo(Desativados) SAAP(Ativados) SAAP(Ativos) \\\n", + "2008/11 0 0 0 \n", + "2008/12 0 0 0 \n", + "2009/1 0 0 0 \n", + "2009/2 0 0 0 \n", + "2009/3 0 0 0 \n", + "2009/4 0 0 0 \n", + "2009/5 0 0 0 \n", + "2009/6 0 0 0 \n", + "2009/7 0 0 0 \n", + "2009/8 0 0 0 \n", + "2009/9 0 0 0 \n", + "2009/10 0 0 0 \n", + "2009/11 0 0 0 \n", + "2009/12 0 0 0 \n", + "2010/1 0 0 0 \n", + "2010/2 0 0 0 \n", + "2010/3 0 0 0 \n", + "2010/4 0 0 0 \n", + "2010/5 0 0 0 \n", + "2010/6 0 0 0 \n", + "2010/7 0 0 0 \n", + "2010/8 0 0 0 \n", + "2010/9 0 0 0 \n", + "2010/10 0 0 0 \n", + "2010/11 0 0 0 \n", + "2010/12 0 0 0 \n", + "2011/1 0 0 0 \n", + "2011/2 0 0 0 \n", + "2011/3 0 0 0 \n", + "2011/4 0 0 0 \n", + "... ... ... ... \n", + "2014/3 0 1 28 \n", + "2014/4 0 0 28 \n", + "2014/5 0 0 28 \n", + "2014/6 0 0 28 \n", + "2014/7 0 1 29 \n", + "2014/8 0 0 29 \n", + "2014/9 0 0 29 \n", + "2014/10 2 1 30 \n", + "2014/11 2 0 30 \n", + "2014/12 0 2 32 \n", + "2015/1 2 1 33 \n", + "2015/2 1 0 33 \n", + "2015/3 0 4 37 \n", + "2015/4 3 0 37 \n", + "2015/5 2 2 39 \n", + "2015/6 1 2 41 \n", + "2015/7 2 1 42 \n", + "2015/8 4 1 43 \n", + "2015/9 0 5 48 \n", + "2015/10 1 3 51 \n", + "2015/11 0 2 53 \n", + "2015/12 3 1 54 \n", + "2016/1 1 1 55 \n", + "2016/2 1 1 56 \n", + "2016/3 3 1 57 \n", + "2016/4 2 1 58 \n", + "2016/5 0 1 59 \n", + "2016/6 1 0 59 \n", + "2016/7 0 0 59 \n", + "2016/8 1 0 59 \n", + "\n", + " SAAP(Desativados) SAPL(Ativados) SAPL(Ativos) SAPL(Desativados) \\\n", + "2008/11 0 0 0 0 \n", + "2008/12 0 0 0 0 \n", + "2009/1 0 0 0 0 \n", + "2009/2 0 0 0 0 \n", + "2009/3 0 0 0 0 \n", + "2009/4 0 0 0 0 \n", + "2009/5 0 0 0 0 \n", + "2009/6 0 0 0 0 \n", + "2009/7 0 0 0 0 \n", + "2009/8 0 0 0 0 \n", + "2009/9 0 0 0 0 \n", + "2009/10 0 0 0 0 \n", + "2009/11 0 0 0 0 \n", + "2009/12 0 0 0 0 \n", + "2010/1 0 0 0 0 \n", + "2010/2 0 0 0 0 \n", + "2010/3 0 0 0 0 \n", + "2010/4 0 0 0 0 \n", + "2010/5 0 0 0 0 \n", + "2010/6 0 0 0 0 \n", + "2010/7 0 0 0 0 \n", + "2010/8 0 0 0 0 \n", + "2010/9 0 3 3 0 \n", + "2010/10 0 3 6 0 \n", + "2010/11 0 8 14 0 \n", + "2010/12 0 4 18 0 \n", + "2011/1 0 2 20 0 \n", + "2011/2 0 3 23 0 \n", + "2011/3 0 5 28 0 \n", + "2011/4 0 1 29 0 \n", + "... ... ... ... ... \n", + "2014/3 0 5 374 0 \n", + "2014/4 0 12 386 0 \n", + "2014/5 0 4 390 0 \n", + "2014/6 0 0 390 0 \n", + "2014/7 0 0 390 0 \n", + "2014/8 0 7 397 0 \n", + "2014/9 0 5 402 0 \n", + "2014/10 0 7 409 0 \n", + "2014/11 0 31 439 1 \n", + "2014/12 0 17 455 1 \n", + "2015/1 0 10 464 1 \n", + "2015/2 0 8 471 1 \n", + "2015/3 0 9 480 0 \n", + "2015/4 0 21 500 1 \n", + "2015/5 0 40 540 0 \n", + "2015/6 0 41 581 0 \n", + "2015/7 0 15 596 0 \n", + "2015/8 0 37 633 0 \n", + "2015/9 0 17 650 0 \n", + "2015/10 0 19 669 0 \n", + "2015/11 0 8 677 0 \n", + "2015/12 0 8 685 0 \n", + "2016/1 0 2 687 0 \n", + "2016/2 0 8 695 0 \n", + "2016/3 0 8 703 0 \n", + "2016/4 0 10 712 1 \n", + "2016/5 0 85 797 0 \n", + "2016/6 0 13 810 0 \n", + "2016/7 0 30 840 0 \n", + "2016/8 0 9 849 0 \n", + "\n", + " SPDO(Ativados) SPDO(Ativos) SPDO(Desativados) \n", + "2008/11 0 0 0 \n", + "2008/12 0 0 0 \n", + "2009/1 0 0 0 \n", + "2009/2 0 0 0 \n", + "2009/3 0 0 0 \n", + "2009/4 0 0 0 \n", + "2009/5 0 0 0 \n", + "2009/6 0 0 0 \n", + "2009/7 0 0 0 \n", + "2009/8 0 0 0 \n", + "2009/9 0 0 0 \n", + "2009/10 0 0 0 \n", + "2009/11 0 0 0 \n", + "2009/12 0 0 0 \n", + "2010/1 0 0 0 \n", + "2010/2 0 0 0 \n", + "2010/3 0 0 0 \n", + "2010/4 0 0 0 \n", + "2010/5 0 0 0 \n", + "2010/6 0 0 0 \n", + "2010/7 0 0 0 \n", + "2010/8 0 0 0 \n", + "2010/9 0 0 0 \n", + "2010/10 0 0 0 \n", + "2010/11 0 0 0 \n", + "2010/12 0 0 0 \n", + "2011/1 0 0 0 \n", + "2011/2 0 0 0 \n", + "2011/3 0 0 0 \n", + "2011/4 0 0 0 \n", + "... ... ... ... \n", + "2014/3 0 0 0 \n", + "2014/4 0 0 0 \n", + "2014/5 0 0 0 \n", + "2014/6 0 0 0 \n", + "2014/7 0 0 0 \n", + "2014/8 0 0 0 \n", + "2014/9 0 0 0 \n", + "2014/10 0 0 0 \n", + "2014/11 0 0 0 \n", + "2014/12 0 0 0 \n", + "2015/1 0 0 0 \n", + "2015/2 0 0 0 \n", + "2015/3 0 0 0 \n", + "2015/4 0 0 0 \n", + "2015/5 0 0 0 \n", + "2015/6 0 0 0 \n", + "2015/7 0 0 0 \n", + "2015/8 0 0 0 \n", + "2015/9 0 0 0 \n", + "2015/10 0 0 0 \n", + "2015/11 0 0 0 \n", + "2015/12 0 0 0 \n", + "2016/1 0 0 0 \n", + "2016/2 0 0 0 \n", + "2016/3 0 0 0 \n", + "2016/4 0 0 0 \n", + "2016/5 0 0 0 \n", + "2016/6 0 0 0 \n", + "2016/7 0 0 0 \n", + "2016/8 0 0 0 \n", + "\n", + "[94 rows x 18 columns]" + ] + }, + "execution_count": 369, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "# Build list of desired values into tabela_resumo_seit\n", + "ativados_temp = []\n", + "ativados = []\n", + "desativados_temp = []\n", + "desativados = []\n", + "ativos_temp = []\n", + "ativos = []\n", + "\n", + "for i in range(0, len(period['year'])):\n", + " for j in range (0,6):\n", + " ativados_temp.append(tabela_resumo_seit[i]['servicos'][j]['novos_mes_atual'])\n", + " desativados_temp.append(tabela_resumo_seit[i]['servicos'][j]['total_desativados'])\n", + " ativos_temp.append(tabela_resumo_seit[i]['servicos'][j]['total'])\n", + "\n", + "# Create an iterator\n", + "it = [iter(ativados_temp)] * 6 \n", + "# Unpack the copies of the iterator, and pass them as parameters to zip\n", + "ativados = zip(*it)\n", + "it2 = [iter(desativados_temp)] * 6 \n", + "# Unpack the copies of the iterator, and pass them as parameters to zip\n", + "desativados = zip(*it2)\n", + "it3 = [iter(ativos_temp)] * 6 \n", + "# Unpack the copies of the iterator, and pass them as parameters to zip\n", + "ativos = zip(*it3)\n", + " \n", + "# Creation of the data frame\n", + "df_final = pd.DataFrame(ativados, index=period_formated, columns=['PortalModelo(Ativados)', 'SAPL(Ativados)', 'SAAP(Ativados)', 'SPDO(Ativados)', 'Dominio.Leg.br(Ativados)', 'Dominio.GOV.br(Ativados)'])\n", + "df_desativados = pd.DataFrame(desativados, index=period_formated, columns=['PortalModelo(Desativados)', 'SAPL(Desativados)', 'SAAP(Desativados)', 'SPDO(Desativados)', 'Dominio.Leg.br(Desativados)', 'Dominio.GOV.br(Desativados)'])\n", + "df_ativos = pd.DataFrame(ativos, index=period_formated, columns=['PortalModelo(Ativos)', 'SAPL(Ativos)', 'SAAP(Ativos)', 'SPDO(Ativos)', 'Dominio.Leg.br(Ativos)', 'Dominio.GOV.br(Ativos)'])\n", + "\n", + "df_final['PortalModelo(Desativados)'] = df_desativados['PortalModelo(Desativados)']\n", + "df_final['SAPL(Desativados)'] = df_desativados['SAPL(Desativados)']\n", + "df_final['SAAP(Desativados)'] = df_desativados['SAAP(Desativados)']\n", + "df_final['SPDO(Desativados)'] = df_desativados['SPDO(Desativados)']\n", + "df_final['Dominio.Leg.br(Desativados)'] = df_desativados['Dominio.Leg.br(Desativados)']\n", + "df_final['Dominio.GOV.br(Desativados)'] = df_desativados['Dominio.GOV.br(Desativados)']\n", + "\n", + "df_final['PortalModelo(Ativos)'] = df_ativos['PortalModelo(Ativos)']\n", + "df_final['SAPL(Ativos)'] = df_ativos['SAPL(Ativos)']\n", + "df_final['SAAP(Ativos)'] = df_ativos['SAAP(Ativos)']\n", + "df_final['SPDO(Ativos)'] = df_ativos['SPDO(Ativos)']\n", + "df_final['Dominio.Leg.br(Ativos)'] = df_ativos['Dominio.Leg.br(Ativos)']\n", + "df_final['Dominio.GOV.br(Ativos)'] = df_ativos['Dominio.GOV.br(Ativos)']\n", + "\n", + "cols = df_final.columns.tolist()\n", + "\n", + "cols.sort()\n", + "\n", + "df_final = df_final[cols]\n", + "\n", + "df_final\n" + ] + }, + { + "cell_type": "code", + "execution_count": 379, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
Total
Dominio.GOV.br(Ativados)160
Dominio.GOV.br(Ativos)5957
Dominio.GOV.br(Desativados)20
Dominio.Leg.br(Ativados)1615
Dominio.Leg.br(Ativos)38918
Dominio.Leg.br(Desativados)5
PortalModelo(Ativados)1547
PortalModelo(Ativos)41070
PortalModelo(Desativados)49
SAAP(Ativados)59
SAAP(Ativos)1486
SAAP(Desativados)0
SAPL(Ativados)855
SAPL(Ativos)24105
SAPL(Desativados)6
SPDO(Ativados)0
SPDO(Ativos)0
SPDO(Desativados)0
\n", + "
" + ], + "text/plain": [ + " Total\n", + "Dominio.GOV.br(Ativados) 160\n", + "Dominio.GOV.br(Ativos) 5957\n", + "Dominio.GOV.br(Desativados) 20\n", + "Dominio.Leg.br(Ativados) 1615\n", + "Dominio.Leg.br(Ativos) 38918\n", + "Dominio.Leg.br(Desativados) 5\n", + "PortalModelo(Ativados) 1547\n", + "PortalModelo(Ativos) 41070\n", + "PortalModelo(Desativados) 49\n", + "SAAP(Ativados) 59\n", + "SAAP(Ativos) 1486\n", + "SAAP(Desativados) 0\n", + "SAPL(Ativados) 855\n", + "SAPL(Ativos) 24105\n", + "SAPL(Desativados) 6\n", + "SPDO(Ativados) 0\n", + "SPDO(Ativos) 0\n", + "SPDO(Desativados) 0" + ] + }, + "execution_count": 379, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "df_stats = pd.DataFrame(df_final.loc[:,:].sum(numeric_only=True), columns=['Total'])\n", + "\n", + "df_stats" + ] + }, + { + "cell_type": "code", + "execution_count": 380, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "data": { + "text/html": [ + "" + ], + "text/plain": [ + "" + ] + }, + "execution_count": 380, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "# Obs.: Layout dos plots sao normalmente configurados como\n", + "# dicionarios e encapsulados pela func. abaixo\n", + "layout = go.Layout(\n", + " title='Detalhamento do Programa Interlegis',\n", + " xaxis=dict(\n", + " title='Periodo',\n", + " titlefont=dict(\n", + " family='Courier New, monospace',\n", + " size=18,\n", + " color='#7f7f7f'\n", + " )\n", + " ),\n", + " yaxis=dict(\n", + " title='Quantidade',\n", + " titlefont=dict(\n", + " family='Courier New, monospace',\n", + " size=18,\n", + " color='#7f7f7f'\n", + " )\n", + " )\n", + ")\n", + "\n", + "py.iplot(dict(data = [{\n", + " 'x': df_final.index,\n", + " 'y': df_final[col],\n", + " 'name': col\n", + "} for col in df_final.columns[:]], layout = layout))" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "collapsed": true + }, + "outputs": [], + "source": [] + } + ], + "metadata": { + "kernelspec": { + "display_name": "Django Shell-Plus", + "language": "python", + "name": "django_extensions" + }, + "language_info": { + "codemirror_mode": { + "name": "ipython", + "version": 2 + }, + "file_extension": ".py", + "mimetype": "text/x-python", + "name": "python", + "nbconvert_exporter": "python", + "pygments_lexer": "ipython2", + "version": "2.7.10" + } + }, + "nbformat": 4, + "nbformat_minor": 1 +} diff --git a/.manage.py.swp b/.manage.py.swp new file mode 100644 index 0000000000000000000000000000000000000000..548a63b28ae5e9886411b8a0f6390359d09e7797 GIT binary patch literal 12288 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 R=3Z3je+QKH2pDgE{U6EEn4$mx literal 0 HcmV?d00001 diff --git a/sigi-notebook.ipynb b/sigi-notebook.ipynb new file mode 100644 index 0000000..ed745ff --- /dev/null +++ b/sigi-notebook.ipynb @@ -0,0 +1,2265 @@ +{ + "cells": [ + { + "cell_type": "code", + "execution_count": 1, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "data": { + "text/html": [ + "" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/html": [ + "" + ], + "text/plain": [ + "" + ] + }, + "execution_count": 1, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "# Plots'offline and notebook's style configs\n", + "from IPython.core.display import HTML\n", + "from sigi.apps.servicos.models import Servico\n", + "from django.db import connection\n", + "from django.core.urlresolvers import reverse\n", + "from django.db.models import Q, Count\n", + "from plotly.offline import download_plotlyjs, init_notebook_mode, plot, iplot\n", + "import plotly \n", + "import plotly.plotly as py\n", + "import plotly.graph_objs as go\n", + "import pandas as pd\n", + "import cufflinks as cf\n", + "import numpy as np\n", + "import datetime\n", + "import calendar\n", + "\n", + "init_notebook_mode(connected=True)\n", + "css = open('style-table.css').read() + open('style-notebook.css').read()\n", + "HTML(''.format(css))" + ] + }, + { + "cell_type": "code", + "execution_count": 2, + "metadata": { + "collapsed": false + }, + "outputs": [], + "source": [ + "''' Function defined on sigi/sigi/sigi/apps/home/views.py line 322 to line 364\n", + " All rights reserved.\n", + " Obs.: Added number of deactivated types of services per month/year.\n", + "'''\n", + "def busca_informacoes_seit(mes_atual=None):\n", + " if mes_atual is None:\n", + " mes_atual = datetime.date.today().replace(day=1)\n", + " mes_anterior = mes_atual - datetime.timedelta(days=1)\n", + " proximo_mes = mes_atual + datetime.timedelta(days=calendar.monthrange(mes_atual.year, mes_atual.month)[1])\n", + " \n", + " meses = []\n", + " mes = mes_atual\n", + " for i in range(1, 13):\n", + " meses.append(mes)\n", + " mes = (mes - datetime.timedelta(days=1)).replace(day=1)\n", + " \n", + " result = {\n", + " 'mes_atual': mes_atual,\n", + " 'mes_anterior': mes_anterior,\n", + " 'proximo_mes': proximo_mes,\n", + " 'servicos': [],\n", + " } \n", + "\n", + " for tipo_servico in TipoServico.objects.all():\n", + " result['servicos'].append(\n", + " {'nome': tipo_servico.nome,\n", + " 'total_desativados': tipo_servico.servico_set.filter(data_desativacao__year=mes_atual.year, data_desativacao__month=mes_atual.month).count(),\n", + " 'total': tipo_servico.servico_set.filter(Q(data_ativacao__lt=proximo_mes)&(Q(data_desativacao=None)|Q(data_desativacao__gt=proximo_mes))).count(),\n", + " 'novos_mes_anterior': tipo_servico.servico_set.filter(data_ativacao__year=mes_anterior.year, data_ativacao__month=mes_anterior.month).count(),\n", + " 'novos_mes_atual': tipo_servico.servico_set.filter(data_ativacao__year=mes_atual.year, data_ativacao__month=mes_atual.month).count(),\n", + " }\n", + " )\n", + "\n", + " return result" + ] + }, + { + "cell_type": "code", + "execution_count": 3, + "metadata": { + "collapsed": false + }, + "outputs": [], + "source": [ + "# Define periods for data frame's indexes and variables\n", + "di = pd.date_range('2008-11', periods=((datetime.date.today().year - datetime.date(2008,11, 30).year) * 12) - (12 - datetime.date.today().month - 2), freq='M')\n", + "period = {}\n", + "period_formated = []\n", + "tabela_resumo_seit = []\n", + "services_names = []\n", + "services_names = []\n", + "period['year'] = di.year\n", + "period['month'] = di.month\n", + "dataframe_data = []\n", + "# Build of the data frame's data as a dictionary\n", + "for i in range(0, len(period['year'])):\n", + " period_formated.append('{year}/{month}'.format(year = str(period['year'][i]), month = str(period['month'][i])))\n", + " try:\n", + " mes = datetime.date(year=period['year'][i], month=period['month'][i], day=1)\n", + " tabela_resumo_seit.append(busca_informacoes_seit(mes))\n", + " except:\n", + " tabela_resumo_seit.append(busca_informacoes_seit())" + ] + }, + { + "cell_type": "code", + "execution_count": 4, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
Dominio.GOV.br(Ativados)Dominio.GOV.br(Ativos)Dominio.GOV.br(Desativados)Dominio.Leg.br(Ativados)Dominio.Leg.br(Ativos)Dominio.Leg.br(Desativados)PortalModelo(Ativados)PortalModelo(Ativos)PortalModelo(Desativados)SAAP(Ativados)SAAP(Ativos)SAAP(Desativados)SAPL(Ativados)SAPL(Ativos)SAPL(Desativados)SPDO(Ativados)SPDO(Ativos)SPDO(Desativados)
2008/11000000110000000000
2008/12000000010000000000
2009/1000000230000000000
2009/2000000250000000000
2009/30000006110000000000
2009/40000004150000000000
2009/50000008230000000000
2009/60000002250000000000
2009/70000006310000000000
2009/800000010410000000000
2009/90000002430000000000
2009/100000001440000000000
2009/110000003470000000000
2009/120000000470000000000
2010/10000001480000000000
2010/20000003510000000000
2010/30000002530000000000
2010/40000001540000000000
2010/50000003570000000000
2010/60000003600000000000
2010/70000001610000000000
2010/80000000610000000000
2010/90000000610000330000
2010/100000001620000360000
2010/1100000046600008140000
2010/1200000047000004180000
2011/100000037300002200000
2011/200000047700003230000
2011/300000038000005280000
2011/400000018100001290000
.........................................................
2014/31140013551084570128053740000
2014/4014001156201146800280123860000
2014/5014004566054730028043900000
2014/6014001567034760028003900000
2014/7014005572044800129003900000
2014/80140010582084880029073970000
2014/901400158301326200029054020000
2014/1001400506330656832130074090000
2014/110140022085306674720300314391000
2014/12014002788002877502320174551000
2015/1014004192103881121330104641000
2015/201400539740618711033084711000
2015/3014003410080479180437094800000
2015/40140037104505496930370215001000
2015/501400531098062102922390405400000
2015/601400361134047107512410415810000
2015/701400171151022109521420155960000
2015/80140010512560114120541430376330000
2015/901400421297133123805480176500000
2015/1001400621358162129913510196690000
2015/110140041139902813270253086770000
2015/120140017141511513393154086850000
2016/10140015143001513531155026870000
2016/20140023145302213741156086950000
2016/30140028148102713983157087030000
2016/401400211501116141221580107121000
2016/501400321533021143301590857970000
2016/601400441576128146010590138100000
2016/701400311607037149700590308400000
2016/801400316100214981059098490000
\n", + "

94 rows × 18 columns

\n", + "
" + ], + "text/plain": [ + " Dominio.GOV.br(Ativados) Dominio.GOV.br(Ativos) \\\n", + "2008/11 0 0 \n", + "2008/12 0 0 \n", + "2009/1 0 0 \n", + "2009/2 0 0 \n", + "2009/3 0 0 \n", + "2009/4 0 0 \n", + "2009/5 0 0 \n", + "2009/6 0 0 \n", + "2009/7 0 0 \n", + "2009/8 0 0 \n", + "2009/9 0 0 \n", + "2009/10 0 0 \n", + "2009/11 0 0 \n", + "2009/12 0 0 \n", + "2010/1 0 0 \n", + "2010/2 0 0 \n", + "2010/3 0 0 \n", + "2010/4 0 0 \n", + "2010/5 0 0 \n", + "2010/6 0 0 \n", + "2010/7 0 0 \n", + "2010/8 0 0 \n", + "2010/9 0 0 \n", + "2010/10 0 0 \n", + "2010/11 0 0 \n", + "2010/12 0 0 \n", + "2011/1 0 0 \n", + "2011/2 0 0 \n", + "2011/3 0 0 \n", + "2011/4 0 0 \n", + "... ... ... \n", + "2014/3 1 140 \n", + "2014/4 0 140 \n", + "2014/5 0 140 \n", + "2014/6 0 140 \n", + "2014/7 0 140 \n", + "2014/8 0 140 \n", + "2014/9 0 140 \n", + "2014/10 0 140 \n", + "2014/11 0 140 \n", + "2014/12 0 140 \n", + "2015/1 0 140 \n", + "2015/2 0 140 \n", + "2015/3 0 140 \n", + "2015/4 0 140 \n", + "2015/5 0 140 \n", + "2015/6 0 140 \n", + "2015/7 0 140 \n", + "2015/8 0 140 \n", + "2015/9 0 140 \n", + "2015/10 0 140 \n", + "2015/11 0 140 \n", + "2015/12 0 140 \n", + "2016/1 0 140 \n", + "2016/2 0 140 \n", + "2016/3 0 140 \n", + "2016/4 0 140 \n", + "2016/5 0 140 \n", + "2016/6 0 140 \n", + "2016/7 0 140 \n", + "2016/8 0 140 \n", + "\n", + " Dominio.GOV.br(Desativados) Dominio.Leg.br(Ativados) \\\n", + "2008/11 0 0 \n", + "2008/12 0 0 \n", + "2009/1 0 0 \n", + "2009/2 0 0 \n", + "2009/3 0 0 \n", + "2009/4 0 0 \n", + "2009/5 0 0 \n", + "2009/6 0 0 \n", + "2009/7 0 0 \n", + "2009/8 0 0 \n", + "2009/9 0 0 \n", + "2009/10 0 0 \n", + "2009/11 0 0 \n", + "2009/12 0 0 \n", + "2010/1 0 0 \n", + "2010/2 0 0 \n", + "2010/3 0 0 \n", + "2010/4 0 0 \n", + "2010/5 0 0 \n", + "2010/6 0 0 \n", + "2010/7 0 0 \n", + "2010/8 0 0 \n", + "2010/9 0 0 \n", + "2010/10 0 0 \n", + "2010/11 0 0 \n", + "2010/12 0 0 \n", + "2011/1 0 0 \n", + "2011/2 0 0 \n", + "2011/3 0 0 \n", + "2011/4 0 0 \n", + "... ... ... \n", + "2014/3 0 13 \n", + "2014/4 0 11 \n", + "2014/5 0 4 \n", + "2014/6 0 1 \n", + "2014/7 0 5 \n", + "2014/8 0 10 \n", + "2014/9 0 1 \n", + "2014/10 0 50 \n", + "2014/11 0 220 \n", + "2014/12 0 27 \n", + "2015/1 0 41 \n", + "2015/2 0 53 \n", + "2015/3 0 34 \n", + "2015/4 0 37 \n", + "2015/5 0 53 \n", + "2015/6 0 36 \n", + "2015/7 0 17 \n", + "2015/8 0 105 \n", + "2015/9 0 42 \n", + "2015/10 0 62 \n", + "2015/11 0 41 \n", + "2015/12 0 17 \n", + "2016/1 0 15 \n", + "2016/2 0 23 \n", + "2016/3 0 28 \n", + "2016/4 0 21 \n", + "2016/5 0 32 \n", + "2016/6 0 44 \n", + "2016/7 0 31 \n", + "2016/8 0 3 \n", + "\n", + " Dominio.Leg.br(Ativos) Dominio.Leg.br(Desativados) \\\n", + "2008/11 0 0 \n", + "2008/12 0 0 \n", + "2009/1 0 0 \n", + "2009/2 0 0 \n", + "2009/3 0 0 \n", + "2009/4 0 0 \n", + "2009/5 0 0 \n", + "2009/6 0 0 \n", + "2009/7 0 0 \n", + "2009/8 0 0 \n", + "2009/9 0 0 \n", + "2009/10 0 0 \n", + "2009/11 0 0 \n", + "2009/12 0 0 \n", + "2010/1 0 0 \n", + "2010/2 0 0 \n", + "2010/3 0 0 \n", + "2010/4 0 0 \n", + "2010/5 0 0 \n", + "2010/6 0 0 \n", + "2010/7 0 0 \n", + "2010/8 0 0 \n", + "2010/9 0 0 \n", + "2010/10 0 0 \n", + "2010/11 0 0 \n", + "2010/12 0 0 \n", + "2011/1 0 0 \n", + "2011/2 0 0 \n", + "2011/3 0 0 \n", + "2011/4 0 0 \n", + "... ... ... \n", + "2014/3 551 0 \n", + "2014/4 562 0 \n", + "2014/5 566 0 \n", + "2014/6 567 0 \n", + "2014/7 572 0 \n", + "2014/8 582 0 \n", + "2014/9 583 0 \n", + "2014/10 633 0 \n", + "2014/11 853 0 \n", + "2014/12 880 0 \n", + "2015/1 921 0 \n", + "2015/2 974 0 \n", + "2015/3 1008 0 \n", + "2015/4 1045 0 \n", + "2015/5 1098 0 \n", + "2015/6 1134 0 \n", + "2015/7 1151 0 \n", + "2015/8 1256 0 \n", + "2015/9 1297 1 \n", + "2015/10 1358 1 \n", + "2015/11 1399 0 \n", + "2015/12 1415 1 \n", + "2016/1 1430 0 \n", + "2016/2 1453 0 \n", + "2016/3 1481 0 \n", + "2016/4 1501 1 \n", + "2016/5 1533 0 \n", + "2016/6 1576 1 \n", + "2016/7 1607 0 \n", + "2016/8 1610 0 \n", + "\n", + " PortalModelo(Ativados) PortalModelo(Ativos) \\\n", + "2008/11 1 1 \n", + "2008/12 0 1 \n", + "2009/1 2 3 \n", + "2009/2 2 5 \n", + "2009/3 6 11 \n", + "2009/4 4 15 \n", + "2009/5 8 23 \n", + "2009/6 2 25 \n", + "2009/7 6 31 \n", + "2009/8 10 41 \n", + "2009/9 2 43 \n", + "2009/10 1 44 \n", + "2009/11 3 47 \n", + "2009/12 0 47 \n", + "2010/1 1 48 \n", + "2010/2 3 51 \n", + "2010/3 2 53 \n", + "2010/4 1 54 \n", + "2010/5 3 57 \n", + "2010/6 3 60 \n", + "2010/7 1 61 \n", + "2010/8 0 61 \n", + "2010/9 0 61 \n", + "2010/10 1 62 \n", + "2010/11 4 66 \n", + "2010/12 4 70 \n", + "2011/1 3 73 \n", + "2011/2 4 77 \n", + "2011/3 3 80 \n", + "2011/4 1 81 \n", + "... ... ... \n", + "2014/3 8 457 \n", + "2014/4 11 468 \n", + "2014/5 5 473 \n", + "2014/6 3 476 \n", + "2014/7 4 480 \n", + "2014/8 8 488 \n", + "2014/9 132 620 \n", + "2014/10 65 683 \n", + "2014/11 66 747 \n", + "2014/12 28 775 \n", + "2015/1 38 811 \n", + "2015/2 61 871 \n", + "2015/3 47 918 \n", + "2015/4 54 969 \n", + "2015/5 62 1029 \n", + "2015/6 47 1075 \n", + "2015/7 22 1095 \n", + "2015/8 114 1205 \n", + "2015/9 33 1238 \n", + "2015/10 62 1299 \n", + "2015/11 28 1327 \n", + "2015/12 15 1339 \n", + "2016/1 15 1353 \n", + "2016/2 22 1374 \n", + "2016/3 27 1398 \n", + "2016/4 16 1412 \n", + "2016/5 21 1433 \n", + "2016/6 28 1460 \n", + "2016/7 37 1497 \n", + "2016/8 2 1498 \n", + "\n", + " PortalModelo(Desativados) SAAP(Ativados) SAAP(Ativos) \\\n", + "2008/11 0 0 0 \n", + "2008/12 0 0 0 \n", + "2009/1 0 0 0 \n", + "2009/2 0 0 0 \n", + "2009/3 0 0 0 \n", + "2009/4 0 0 0 \n", + "2009/5 0 0 0 \n", + "2009/6 0 0 0 \n", + "2009/7 0 0 0 \n", + "2009/8 0 0 0 \n", + "2009/9 0 0 0 \n", + "2009/10 0 0 0 \n", + "2009/11 0 0 0 \n", + "2009/12 0 0 0 \n", + "2010/1 0 0 0 \n", + "2010/2 0 0 0 \n", + "2010/3 0 0 0 \n", + "2010/4 0 0 0 \n", + "2010/5 0 0 0 \n", + "2010/6 0 0 0 \n", + "2010/7 0 0 0 \n", + "2010/8 0 0 0 \n", + "2010/9 0 0 0 \n", + "2010/10 0 0 0 \n", + "2010/11 0 0 0 \n", + "2010/12 0 0 0 \n", + "2011/1 0 0 0 \n", + "2011/2 0 0 0 \n", + "2011/3 0 0 0 \n", + "2011/4 0 0 0 \n", + "... ... ... ... \n", + "2014/3 0 1 28 \n", + "2014/4 0 0 28 \n", + "2014/5 0 0 28 \n", + "2014/6 0 0 28 \n", + "2014/7 0 1 29 \n", + "2014/8 0 0 29 \n", + "2014/9 0 0 29 \n", + "2014/10 2 1 30 \n", + "2014/11 2 0 30 \n", + "2014/12 0 2 32 \n", + "2015/1 2 1 33 \n", + "2015/2 1 0 33 \n", + "2015/3 0 4 37 \n", + "2015/4 3 0 37 \n", + "2015/5 2 2 39 \n", + "2015/6 1 2 41 \n", + "2015/7 2 1 42 \n", + "2015/8 4 1 43 \n", + "2015/9 0 5 48 \n", + "2015/10 1 3 51 \n", + "2015/11 0 2 53 \n", + "2015/12 3 1 54 \n", + "2016/1 1 1 55 \n", + "2016/2 1 1 56 \n", + "2016/3 3 1 57 \n", + "2016/4 2 1 58 \n", + "2016/5 0 1 59 \n", + "2016/6 1 0 59 \n", + "2016/7 0 0 59 \n", + "2016/8 1 0 59 \n", + "\n", + " SAAP(Desativados) SAPL(Ativados) SAPL(Ativos) SAPL(Desativados) \\\n", + "2008/11 0 0 0 0 \n", + "2008/12 0 0 0 0 \n", + "2009/1 0 0 0 0 \n", + "2009/2 0 0 0 0 \n", + "2009/3 0 0 0 0 \n", + "2009/4 0 0 0 0 \n", + "2009/5 0 0 0 0 \n", + "2009/6 0 0 0 0 \n", + "2009/7 0 0 0 0 \n", + "2009/8 0 0 0 0 \n", + "2009/9 0 0 0 0 \n", + "2009/10 0 0 0 0 \n", + "2009/11 0 0 0 0 \n", + "2009/12 0 0 0 0 \n", + "2010/1 0 0 0 0 \n", + "2010/2 0 0 0 0 \n", + "2010/3 0 0 0 0 \n", + "2010/4 0 0 0 0 \n", + "2010/5 0 0 0 0 \n", + "2010/6 0 0 0 0 \n", + "2010/7 0 0 0 0 \n", + "2010/8 0 0 0 0 \n", + "2010/9 0 3 3 0 \n", + "2010/10 0 3 6 0 \n", + "2010/11 0 8 14 0 \n", + "2010/12 0 4 18 0 \n", + "2011/1 0 2 20 0 \n", + "2011/2 0 3 23 0 \n", + "2011/3 0 5 28 0 \n", + "2011/4 0 1 29 0 \n", + "... ... ... ... ... \n", + "2014/3 0 5 374 0 \n", + "2014/4 0 12 386 0 \n", + "2014/5 0 4 390 0 \n", + "2014/6 0 0 390 0 \n", + "2014/7 0 0 390 0 \n", + "2014/8 0 7 397 0 \n", + "2014/9 0 5 402 0 \n", + "2014/10 0 7 409 0 \n", + "2014/11 0 31 439 1 \n", + "2014/12 0 17 455 1 \n", + "2015/1 0 10 464 1 \n", + "2015/2 0 8 471 1 \n", + "2015/3 0 9 480 0 \n", + "2015/4 0 21 500 1 \n", + "2015/5 0 40 540 0 \n", + "2015/6 0 41 581 0 \n", + "2015/7 0 15 596 0 \n", + "2015/8 0 37 633 0 \n", + "2015/9 0 17 650 0 \n", + "2015/10 0 19 669 0 \n", + "2015/11 0 8 677 0 \n", + "2015/12 0 8 685 0 \n", + "2016/1 0 2 687 0 \n", + "2016/2 0 8 695 0 \n", + "2016/3 0 8 703 0 \n", + "2016/4 0 10 712 1 \n", + "2016/5 0 85 797 0 \n", + "2016/6 0 13 810 0 \n", + "2016/7 0 30 840 0 \n", + "2016/8 0 9 849 0 \n", + "\n", + " SPDO(Ativados) SPDO(Ativos) SPDO(Desativados) \n", + "2008/11 0 0 0 \n", + "2008/12 0 0 0 \n", + "2009/1 0 0 0 \n", + "2009/2 0 0 0 \n", + "2009/3 0 0 0 \n", + "2009/4 0 0 0 \n", + "2009/5 0 0 0 \n", + "2009/6 0 0 0 \n", + "2009/7 0 0 0 \n", + "2009/8 0 0 0 \n", + "2009/9 0 0 0 \n", + "2009/10 0 0 0 \n", + "2009/11 0 0 0 \n", + "2009/12 0 0 0 \n", + "2010/1 0 0 0 \n", + "2010/2 0 0 0 \n", + "2010/3 0 0 0 \n", + "2010/4 0 0 0 \n", + "2010/5 0 0 0 \n", + "2010/6 0 0 0 \n", + "2010/7 0 0 0 \n", + "2010/8 0 0 0 \n", + "2010/9 0 0 0 \n", + "2010/10 0 0 0 \n", + "2010/11 0 0 0 \n", + "2010/12 0 0 0 \n", + "2011/1 0 0 0 \n", + "2011/2 0 0 0 \n", + "2011/3 0 0 0 \n", + "2011/4 0 0 0 \n", + "... ... ... ... \n", + "2014/3 0 0 0 \n", + "2014/4 0 0 0 \n", + "2014/5 0 0 0 \n", + "2014/6 0 0 0 \n", + "2014/7 0 0 0 \n", + "2014/8 0 0 0 \n", + "2014/9 0 0 0 \n", + "2014/10 0 0 0 \n", + "2014/11 0 0 0 \n", + "2014/12 0 0 0 \n", + "2015/1 0 0 0 \n", + "2015/2 0 0 0 \n", + "2015/3 0 0 0 \n", + "2015/4 0 0 0 \n", + "2015/5 0 0 0 \n", + "2015/6 0 0 0 \n", + "2015/7 0 0 0 \n", + "2015/8 0 0 0 \n", + "2015/9 0 0 0 \n", + "2015/10 0 0 0 \n", + "2015/11 0 0 0 \n", + "2015/12 0 0 0 \n", + "2016/1 0 0 0 \n", + "2016/2 0 0 0 \n", + "2016/3 0 0 0 \n", + "2016/4 0 0 0 \n", + "2016/5 0 0 0 \n", + "2016/6 0 0 0 \n", + "2016/7 0 0 0 \n", + "2016/8 0 0 0 \n", + "\n", + "[94 rows x 18 columns]" + ] + }, + "execution_count": 4, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "# Build list of desired values into tabela_resumo_seit\n", + "ativados_temp = []\n", + "ativados = []\n", + "desativados_temp = []\n", + "desativados = []\n", + "ativos_temp = []\n", + "ativos = []\n", + "\n", + "for i in range(0, len(period['year'])):\n", + " for j in range (0,6):\n", + " ativados_temp.append(tabela_resumo_seit[i]['servicos'][j]['novos_mes_atual'])\n", + " desativados_temp.append(tabela_resumo_seit[i]['servicos'][j]['total_desativados'])\n", + " ativos_temp.append(tabela_resumo_seit[i]['servicos'][j]['total'])\n", + "\n", + "# Create an iterator\n", + "it = [iter(ativados_temp)] * 6 \n", + "# Unpack the copies of the iterator, and pass them as parameters to zip\n", + "ativados = zip(*it)\n", + "# Create an iterator\n", + "it2 = [iter(desativados_temp)] * 6 \n", + "# Unpack the copies of the iterator, and pass them as parameters to zip\n", + "desativados = zip(*it2)\n", + "# Create an iterator\n", + "it3 = [iter(ativos_temp)] * 6 \n", + "# Unpack the copies of the iterator, and pass them as parameters to zip\n", + "ativos = zip(*it3)\n", + " \n", + "# Creation of the data frame\n", + "df_final = pd.DataFrame(ativados, index=period_formated, columns=['PortalModelo(Ativados)', 'SAPL(Ativados)', 'SAAP(Ativados)', 'SPDO(Ativados)', 'Dominio.Leg.br(Ativados)', 'Dominio.GOV.br(Ativados)'])\n", + "df_desativados = pd.DataFrame(desativados, index=period_formated, columns=['PortalModelo(Desativados)', 'SAPL(Desativados)', 'SAAP(Desativados)', 'SPDO(Desativados)', 'Dominio.Leg.br(Desativados)', 'Dominio.GOV.br(Desativados)'])\n", + "df_ativos = pd.DataFrame(ativos, index=period_formated, columns=['PortalModelo(Ativos)', 'SAPL(Ativos)', 'SAAP(Ativos)', 'SPDO(Ativos)', 'Dominio.Leg.br(Ativos)', 'Dominio.GOV.br(Ativos)'])\n", + "\n", + "df_final['PortalModelo(Desativados)'] = df_desativados['PortalModelo(Desativados)']\n", + "df_final['SAPL(Desativados)'] = df_desativados['SAPL(Desativados)']\n", + "df_final['SAAP(Desativados)'] = df_desativados['SAAP(Desativados)']\n", + "df_final['SPDO(Desativados)'] = df_desativados['SPDO(Desativados)']\n", + "df_final['Dominio.Leg.br(Desativados)'] = df_desativados['Dominio.Leg.br(Desativados)']\n", + "df_final['Dominio.GOV.br(Desativados)'] = df_desativados['Dominio.GOV.br(Desativados)']\n", + "\n", + "df_final['PortalModelo(Ativos)'] = df_ativos['PortalModelo(Ativos)']\n", + "df_final['SAPL(Ativos)'] = df_ativos['SAPL(Ativos)']\n", + "df_final['SAAP(Ativos)'] = df_ativos['SAAP(Ativos)']\n", + "df_final['SPDO(Ativos)'] = df_ativos['SPDO(Ativos)']\n", + "df_final['Dominio.Leg.br(Ativos)'] = df_ativos['Dominio.Leg.br(Ativos)']\n", + "df_final['Dominio.GOV.br(Ativos)'] = df_ativos['Dominio.GOV.br(Ativos)']\n", + "\n", + "cols = df_final.columns.tolist()\n", + "\n", + "cols.sort()\n", + "\n", + "df_final = df_final[cols]\n", + "\n", + "df_final\n" + ] + }, + { + "cell_type": "code", + "execution_count": 5, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
TotalTipoServico
Dominio.GOV.br(Ativados)160Dominio.GOV.br(Ativados)
Dominio.GOV.br(Ativos)5957Dominio.GOV.br(Ativos)
Dominio.GOV.br(Desativados)20Dominio.GOV.br(Desativados)
Dominio.Leg.br(Ativados)1615Dominio.Leg.br(Ativados)
Dominio.Leg.br(Ativos)38918Dominio.Leg.br(Ativos)
Dominio.Leg.br(Desativados)5Dominio.Leg.br(Desativados)
PortalModelo(Ativados)1547PortalModelo(Ativados)
PortalModelo(Ativos)41070PortalModelo(Ativos)
PortalModelo(Desativados)49PortalModelo(Desativados)
SAAP(Ativados)59SAAP(Ativados)
SAAP(Ativos)1486SAAP(Ativos)
SAAP(Desativados)0SAAP(Desativados)
SAPL(Ativados)855SAPL(Ativados)
SAPL(Ativos)24105SAPL(Ativos)
SAPL(Desativados)6SAPL(Desativados)
SPDO(Ativados)0SPDO(Ativados)
SPDO(Ativos)0SPDO(Ativos)
SPDO(Desativados)0SPDO(Desativados)
\n", + "
" + ], + "text/plain": [ + " Total TipoServico\n", + "Dominio.GOV.br(Ativados) 160 Dominio.GOV.br(Ativados)\n", + "Dominio.GOV.br(Ativos) 5957 Dominio.GOV.br(Ativos)\n", + "Dominio.GOV.br(Desativados) 20 Dominio.GOV.br(Desativados)\n", + "Dominio.Leg.br(Ativados) 1615 Dominio.Leg.br(Ativados)\n", + "Dominio.Leg.br(Ativos) 38918 Dominio.Leg.br(Ativos)\n", + "Dominio.Leg.br(Desativados) 5 Dominio.Leg.br(Desativados)\n", + "PortalModelo(Ativados) 1547 PortalModelo(Ativados)\n", + "PortalModelo(Ativos) 41070 PortalModelo(Ativos)\n", + "PortalModelo(Desativados) 49 PortalModelo(Desativados)\n", + "SAAP(Ativados) 59 SAAP(Ativados)\n", + "SAAP(Ativos) 1486 SAAP(Ativos)\n", + "SAAP(Desativados) 0 SAAP(Desativados)\n", + "SAPL(Ativados) 855 SAPL(Ativados)\n", + "SAPL(Ativos) 24105 SAPL(Ativos)\n", + "SAPL(Desativados) 6 SAPL(Desativados)\n", + "SPDO(Ativados) 0 SPDO(Ativados)\n", + "SPDO(Ativos) 0 SPDO(Ativos)\n", + "SPDO(Desativados) 0 SPDO(Desativados)" + ] + }, + "execution_count": 5, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "df_stats = pd.DataFrame(df_final.loc[:,:].sum(numeric_only=True), columns=['Total'])\n", + "df_stats['TipoServico'] = df_final.columns[:]\n", + "\n", + "df_stats" + ] + }, + { + "cell_type": "code", + "execution_count": 6, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "data": { + "text/html": [ + "" + ], + "text/plain": [ + "" + ] + }, + "execution_count": 6, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "# Obs.: Layout dos plots sao normalmente configurados como\n", + "# dicionarios e encapsulados pela func. abaixo\n", + "layout = go.Layout(\n", + " title='Detalhamento do Programa Interlegis',\n", + " xaxis=dict(\n", + " title='Periodo',\n", + " titlefont=dict(\n", + " family='Courier New, monospace',\n", + " size=18,\n", + " color='#7f7f7f'\n", + " )\n", + " ),\n", + " yaxis=dict(\n", + " title='Quantidade',\n", + " titlefont=dict(\n", + " family='Courier New, monospace',\n", + " size=18,\n", + " color='#7f7f7f'\n", + " )\n", + " )\n", + ")\n", + "\n", + "py.iplot(dict(data = [{\n", + " 'x': df_final.index,\n", + " 'y': df_final[col],\n", + " 'name': col\n", + "} for col in df_final.columns[:]], layout = layout), kind='scatter', asFigure=True)" + ] + }, + { + "cell_type": "code", + "execution_count": 7, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "data": { + "text/html": [ + "" + ], + "text/plain": [ + "" + ] + }, + "execution_count": 7, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "# Kind = tipo de plot; labels = nome dos valores; values = os valores a serem colocados no plot;\n", + "df_stats.iplot(kind='pie', labels='TipoServico', values='Total', pull=.1, hole=.1,\n", + " colorscale='blues', textposition='outside', textinfo='value+percent', title='Detalhamento do Programa Interlegis')" + ] + }, + { + "cell_type": "code", + "execution_count": 8, + "metadata": { + "collapsed": false + }, + "outputs": [], + "source": [ + "# Obs.: Usar sudo pip install XlsxWriter no seu Virtualenv\n", + "writer = pd.ExcelWriter('output.xlsx', engine='xlsxwriter')\n", + "df_final.loc[:,:].to_excel(writer,'Sheet1')\n", + "df_stats.to_excel(writer,'Sheet2')\n", + "writer.save()" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "collapsed": true + }, + "outputs": [], + "source": [] + } + ], + "metadata": { + "kernelspec": { + "display_name": "Django Shell-Plus", + "language": "python", + "name": "django_extensions" + }, + "language_info": { + "codemirror_mode": { + "name": "ipython", + "version": 2 + }, + "file_extension": ".py", + "mimetype": "text/x-python", + "name": "python", + "nbconvert_exporter": "python", + "pygments_lexer": "ipython2", + "version": "2.7.10" + } + }, + "nbformat": 4, + "nbformat_minor": 1 +} diff --git a/sigi/.DS_Store b/sigi/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..537cca3e6def2ea3a48f8766eec88d3c30b9066a GIT binary patch literal 8196 zcmeHM%Z}496uoW>O&>@Z@z6+YvIJ>_S{MY&QU)XzNEJmhLJX9ojiw$&N!6rNjjBpn z^98JV{|18Pd;skE0Cp_Py|$;MX*yzs7~xyl*Rjv>F9XlI2v6iJl=JfI|cw{9J><5?W_y1+)TM0j+>mKr8SsD1du5nXzKum!&$^3TOrX zO9kltU|}HNP(GGkygD!vM*#E%%oc`eIt~!WQof;lEIpQ>F-b))sZ1R)n51LArEm@9 zW9cOwm^yqg)iP5j6ee27`Yizm){tJuS^=%VvI4YRD&ow}!CyGPA3pGcuHyv`A_#RK z!zv z^y47#=4sp6=I*#-Ubq|hkFDHFOV<+OmCj zn}^)t9*+)&lpT)p|sdplrm(TO~OO`CXu??+#BZSsBaB0F zx09M1x#x&Y&W&@ccg+5W%oJ% zBUQuimQUn~b?_>&4vMJDa8)Znvp%E!`U4w}9Q5HjdUEAUqp F_yrbQB@zGt literal 0 HcmV?d00001 diff --git a/sigi/settings/.DS_Store b/sigi/settings/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..521452049eec5f170474a012da3285de77e64a22 GIT binary patch literal 6148 zcmeHKy-ve05WY()5)_7xj2;mK5^oSy1&I}Qe$sX*stAID#Fhu-0T_7%-XMHupQ^@5 z*9xJ#==?eMcXs^QiDM$-$=m##XiP*oTrfFAGGJ0K-m^qYq>_CbOIp(%t}}Y>v8~`Q zDj;)L_&HnB6K&7m$JMHyRjaxJLzc%S{G|1U9MREm6wRWz&nPaViXP~d7JijPz3_F! z&b#cmb^eO@2Q){^??Y`Tw-GnPDt)0E5wc#RCrQ4+K7|);i&S2L4m*C5^bwqGeKNcY z3ygC;)Oz|8v84wyQ@|831@@%?_H41d2xzG(U<#N58wKS1;NXI#ViVARI*|Ay0C0q2 zZ^+BfqQp4GQn3k$8W@LAU-L*aQsW#CrH(?V0t2!oGL3?>wEj3}~q- zU1VhrjwKq7~YaRR^E+)Jt;3fnazZHWk dTk$d68_JzzfTdy+5G64C5%4ltVhZe4fnR6xa&G_t literal 0 HcmV?d00001 diff --git a/style-notebook.css b/style-notebook.css new file mode 100644 index 0000000..c99706c --- /dev/null +++ b/style-notebook.css @@ -0,0 +1,5 @@ +h3 { + color: white; + background-color: black; + padding: 0.5em; +} diff --git a/style-table.css b/style-table.css new file mode 100644 index 0000000..575cd88 --- /dev/null +++ b/style-table.css @@ -0,0 +1,30 @@ +body { + margin: 0; + font-family: Helvetica; +} +table.dataframe { + border-collapse: collapse; + border: none; +} +table.dataframe tr { + border: none; +} +table.dataframe td, table.dataframe th { + margin: 0; + border: 1px solid white; + padding-left: 0.25em; + padding-right: 0.25em; +} +table.dataframe th:not(:empty) { + background-color: #fec; + text-align: left; + font-weight: normal; +} +table.dataframe tr:nth-child(2) th:empty { + border-left: none; + border-right: 1px dashed #888; +} +table.dataframe td { + border: 2px solid #ccf; + background-color: #f4f4ff; +}