├── .gitignore ├── .travis.yml ├── LICENSE ├── MANIFEST.in ├── Makefile ├── README.md ├── jsonmapping ├── __init__.py ├── elastic.py ├── mapper.py ├── network.py ├── schemas │ └── mapping.json ├── statements.py ├── transforms.py ├── util.py ├── value.py └── visitor.py ├── setup.py └── tests ├── __init__.py ├── fixtures ├── countries │ ├── countries.csv │ └── mapping.json ├── everypol │ ├── mapping.json │ └── term-26.csv ├── schemas │ ├── area.json │ ├── contact_detail.json │ ├── count.json │ ├── event.json │ ├── group_result.json │ ├── identifier.json │ ├── link.json │ ├── membership.json │ ├── motion.json │ ├── organization.json │ ├── other_name.json │ ├── person.json │ ├── post.json │ ├── speech.json │ ├── vote.json │ └── vote_event.json └── test.json ├── test_mapping.py ├── test_network.py ├── test_statements.py └── util.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pudo-attic/jsonmapping/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pudo-attic/jsonmapping/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pudo-attic/jsonmapping/HEAD/LICENSE -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pudo-attic/jsonmapping/HEAD/MANIFEST.in -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pudo-attic/jsonmapping/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pudo-attic/jsonmapping/HEAD/README.md -------------------------------------------------------------------------------- /jsonmapping/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pudo-attic/jsonmapping/HEAD/jsonmapping/__init__.py -------------------------------------------------------------------------------- /jsonmapping/elastic.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pudo-attic/jsonmapping/HEAD/jsonmapping/elastic.py -------------------------------------------------------------------------------- /jsonmapping/mapper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pudo-attic/jsonmapping/HEAD/jsonmapping/mapper.py -------------------------------------------------------------------------------- /jsonmapping/network.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pudo-attic/jsonmapping/HEAD/jsonmapping/network.py -------------------------------------------------------------------------------- /jsonmapping/schemas/mapping.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pudo-attic/jsonmapping/HEAD/jsonmapping/schemas/mapping.json -------------------------------------------------------------------------------- /jsonmapping/statements.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pudo-attic/jsonmapping/HEAD/jsonmapping/statements.py -------------------------------------------------------------------------------- /jsonmapping/transforms.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pudo-attic/jsonmapping/HEAD/jsonmapping/transforms.py -------------------------------------------------------------------------------- /jsonmapping/util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pudo-attic/jsonmapping/HEAD/jsonmapping/util.py -------------------------------------------------------------------------------- /jsonmapping/value.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pudo-attic/jsonmapping/HEAD/jsonmapping/value.py -------------------------------------------------------------------------------- /jsonmapping/visitor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pudo-attic/jsonmapping/HEAD/jsonmapping/visitor.py -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pudo-attic/jsonmapping/HEAD/setup.py -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/fixtures/countries/countries.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pudo-attic/jsonmapping/HEAD/tests/fixtures/countries/countries.csv -------------------------------------------------------------------------------- /tests/fixtures/countries/mapping.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pudo-attic/jsonmapping/HEAD/tests/fixtures/countries/mapping.json -------------------------------------------------------------------------------- /tests/fixtures/everypol/mapping.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pudo-attic/jsonmapping/HEAD/tests/fixtures/everypol/mapping.json -------------------------------------------------------------------------------- /tests/fixtures/everypol/term-26.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pudo-attic/jsonmapping/HEAD/tests/fixtures/everypol/term-26.csv -------------------------------------------------------------------------------- /tests/fixtures/schemas/area.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pudo-attic/jsonmapping/HEAD/tests/fixtures/schemas/area.json -------------------------------------------------------------------------------- /tests/fixtures/schemas/contact_detail.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pudo-attic/jsonmapping/HEAD/tests/fixtures/schemas/contact_detail.json -------------------------------------------------------------------------------- /tests/fixtures/schemas/count.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pudo-attic/jsonmapping/HEAD/tests/fixtures/schemas/count.json -------------------------------------------------------------------------------- /tests/fixtures/schemas/event.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pudo-attic/jsonmapping/HEAD/tests/fixtures/schemas/event.json -------------------------------------------------------------------------------- /tests/fixtures/schemas/group_result.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pudo-attic/jsonmapping/HEAD/tests/fixtures/schemas/group_result.json -------------------------------------------------------------------------------- /tests/fixtures/schemas/identifier.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pudo-attic/jsonmapping/HEAD/tests/fixtures/schemas/identifier.json -------------------------------------------------------------------------------- /tests/fixtures/schemas/link.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pudo-attic/jsonmapping/HEAD/tests/fixtures/schemas/link.json -------------------------------------------------------------------------------- /tests/fixtures/schemas/membership.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pudo-attic/jsonmapping/HEAD/tests/fixtures/schemas/membership.json -------------------------------------------------------------------------------- /tests/fixtures/schemas/motion.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pudo-attic/jsonmapping/HEAD/tests/fixtures/schemas/motion.json -------------------------------------------------------------------------------- /tests/fixtures/schemas/organization.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pudo-attic/jsonmapping/HEAD/tests/fixtures/schemas/organization.json -------------------------------------------------------------------------------- /tests/fixtures/schemas/other_name.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pudo-attic/jsonmapping/HEAD/tests/fixtures/schemas/other_name.json -------------------------------------------------------------------------------- /tests/fixtures/schemas/person.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pudo-attic/jsonmapping/HEAD/tests/fixtures/schemas/person.json -------------------------------------------------------------------------------- /tests/fixtures/schemas/post.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pudo-attic/jsonmapping/HEAD/tests/fixtures/schemas/post.json -------------------------------------------------------------------------------- /tests/fixtures/schemas/speech.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pudo-attic/jsonmapping/HEAD/tests/fixtures/schemas/speech.json -------------------------------------------------------------------------------- /tests/fixtures/schemas/vote.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pudo-attic/jsonmapping/HEAD/tests/fixtures/schemas/vote.json -------------------------------------------------------------------------------- /tests/fixtures/schemas/vote_event.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pudo-attic/jsonmapping/HEAD/tests/fixtures/schemas/vote_event.json -------------------------------------------------------------------------------- /tests/fixtures/test.json: -------------------------------------------------------------------------------- 1 | { 2 | "id": "test.json" 3 | } 4 | -------------------------------------------------------------------------------- /tests/test_mapping.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pudo-attic/jsonmapping/HEAD/tests/test_mapping.py -------------------------------------------------------------------------------- /tests/test_network.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pudo-attic/jsonmapping/HEAD/tests/test_network.py -------------------------------------------------------------------------------- /tests/test_statements.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pudo-attic/jsonmapping/HEAD/tests/test_statements.py -------------------------------------------------------------------------------- /tests/util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pudo-attic/jsonmapping/HEAD/tests/util.py --------------------------------------------------------------------------------