<Additional information about your API call. Try to use verbs that match both request type (fetching vs modifying) and plurality (one vs multiple).>
-
URL
<The URL Structure (path only, no root url)>
-
Method:
| #!/usr/bin/env python | |
| import re | |
| from subprocess import call | |
| def load_csv_psql(db, infile, table, tmpdir='/tmp'): | |
| tmpfile = '%s/%s' % (tmpdir, infile) | |
| call(['cp', infile, tmpfile]) | |
| columns = map(variablize, file(infile).readline().split(',')) |
| #!/usr/bin/env python3 | |
| # ircecho.py | |
| # Copyright (C) 2011 : Robert L Szkutak II - http://robertszkutak.com | |
| # | |
| # This program is free software; you can redistribute it and/or modify | |
| # it under the terms of the GNU General Public License as published by | |
| # the Free Software Foundation; either version 3 of the License, or | |
| # (at your option) any later version. | |
| # |
| { | |
| "intrinsic_fields" : { | |
| "idno" : "TEST-123", | |
| "type_id" : 43 | |
| }, | |
| "preferred_labels" : [ | |
| { | |
| "locale" : "en_US", | |
| "forename" : "Walter", | |
| "middlename" : "H.", |
| #!/bin/bash | |
| # Created by Håvard Fossli <[email protected]> in 2013 | |
| # This is free and unencumbered software released into the public domain. | |
| # For more information, please refer to <http://unlicense.org/> | |
| # | |
| # Description | |
| # A bash script for reversing videos using ffmpeg and sox. | |
| # | |
| # Keywords |
| #!/Library/Frameworks/Python.framework/Versions/2.7/bin/python | |
| import csv | |
| class CSV_IO(object): | |
| """class for reading/writing CSV objects | |
| can work standalone or as the backbone for CSVMatch""" | |
| def __init__(self, filepath): |
| { | |
| "@context": { | |
| "skos": "http://www.w3.org/2004/02/skos/core#" | |
| }, | |
| "@type": "skos:ConceptScheme", | |
| "skos:hasTopConcept": { | |
| "@type": "skos:Concept" | |
| } | |
| } |
| """ | |
| topo2geojson.py | |
| Convert topojson to geojson | |
| Example Usage: | |
| python topo2geojson.py data.topojson data.geojson | |
| The topojson tested here was created using the mbostock topojson CLI | |
| created with --spherical coords and --properties turned on |