GET /agents/corporate_entities
POST /agents/corporate_entities
POST /agents/corporate_entities/:id
GET /agents/corporate_entities/:id
DELETE /agents/corporate_entities/:id
POST /agents/families
GET /agents/families
GET /agents/families/:id
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
from lxml import etree | |
import csv | |
# saving the TEI namespace makes life easier | |
TEI = '{http://www.tei-c.org/ns/1.0}' | |
# parse XML file | |
tree = etree.parse('1905-07-13.xml') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
''' | |
# requests - http://docs.python-requests.org/en/master/ | |
# the simplest HTTP GET/POST utility I've found | |
''' | |
from lxml import etree | |
''' | |
# http://lxml.de | |
# an XML library written in C | |
''' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
foo = 'foo' | |
bar = 'bar' | |
foobar = '%s%s' % (foo, bar) # It is OK | |
foobar = '{0}{1}'.format(foo, bar) # It is better | |
foobar = '{foo}{bar}'.format(foo=foo, bar=bar) # It is best |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{http://purl.org/dc/elements/1.1/}contributor: |============= | 352/650 | 54% | |
{http://purl.org/dc/elements/1.1/}coverage: |====== | 179/650 | 27% | |
{http://purl.org/dc/elements/1.1/}creator: |======== | 227/650 | 34% | |
{http://purl.org/dc/elements/1.1/}date: |=============== | 394/650 | 60% | |
{http://purl.org/dc/elements/1.1/}description: |=========================| 650/650 | 100% | |
{http://purl.org/dc/elements/1.1/}format: |======== | 233/650 | 35% | |
{http://purl.org/dc/elements/1.1/}identifier: |=========================| 650/650 | 100% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{http://purl.org/dc/elements/1.1/}coverage: |=========================| 932/932 | 100% | |
{http://purl.org/dc/elements/1.1/}creator: |=========================| 932/932 | 100% | |
{http://purl.org/dc/elements/1.1/}format: |=========================| 932/932 | 100% | |
{http://purl.org/dc/elements/1.1/}identifier: |=========================| 932/932 | 100% | |
{http://purl.org/dc/elements/1.1/}language: |=========================| 932/932 | 100% | |
{http://purl.org/dc/elements/1.1/}source: |=========================| 932/932 | 100% | |
{http://purl.org/dc/elements/1.1/}subject: |=========================| 932/932 | 100% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{http://purl.org/dc/elements/1.1/}creator: |= | 11189/197668 | 5% | |
{http://purl.org/dc/elements/1.1/}date: |======================== | 197652/197668 | 99% | |
{http://purl.org/dc/elements/1.1/}identifier: |=========================| 197668/197668 | 100% | |
{http://purl.org/dc/elements/1.1/}source: | | 6759/197668 | 3% | |
{http://purl.org/dc/elements/1.1/}subject: |======================== | 193711/197668 | 97% | |
{http://purl.org/dc/elements/1.1/}title: |======================== | 197651/197668 | 99% | |
{http://purl.org/dc/elements/1.1/}type: |=========================| 197668/197668 | 100% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{http://purl.org/dc/elements/1.1/}coverage: |=========================| 42412/42412 | 100% | |
{http://purl.org/dc/elements/1.1/}creator: |=========================| 42412/42412 | 100% | |
{http://purl.org/dc/elements/1.1/}format: |=========================| 42412/42412 | 100% | |
{http://purl.org/dc/elements/1.1/}identifier: |=========================| 42412/42412 | 100% | |
{http://purl.org/dc/elements/1.1/}source: |=========================| 42412/42412 | 100% | |
{http://purl.org/dc/elements/1.1/}subject: |=========================| 42412/42412 | 100% | |
{http://purl.org/dc/elements/1.1/}title: |=========================| 42412/42412 | 100% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{http://purl.org/dc/elements/1.1/}coverage: |=========================| 12864/12864 | 100% | |
{http://purl.org/dc/elements/1.1/}creator: |=========================| 12864/12864 | 100% | |
{http://purl.org/dc/elements/1.1/}date: |===================== | 10853/12864 | 84% | |
{http://purl.org/dc/elements/1.1/}format: |=========================| 12864/12864 | 100% | |
{http://purl.org/dc/elements/1.1/}identifier: |=========================| 12864/12864 | 100% | |
{http://purl.org/dc/elements/1.1/}language: |=========================| 12864/12864 | 100% | |
{http://purl.org/dc/elements/1.1/}source: |=========================| 12864/12864 | 100% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{http://purl.org/dc/elements/1.1/}contributor: |=========================| 6/6 | 100% | |
{http://purl.org/dc/elements/1.1/}coverage: |=========================| 6/6 | 100% | |
{http://purl.org/dc/elements/1.1/}creator: |=========================| 6/6 | 100% | |
{http://purl.org/dc/elements/1.1/}date: |=========================| 6/6 | 100% | |
{http://purl.org/dc/elements/1.1/}description: |=========================| 6/6 | 100% | |
{http://purl.org/dc/elements/1.1/}format: |=========================| 6/6 | 100% | |
{http://purl.org/dc/elements/1.1/}identifier: |=========================| 6/6 | 100% |
OlderNewer