# 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
Metadata
Release files for iotrans 0.0.4
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 | Actions |
|---|---|---|---|---|
| iotrans-0.0.4.tar.gz | 3.7 kB | Without provenance | Details for iotrans-0.0.4.tar.gz |
Release files / iotrans-0.0.4.tar.gz
| Download URL | iotrans-0.0.4.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9db3e85b8f8e89068443bebb2f135393b96addf630545001d215c0492a98ec41
|
|
BLAKE2b-256 checksum How to use checksums |
4828c1785eac469101f8f25211db5b6a2f19a3136138fe099930c798e09599b8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for iotrans 0.0.4
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.