Convert IATI XML to JSON
Install
pip install iati2json
Usage
Save to file (fastest option)
import iati2json
iati2json.convert("my_iati_file.xml", file="converted.json")
Convert to String
import iati2json
import json
iati_json_string = iati2json.convert("my_iati_file.xml")
iati_dict = json.loads(iati_json_string)
Pretty (indented output)
import iati2json
iati2json.convert("my_iati_file.xml", file="converted.json", pretty=True)
Custom Iati Schemas
By default will work with 2.03 version of standard. You can provide your own versions of schemas:
import iati2json
schemas = [
"https://raw.githubusercontent.com/IATI/IATI-Schemas/version-2.04-beta/iati-activities-schema.xsd",
"https://raw.githubusercontent.com/IATI/IATI-Schemas/version-2.04-beta/iati-organisations-schema.xsd",
]
iati2json.convert("my_iati_file.xml", schemas=schemas)
Metadata
Release files for iati2json 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| iati2json-0.1.3.tar.gz | 16.4 kB | Without provenance | Details |
Built distributions (wheels)
Total release size: 15.6 MB
Release files / iati2json-0.1.3.tar.gz
| Download URL | iati2json-0.1.3.tar.gz |
|---|---|
| Size | 16.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a85b9ae6caf00ce4b2700349d8fc75eaaa6fe8c16e0b6c157cacba90994c5ce8
|
|
BLAKE2b-256 checksum How to use checksums |
eac27332ac6647c0c089a857a82e5423afb0f70c4c426cc6bb8510b2198a013f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.15
|
Release files / iati2json-0.1.3-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | iati2json-0.1.3-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 709.6 kB |
| Tags | Linux glibc 2.17+ x86-64 PyPy 3.7 PyPy 3.7 7.3 |
|
SHA-256 checksum How to use checksums |
e0f1531cac5fd8c662625498e08c09093a562f521592b59dc8d211f3471813c6
|
|
BLAKE2b-256 checksum How to use checksums |
971d49457a5b66d654dd8f66d2ca40405c7d7e2cd3818760fa81ee94647d15a7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.15
|
Release files / iati2json-0.1.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | iati2json-0.1.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 707.7 kB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
5c4502a576ca072757badead7cc5d61b190488eacdd38c8512eb0a23ea6e0920
|
|
BLAKE2b-256 checksum How to use checksums |
680b6db1c0be549c28cfb868ea9f52c08a8907e6fa77f93de57d5e5334f0afbb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.15
|
Release files / iati2json-0.1.3-cp311-cp311-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
| Download URL | iati2json-0.1.3-cp311-cp311-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl |
|---|---|
| Size | 1.3 MB |
| Tags | CPython 3.11 macOS 10.9+ universal2 (ARM64, x86-64) macOS 10.9+ x86-64 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
22e4c9847a4ff697db23a611d05773e497533e17b041c54f0325d29e83c8598d
|
|
BLAKE2b-256 checksum How to use checksums |
2ed0eaaceff6354779c9c6656ca246382cac0668d45adde7a0f3afb053e21054
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.15
|
Release files / iati2json-0.1.3-cp311-cp311-macosx_10_7_x86_64.whl
| Download URL | iati2json-0.1.3-cp311-cp311-macosx_10_7_x86_64.whl |
|---|---|
| Size | 673.6 kB |
| Tags | CPython 3.11 macOS 10.7+ x86-64 |
|
SHA-256 checksum How to use checksums |
17f4ebf1dcd267ea2ae595f958799fa7895f982361ed5a3948ba75e30fe3651e
|
|
BLAKE2b-256 checksum How to use checksums |
ee0cb516a322adbbba26f02bf97b22be2323efa7b1a368e25e390faa41d195ce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.15
|
Release files / iati2json-0.1.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | iati2json-0.1.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 707.7 kB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
b855b3ac07ca5ed3279d782e7590872b9db9a1bf1a4063091ada27488b5516f9
|
|
BLAKE2b-256 checksum How to use checksums |
5483c53e2597cc5b177c9fcea1dc6ab785858aaea90712b3b007d6738f039d5c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.15
|
Release files / iati2json-0.1.3-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
| Download URL | iati2json-0.1.3-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl |
|---|---|
| Size | 1.3 MB |
| Tags | CPython 3.10 macOS 10.9+ universal2 (ARM64, x86-64) macOS 10.9+ x86-64 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
c37886b125a0be9c5f5d88628d2fda1e75ab21c4c776bae8da9bb156e4b03dce
|
|
BLAKE2b-256 checksum How to use checksums |
787c07611e8f9dd8e89c50185144a9f460bd6b714a4f46426ad4a845882141e8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.15
|
Release files / iati2json-0.1.3-cp310-cp310-macosx_10_7_x86_64.whl
| Download URL | iati2json-0.1.3-cp310-cp310-macosx_10_7_x86_64.whl |
|---|---|
| Size | 673.6 kB |
| Tags | CPython 3.10 macOS 10.7+ x86-64 |
|
SHA-256 checksum How to use checksums |
c3d47d57f8f3a1344a3ae74acb33e06733b9dfa07e55f4a60799bbae57ccdb24
|
|
BLAKE2b-256 checksum How to use checksums |
99d11e5726ba60881f027686465af81d4f10d785f770bd77a8682501a823430d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.15
|
Release files / iati2json-0.1.3-cp39-none-win_amd64.whl
| Download URL | iati2json-0.1.3-cp39-none-win_amd64.whl |
|---|---|
| Size | 628.0 kB |
| Tags | CPython 3.9 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
8e6fc58a48fc034ab75b4a350ce26c1b92c2464a6c6550d95983d8edf65eaefa
|
|
BLAKE2b-256 checksum How to use checksums |
88ced76c4e231c004ac95b2a81de10789fd2341a0f5b6b5e478ef469f24ce830
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.15
|
Release files / iati2json-0.1.3-cp39-none-win32.whl
| Download URL | iati2json-0.1.3-cp39-none-win32.whl |
|---|---|
| Size | 617.7 kB |
| Tags | CPython 3.9 Windows x86-32 |
|
SHA-256 checksum How to use checksums |
e9db21b9a85dbcaedd214f21c5d33c74b4b06fba76f8d96040a099657c0203a2
|
|
BLAKE2b-256 checksum How to use checksums |
39ba377f6930e58849a3ff7191074ccceb33be9aeb54fbef1b8cd72add17475d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.15
|
Release files / iati2json-0.1.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | iati2json-0.1.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 707.7 kB |
| Tags | CPython 3.9 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
782ed4e1e3d917d472b4a1bfd916dbc0809b3da5fbcc4c6fc00ad9891732e451
|
|
BLAKE2b-256 checksum How to use checksums |
9cffcedd075181656e9d0c378efa095e8d72739bb43d119cfe2710828a211b2a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.15
|
Release files / iati2json-0.1.3-cp39-cp39-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
| Download URL | iati2json-0.1.3-cp39-cp39-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl |
|---|---|
| Size | 1.3 MB |
| Tags | CPython 3.9 macOS 10.9+ universal2 (ARM64, x86-64) macOS 10.9+ x86-64 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
8b882517528eb6b1f6780d3a45572e651eb9c66d459d96f3058f2a6fb9ab03c4
|
|
BLAKE2b-256 checksum How to use checksums |
d96b76aaf2d7e00ea01edaa37b228744dd3701cd511f56945825cb606336d926
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.15
|
Release files / iati2json-0.1.3-cp39-cp39-macosx_10_7_x86_64.whl
| Download URL | iati2json-0.1.3-cp39-cp39-macosx_10_7_x86_64.whl |
|---|---|
| Size | 673.6 kB |
| Tags | CPython 3.9 macOS 10.7+ x86-64 |
|
SHA-256 checksum How to use checksums |
4e5cbdbf005482f53a73fbd8817c0b59449baaa6e2fc2abdc812712d58df841a
|
|
BLAKE2b-256 checksum How to use checksums |
68e2e08fded831ab0d787958222e268b4aa6a06621cc3f40fc9112dd523dffc6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.15
|
Release files / iati2json-0.1.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | iati2json-0.1.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 707.3 kB |
| Tags | CPython 3.8 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
9aee731a18816e7000c913725ab9c6ee4ebdf8810fa7feaa91e7c91278281b99
|
|
BLAKE2b-256 checksum How to use checksums |
a3b60f9ed7cab0d362d9e9193e62b999711e436101c0d927d65e6ee19879369e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.15
|
Release files / iati2json-0.1.3-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
| Download URL | iati2json-0.1.3-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl |
|---|---|
| Size | 1.3 MB |
| Tags | CPython 3.8 macOS 10.9+ universal2 (ARM64, x86-64) macOS 10.9+ x86-64 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
895d7f4628f283d4f795dda786ea0daec066fbf8b1ad3bf5e3777eae38f66cda
|
|
BLAKE2b-256 checksum How to use checksums |
19e45aee4de953d5e0aabfb589be48053b710d5b2d9be3258ab565b29a45675a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.15
|
Release files / iati2json-0.1.3-cp38-cp38-macosx_10_7_x86_64.whl
| Download URL | iati2json-0.1.3-cp38-cp38-macosx_10_7_x86_64.whl |
|---|---|
| Size | 673.3 kB |
| Tags | CPython 3.8 macOS 10.7+ x86-64 |
|
SHA-256 checksum How to use checksums |
1846e709eece28b5abc4ef25c1fd509398e5b300726af11197160117e14cd2f7
|
|
BLAKE2b-256 checksum How to use checksums |
98f7a6bb485c5e229a1b946375714cccaf2a75e054aa1bbc2ac3b3160fd7dc5c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.15
|
Release files / iati2json-0.1.3-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | iati2json-0.1.3-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 707.3 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
a2ff11e028d678464bdfc730d0810cf4f9daf6161af2650e5f6fe528c532d6c4
|
|
BLAKE2b-256 checksum How to use checksums |
c2efb91ecab8d214fef7ffa4973ddbd4ff6214cc53cae716833c474b4096158a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.15
|
Release files / iati2json-0.1.3-cp37-cp37m-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
| Download URL | iati2json-0.1.3-cp37-cp37m-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl |
|---|---|
| Size | 1.3 MB |
| Tags | CPython 3.7 CPython 3.7 pymalloc macOS 10.9+ universal2 (ARM64, x86-64) macOS 10.9+ x86-64 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
ac2c87f7814f645ed0bcadeaaf1e381c3ccbc0393701e05059959665eb64fbfc
|
|
BLAKE2b-256 checksum How to use checksums |
a48030368118d63f7ce261046803ab341de58049afc2c0b62c6b67c32e4d6807
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.15
|
Release files / iati2json-0.1.3-cp37-cp37m-macosx_10_7_x86_64.whl
| Download URL | iati2json-0.1.3-cp37-cp37m-macosx_10_7_x86_64.whl |
|---|---|
| Size | 673.3 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc macOS 10.7+ x86-64 |
|
SHA-256 checksum How to use checksums |
4b8f9fef89c83ab2a4a6ee9ae8f7f24c429b5577b58ff909f2cf117f3361f78c
|
|
BLAKE2b-256 checksum How to use checksums |
471b88564240e53c8c2b206c33791be8eedd920b68fd8beb1b756cedb3c9ceda
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.15
|
Security for iati2json 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.