Building a dict by reference is faster than recursively building a dict (slowest) or list of tuples.
dict:
return {key: obj}
…
d = {}
{ | |
"tender": { | |
"title": "Adquisición de Útiles de Oficina", | |
"id": "355477-adquisicion-utiles-oficina", | |
"procuringEntity": { | |
"id": "50", | |
"name": "Dirección Nacional de Contrataciones Públicas (DNCP)" | |
}, | |
"procurementMethod": "open", | |
"procurementMethodDetails": "Licitación Pública Nacional", |
import gettext | |
import os | |
import re | |
import sys | |
from collections import OrderedDict | |
from docutils import frontend | |
from docutils import nodes | |
from docutils.parsers import rst | |
from docutils.utils import new_document |
/[¡¢£¤¥¦§¨©ª¬®¯°±²³´µ¶·¸¹º¼½¾¿ÂÃÅËŒœŠšŸŽžƒˆ˜‘‚„†‡•…‰‹›€™]/ |
These files list government GitHub repositories, and the number of bytes of code written in each language.
Produced by running the languages:github
Rake task from open_source_canada against the list of 'U.S. City' and 'U.S. Federal' GitHub organizations. Data for Canadian GitHub organizations is elsewhere.
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<style> | |
.text | |
{ | |
width: 50%; | |
float: left; | |
font: 300 16px/23px Helvetica,Arial,sans-serif; | |
} | |
del, .del |
{ | |
"language": "en", | |
"title": "Paris Data", | |
"description": "City of Paris Open Data portal", | |
"homepage": "http://opendata.paris.fr/", | |
"modified": "2016-03-04T13:44:44+00:00", | |
"conformsTo": "https://example.com/v1.0/schema", | |
"number_of_datasets": 176, | |
"publisher":{ | |
"name": "City of Paris", |
license: cc-by-4.0 |
diff --git b/Gemfile a/Gemfile | |
index 257a263..4896a34 100644 | |
--- b/Gemfile | |
+++ a/Gemfile | |
@@ -43,4 +43,12 @@ group :development do | |
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring | |
gem 'spring' | |
+ | |
+ gem 'pry' |