Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stpettersens/csql2mongo
Utility to convert a SQL dump to a MongoDB JSON dump.
https://github.com/stpettersens/csql2mongo
Last synced: about 1 month ago
JSON representation
Utility to convert a SQL dump to a MongoDB JSON dump.
- Host: GitHub
- URL: https://github.com/stpettersens/csql2mongo
- Owner: stpettersens
- License: other
- Created: 2015-04-15T14:24:20.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-02-09T14:51:45.000Z (almost 9 years ago)
- Last Synced: 2023-03-11T09:27:32.011Z (almost 2 years ago)
- Language: Python
- Homepage:
- Size: 21.5 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.markdown
- License: LICENSE
Awesome Lists containing this project
README
# csql2mongo
[![Build Status](https://travis-ci.org/stpettersens/csql2mongo.svg?branch=master)](https://travis-ci.org/stpettersens/csql2mongo)
[![Build status](https://ci.appveyor.com/api/projects/status/github/stpettersens/csql2mongo?branch=master&svg=true)](https://ci.appveyor.com/project/stpettersens/csql2mongo)Utility to convert a SQL dump to a MongoDB JSON dump.
For migrating data from MySQL or similar RDBMS to MongoDB.Usage: `csql2mongo -f data.sql -o data.json`
Tested with:
* Python 2.7.9, PyPy 2.5.1 and IronPython 2.7.5 (works).
* Jython 2.5.3 (use Jython tweaked version):
* `jython csql2mongo.jy.py -f data.sql -o data.json`