# iotrans
A package to easily convert structured data into various file formats
## Requirements * Python 3.6 * geopandas>=0.4.0 * xmltodict>=0.12.0
## Installation Using PIP via PyPI
pip install iotrans
Manually via GIT
git clone https://github.com/open-data-toronto/iotrans cd iotrans python setup.py install
## Usage
`python import geopandas as gpd import iotrans `
### Geospatial data to XML
`python df = gpd.read_file([data_path]) iotrans.to_file(df, './data.xml') ` ` './data.xml' `
### Output as a zip file
`python df = gpd.read_file([data_path]) iotrans.to_file(df, './data.shp') ` ` './data.zip' `
## Supported Formats ### Tabular Formats * CSV * JSON * XML
### Geospatial Formats * CSV * GeoJSON * GeoPackage * Shapefile
## Contribution All contributions, bug reports, bug fixes, documentation improvements, enhancements and ideas are welcome.
### Reporting issues Please report issues [here](https://github.com/open-data-toronto/iotrans/issues).
### Contributing Please develop in your own branch and create Pull Requests into the dev branch when ready for review and merge.
## License
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file iotrans-0.0.4.tar.gz.
File metadata
- Download URL: iotrans-0.0.4.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9db3e85b8f8e89068443bebb2f135393b96addf630545001d215c0492a98ec41
|
|
| MD5 |
7da843f345360ce92d72da2d63d741aa
|
|
| BLAKE2b-256 |
4828c1785eac469101f8f25211db5b6a2f19a3136138fe099930c798e09599b8
|